enum GenericTargetingError.Reason (v202502)
Stay organized with collections
Save and categorize content based on your preferences.
The reasons for the target error.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202502
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 2025-08-06 UTC.
[null,null,["Last updated 2025-08-06 UTC."],[],["The core content details the `GenericTargetingError.Reason` enumeration within the Ad Manager API v202502. This error can occur across multiple services, including Adjustment, Forecast, LineItem, LineItemTemplate, Order, ProposalLineItem, TargetingPreset, and YieldGroup services. There are three defined reasons for this error: `CONFLICTING_INCLUSION_OR_EXCLUSION_OF_SIBLINGS`, `INCLUDING_DESCENDANTS_OF_EXCLUDED_CRITERIA`, and `UNKNOWN`. These errors indicate issues with targeting criteria, such as conflicts between including and excluding sibling or descendant criteria.\n"],null,["# enum GenericTargetingError.Reason (v202502)\n\n**Service** \n[AdjustmentService](/ad-manager/api/reference/v202502/AdjustmentService.GenericTargetingError.Reason) [ForecastService](/ad-manager/api/reference/v202502/ForecastService.GenericTargetingError.Reason) [LineItemService](/ad-manager/api/reference/v202502/LineItemService.GenericTargetingError.Reason) [LineItemTemplateService](/ad-manager/api/reference/v202502/LineItemTemplateService.GenericTargetingError.Reason) [OrderService](/ad-manager/api/reference/v202502/OrderService.GenericTargetingError.Reason) **ProposalLineItemService** [TargetingPresetService](/ad-manager/api/reference/v202502/TargetingPresetService.GenericTargetingError.Reason) [YieldGroupService](/ad-manager/api/reference/v202502/YieldGroupService.GenericTargetingError.Reason) **Dependencies** \n[GenericTargetingError](/ad-manager/api/reference/v202502/ProposalLineItemService.GenericTargetingError) \n▼\n**GenericTargetingError.Reason**\n\nThe reasons for the target error.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202502`\n\n| Enumeration | Description |\n|--------------------------------------------------|-------------------------------------------------------------------------------------|\n| `CONFLICTING_INCLUSION_OR_EXCLUSION_OF_SIBLINGS` | Both including and excluding sibling criteria is disallowed. |\n| `INCLUDING_DESCENDANTS_OF_EXCLUDED_CRITERIA` | Including descendants of excluded criteria is disallowed. |\n| `UNKNOWN` | The value returned if the actual value is not exposed by the requested API version. |"]]