enum GenericTargetingError.Reason (v202411)
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.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-19 UTC.
[null,null,["Last updated 2024-11-19 UTC."],[[["`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 core content outlines the `GenericTargetingError.Reason` enumeration within the Google Ad Manager API (v202411). It details potential targeting errors across various services like `AdjustmentService`, `ForecastService`, `LineItemService`, `LineItemTemplateService`, `OrderService`, `ProposalLineItemService`, `TargetingPresetService`, and `YieldGroupService`. There are three reasons: `CONFLICTING_INCLUSION_OR_EXCLUSION_OF_SIBLINGS`, where including and excluding siblings is not permitted, `INCLUDING_DESCENDANTS_OF_EXCLUDED_CRITERIA`, which prohibits including excluded criteria descendants, and `UNKNOWN`, for unspecified errors.\n"]]