enum AdRuleTargetingError.Reason (v202411)

  • AdRuleTargetingError.Reason describes reasons for ad rule targeting errors within the AdRuleService.

  • Specific reasons for errors include not being allowed to target video positions and the requirement for exact custom value matching for session ad rules due to COPPA.

  • An UNKNOWN value is returned if the actual error reason is not exposed by the requested API version.

Describes reasons for AdRuleTargetingError ad rule targeting errors.


Namespace
https://www.google.com/apis/ads/publisher/v202411
Enumeration Description
VIDEO_POSITION_TARGETING_NOT_ALLOWED Cannot target video positions.
EXACT_CUSTOM_VALUE_TARGETING_REQUIRED As part of COPPA requirements, custom targeting for session ad rules requires exact custom value matching.
UNKNOWN The value returned if the actual value is not exposed by the requested API version.