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 in Google Ad Manager."],["It has specific reasons like conflicting criteria or inclusion of excluded criteria descendants."],["This information is used by various services, such as AdjustmentService, ForecastService, and ProposalLineItemService."],["Reasons are represented by enumerations with detailed descriptions, aiding in troubleshooting and resolving targeting issues."]]],["The provided content outlines the `GenericTargetingError.Reason` enumeration within the Google Ad Manager API (v202411). It details potential targeting errors, specifically related to inclusion/exclusion conflicts. Key information includes error codes like `CONFLICTING_INCLUSION_OR_EXCLUSION_OF_SIBLINGS` and `INCLUDING_DESCENDANTS_OF_EXCLUDED_CRITERIA`, which signal invalid targeting setups. `UNKNOWN` indicates that the actual error is not exposed by the current API version. The error reasons are relevant to multiple services like `AdjustmentService`, `ForecastService`, `LineItemService` and `ProposalLineItemService`.\n"]]