AI-generated Key Takeaways
-
AdRuleService is a service that inherits from ApiError.
-
AdRuleService includes several error types related to dates, frequency caps, priority, slots, and targeting.
-
AdRuleError provides reasons for errors, such as invalid characters in the name or an incorrect number of flexible ad spots in a break template.
Errors ad rule break template objects.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202508
Field
ApiError
(inherited) fieldPath
xsd:
string
The OGNL field path to identify cause of error.
fieldPathElements
A parsed copy of the field path. For example, the field path "operations[1].operand" corresponds to this list: {FieldPathElement(field = "operations", index = 1), FieldPathElement(field = "operand", index = null)}.
trigger
xsd:
string
The data that caused the error.
errorString
xsd:
string
A simple string representation of the error and reason.
AdRuleError
reason
Enumerations
-
NAME_CONTAINS_INVALID_CHARACTERS - The name contains unsupported or reserved characters.
-
BREAK_TEMPLATE_MUST_HAVE_EXACTLY_ONE_FLEXIBLE_AD_SPOT - The break template must have exactly one flexible ad spot.
-
UNKNOWN - The value returned if the actual value is not exposed by the requested API version.

