enum AdRulePriorityError.Reason (v202411)
Stay organized with collections
Save and categorize content based on your preferences.
Reasons for an AdRulePriorityError
.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
Enumeration |
Description |
DUPLICATE_PRIORITY
|
Ad rules must have unique priorities.
|
PRIORITIES_NOT_SEQUENTIAL
|
One or more priorities are missing.
|
UNKNOWN
|
The value returned if the actual value is not exposed by the requested API version.
|
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\u003eAdRulePriorityError outlines reasons for errors related to ad rule priorities within Google Ad Manager.\u003c/p\u003e\n"],["\u003cp\u003eThis error arises from issues like duplicate priorities assigned to ad rules, missing sequential priorities, or other unknown reasons.\u003c/p\u003e\n"],["\u003cp\u003eThe error utilizes specific reason codes, such as \u003ccode\u003eDUPLICATE_PRIORITY\u003c/code\u003e and \u003ccode\u003ePRIORITIES_NOT_SEQUENTIAL\u003c/code\u003e, to indicate the nature of the priority error.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can consult the AdRulePriorityError documentation to understand and handle these errors programmatically within their Ad Manager integrations.\u003c/p\u003e\n"]]],["The content defines the `AdRulePriorityError` within the `AdRuleService`, specifically outlining reasons for this error. It details three possible reasons: `DUPLICATE_PRIORITY`, indicating that ad rules must have distinct priorities; `PRIORITIES_NOT_SEQUENTIAL`, meaning some priorities are missing; and `UNKNOWN`, which signifies an unexposed value in the API version. It is found within the namespace `https://www.google.com/apis/ads/publisher/v202411`.\n"],null,["# enum AdRulePriorityError.Reason (v202411)\n\n**Service** \n**AdRuleService** **Dependencies** \n[AdRulePriorityError](/ad-manager/api/reference/v202411/AdRuleService.AdRulePriorityError) \n▼\n**AdRulePriorityError.Reason**\n\nReasons for an `AdRulePriorityError`.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202411`\n\n| Enumeration | Description |\n|-----------------------------|-------------------------------------------------------------------------------------|\n| `DUPLICATE_PRIORITY` | Ad rules must have unique priorities. |\n| `PRIORITIES_NOT_SEQUENTIAL` | One or more priorities are missing. |\n| `UNKNOWN` | The value returned if the actual value is not exposed by the requested API version. |"]]