type AdSpotPage (v202408)
Stay organized with collections
Save and categorize content based on your preferences.
Captures a page of AdSpot objects.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202408
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
|
AdSpot[]
The collection of ad spot 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\u003eAdRuleService's getAdSpotsByStatement() method is used to retrieve AdSpotPage objects.\u003c/p\u003e\n"],["\u003cp\u003eAdSpotPage objects contain a page of AdSpot objects, along with information like total result size and starting index.\u003c/p\u003e\n"],["\u003cp\u003eThe namespace for this service is \u003ccode\u003ehttps://www.google.com/apis/ads/publisher/v202408\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eKey fields in an AdSpotPage include \u003ccode\u003etotalResultSetSize\u003c/code\u003e, \u003ccode\u003estartIndex\u003c/code\u003e, and \u003ccode\u003eresults\u003c/code\u003e which contains the AdSpot objects.\u003c/p\u003e\n"]]],["The `AdRuleService` utilizes the `getAdSpotsByStatement()` method to retrieve a collection of `AdSpot` objects. This data is structured within an `AdSpotPage`, which represents a subset of a larger result set. Key information in the `AdSpotPage` includes `totalResultSetSize`, indicating the total number of available `AdSpot` entries, `startIndex`, denoting the starting point within the larger set, and `results`, an array containing the actual `AdSpot` objects in the current page.\n"],null,["# type AdSpotPage (v202408)\n\n**Service** \n**AdRuleService** **Dependencies** \n[getAdSpotsByStatement()](/ad-manager/api/reference/v202408/AdRuleService#getAdSpotsByStatement) \n▼\n**AdSpotPage**\n\nCaptures a page of [AdSpot](/ad-manager/api/reference/v202408/AdRuleService.AdSpot) objects.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202408`\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` | ` `[AdSpot](/ad-manager/api/reference/v202408/AdRuleService.AdSpot)`[]` The collection of ad spot contained within this page. |"]]