enum GenericTargetingError.Reason (v202411)

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

  • It features reasons like conflicting criteria, including excluded criteria's descendants, and an unknown reason for unexposed values.

  • Several Google Ad Manager services, such as LineItemService and ProposalLineItemService, utilize this error type.

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.