enum GenericTargetingError.Reason (v202411)

  • GenericTargetingError.Reason identifies the cause of targeting errors within Google Ad Manager.

  • Possible reasons include conflicting criteria, such as including and excluding related items, or attempting to include items that are descendants of excluded criteria.

  • An UNKNOWN reason is returned if the specific error cause is not available in 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.