type AdRulePage (v202408)
Stay organized with collections
Save and categorize content based on your preferences.
Captures a page of AdRule 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
|
AdRule[]
The collection of ad rules 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\u003eAdRulePage objects represent a page within a larger set of AdRule objects, providing access to a subset of rules.\u003c/p\u003e\n"],["\u003cp\u003eThe AdRulePage structure includes the total number of AdRules, the starting position of the current page, and the AdRule objects themselves.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can utilize the \u003ccode\u003etotalResultSetSize\u003c/code\u003e, \u003ccode\u003estartIndex\u003c/code\u003e, and \u003ccode\u003eresults\u003c/code\u003e fields to navigate and access the AdRules within the page.\u003c/p\u003e\n"]]],["The `AdRuleService` uses `getAdRulesByStatement()` to retrieve `AdRule` objects. Results are returned in an `AdRulePage`, which includes `totalResultSetSize` indicating the total number of results. It includes `startIndex`, specifying the page's starting position within the complete set, and `results`, an array containing `AdRule` objects for the current page. The namespace is `https://www.google.com/apis/ads/publisher/v202408`.\n"],null,["# type AdRulePage (v202408)\n\n**Service** \n**AdRuleService** **Dependencies** \n[getAdRulesByStatement()](/ad-manager/api/reference/v202408/AdRuleService#getAdRulesByStatement) \n▼\n**AdRulePage**\n\nCaptures a page of [AdRule](/ad-manager/api/reference/v202408/AdRuleService.AdRule) 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` | ` `[AdRule](/ad-manager/api/reference/v202408/AdRuleService.AdRule)`[]` The collection of ad rules contained within this page. |"]]