enum AdRuleError.Reason (v202411)

  • AdRuleError.Reason describes the reasons for AdRuleErrors within the AdRuleService.

  • Enumerated reasons for AdRuleErrors include invalid characters in the name, break templates needing exactly one flexible ad spot, and an unknown reason for values not exposed by the API version.

Describes reason for AdRuleErrors.


Namespace
https://www.google.com/apis/ads/publisher/v202411
Enumeration Description
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.