Only the top level ad units. Metrics include events for their
descendants that are not filtered out.
FLAT
All the ad units. Metrics do not include events for the descendants.
HIERARCHICAL
Use the ad unit hierarchy. There will be as many ad unit columns as
levels of ad units in the generated report:
The column Dimension.AD_UNIT_NAME is replaced with columns "Ad unit 1", "Ad
unit 2", ... "Ad unit n". If level is not applicable to a row,
"N/A" is returned as the value.
The column Dimension.AD_UNIT_ID is replaced with columns "Ad unit ID 1",
"Ad unit ID 2", ... "Ad unit ID n". If level is not applicable to a
row, "N/A" is returned as the value.
Metrics do not include events for the descendants.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-06 UTC."],[[["\u003cp\u003eReportQuery.AdUnitView is used to generate reports specifically for ad units within Google Ad Manager.\u003c/p\u003e\n"],["\u003cp\u003eThis view offers three distinct levels of reporting: \u003ccode\u003eTOP_LEVEL\u003c/code\u003e, \u003ccode\u003eFLAT\u003c/code\u003e, and \u003ccode\u003eHIERARCHICAL\u003c/code\u003e, each providing a different perspective on ad unit performance.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTOP_LEVEL\u003c/code\u003e focuses on top-level ad units, including metrics from their descendants; \u003ccode\u003eFLAT\u003c/code\u003e reports on all ad units without descendant metrics; and \u003ccode\u003eHIERARCHICAL\u003c/code\u003e utilizes the ad unit hierarchy, replacing standard ad unit columns with level-specific ones.\u003c/p\u003e\n"],["\u003cp\u003eThe namespace for this feature is \u003ccode\u003ehttps://www.google.com/apis/ads/publisher/v202411\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# enum ReportQuery.AdUnitView (v202411)\n\n**Service** \n**ReportService** **Dependencies** \n[ReportQuery](/ad-manager/api/reference/v202411/ReportService.ReportQuery) \n▼\n**ReportQuery.AdUnitView**\n\nA view for an ad unit report.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202411`\n\n| Enumeration | Description |\n|----------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `TOP_LEVEL` | Only the top level ad units. Metrics include events for their descendants that are not filtered out. |\n| `FLAT` | All the ad units. Metrics do not include events for the descendants. |\n| `HIERARCHICAL` | Use the ad unit hierarchy. There will be as many ad unit columns as levels of ad units in the generated report: - The column [Dimension.AD_UNIT_NAME](/ad-manager/api/reference/v202411/ReportService.Dimension#AD_UNIT_NAME) is replaced with columns \"Ad unit 1\", \"Ad unit 2\", ... \"Ad unit n\". If level is not applicable to a row, \"N/A\" is returned as the value. - The column [Dimension.AD_UNIT_ID](/ad-manager/api/reference/v202411/ReportService.Dimension#AD_UNIT_ID) is replaced with columns \"Ad unit ID 1\", \"Ad unit ID 2\", ... \"Ad unit ID n\". If level is not applicable to a row, \"N/A\" is returned as the value. Metrics do not include events for the descendants. |"]]