enum AdRulePriorityError.Reason (v202411)
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 2024-11-19 UTC.
[null,null,["Last updated 2024-11-19 UTC."],[[["AdRulePriorityError outlines reasons for errors related to ad rule priorities within Google Ad Manager."],["This error arises from issues like duplicate priorities assigned to ad rules, missing sequential priorities, or other unknown reasons."],["The error utilizes specific reason codes, such as `DUPLICATE_PRIORITY` and `PRIORITIES_NOT_SEQUENTIAL`, to indicate the nature of the priority error."],["Developers can consult the AdRulePriorityError documentation to understand and handle these errors programmatically within their Ad Manager integrations."]]],["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"]]