type SuggestedAdUnitPage (v202411)
Stay organized with collections
Save and categorize content based on your preferences.
Service
SuggestedAdUnitService
Contains a page of SuggestedAdUnit 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
|
SuggestedAdUnit[]
The collection of suggested 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\u003eThe \u003ccode\u003eSuggestedAdUnitService\u003c/code\u003e allows retrieval of suggested ad units, and the results are organized within the \u003ccode\u003eSuggestedAdUnitPage\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSuggestedAdUnitPage\u003c/code\u003e includes details like the total result size, starting index, and a collection of \u003ccode\u003eSuggestedAdUnit\u003c/code\u003e objects.\u003c/p\u003e\n"],["\u003cp\u003eAccessing suggested ad units involves utilizing the \u003ccode\u003egetSuggestedAdUnitsByStatement\u003c/code\u003e method provided by the service.\u003c/p\u003e\n"]]],["The `SuggestedAdUnitService` uses `getSuggestedAdUnitsByStatement` to retrieve `SuggestedAdUnitPage` objects. This page contains `SuggestedAdUnit` objects and metadata. Key fields within `SuggestedAdUnitPage` include `totalResultSetSize`, indicating the total number of results, `startIndex`, denoting the page's starting position in the results, and `results`, the array holding the suggested ad units themselves. The service operates within the `https://www.google.com/apis/ads/publisher/v202411` namespace.\n"],null,["# type SuggestedAdUnitPage (v202411)\n\n**Service** \n**SuggestedAdUnitService** **Dependencies** \n[getSuggestedAdUnitsByStatem...](/ad-manager/api/reference/v202411/SuggestedAdUnitService#getSuggestedAdUnitsByStatement \"getSuggestedAdUnitsByStatement()\") \n▼\n**SuggestedAdUnitPage**\n\nContains a page of [SuggestedAdUnit](/ad-manager/api/reference/v202411/SuggestedAdUnitService.SuggestedAdUnit) 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` | ` `[SuggestedAdUnit](/ad-manager/api/reference/v202411/SuggestedAdUnitService.SuggestedAdUnit)`[]` The collection of suggested ad units contained within this page. |"]]