AI-generated Key Takeaways
-
ReportQuery.AdUnitView is a view used for ad unit reports within the ReportService.
-
This enumeration defines different ways to view ad units in a report: TOP_LEVEL, FLAT, and HIERARCHICAL.
-
TOP_LEVEL view includes metrics for descendants not filtered out, while FLAT and HIERARCHICAL views do not include events for descendants.
-
The HIERARCHICAL view replaces the standard AD_UNIT_NAME and AD_UNIT_ID dimensions with leveled columns like "Ad unit 1", "Ad unit ID 1", etc., reflecting the ad unit hierarchy.
A view for an ad unit report.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
| Enumeration | Description |
|---|---|
TOP_LEVEL
|
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:
Metrics do not include events for the descendants. |