enum GenericTargetingError.Reason (v202411)

  • GenericTargetingError.Reason outlines the potential errors encountered when setting targeting criteria in Google Ad Manager.

  • Targeting errors can arise from conflicting inclusion and exclusion rules, or by including criteria that are descendants of excluded criteria.

  • The UNKNOWN reason is a fallback for errors not specifically exposed by the current API version.

The reasons for the target error.


Namespace
https://www.google.com/apis/ads/publisher/v202411
Enumeration Description
CONFLICTING_INCLUSION_OR_EXCLUSION_OF_SIBLINGS Both including and excluding sibling criteria is disallowed.
INCLUDING_DESCENDANTS_OF_EXCLUDED_CRITERIA Including descendants of excluded criteria is disallowed.
UNKNOWN The value returned if the actual value is not exposed by the requested API version.