enum AdRuleError.Reason (v202502)

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

  • The NAME_CONTAINS_INVALID_CHARACTERS reason indicates the name contains unsupported or reserved characters.

  • The BREAK_TEMPLATE_MUST_HAVE_EXACTLY_ONE_FLEXIBLE_AD_SPOT reason means the break template needs one flexible ad spot.

  • The UNKNOWN reason is returned when the actual value is not exposed by the requested API version.

Describes reason for AdRuleErrors.


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