type AdUnitPage (v202411)
Stay organized with collections
Save and categorize content based on your preferences.
Captures a page of AdUnit objects.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
Field
|
totalResultSetSize
|
xsd:int
The size of the total result set to which this page belongs.
|
startIndex
|
xsd:int
The absolute index in the total result set on which this page begins.
|
results
|
AdUnit[]
The collection of ad units contained within this page.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-06 UTC.
[null,null,["Last updated 2025-08-06 UTC."],[[["\u003cp\u003eInventoryService.AdUnitPage objects represent a page of AdUnit objects, providing access to a subset of ad units within a larger result set.\u003c/p\u003e\n"],["\u003cp\u003eThe page includes information about the total result set size, the starting position of the page within the result set, and the AdUnit objects on this specific page.\u003c/p\u003e\n"],["\u003cp\u003eThis structure allows for navigating and retrieving ad units in manageable chunks when dealing with a potentially large number of items.\u003c/p\u003e\n"]]],["The `InventoryService` uses `getAdUnitsByStatement()` to retrieve `AdUnitPage` objects. `AdUnitPage` contains a set of `AdUnit` objects. Key information includes `totalResultSetSize`, representing the total number of results; `startIndex`, indicating the starting index of the current page; and `results`, the actual collection of `AdUnit` objects within the page. These are all located under the namespace `https://www.google.com/apis/ads/publisher/v202411`.\n"],null,["# type AdUnitPage (v202411)\n\n**Service** \n**InventoryService** **Dependencies** \n[getAdUnitsByStatement()](/ad-manager/api/reference/v202411/InventoryService#getAdUnitsByStatement) \n▼\n**AdUnitPage**\n\nCaptures a page of [AdUnit](/ad-manager/api/reference/v202411/InventoryService.AdUnit) objects.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202411`\n\n| Field ----- ||\n|--------------------------|-----------------------------------------------------------------------------------------------------------------------------------|\n| ### `totalResultSetSize` | ` `xsd:`int` The size of the total result set to which this page belongs. |\n| ### `startIndex` | ` `xsd:`int` The absolute index in the total result set on which this page begins. |\n| ### `results` | ` `[AdUnit](/ad-manager/api/reference/v202411/InventoryService.AdUnit)`[]` The collection of ad units contained within this page. |"]]