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 provided content details the `GenericTargetingError.Reason` enumeration within the Google Ad Manager API (v202502). It outlines potential targeting errors, including `CONFLICTING_INCLUSION_OR_EXCLUSION_OF_SIBLINGS`, which disallows both including and excluding sibling criteria, and `INCLUDING_DESCENDANTS_OF_EXCLUDED_CRITERIA`, which prohibits including descendants of excluded criteria. `UNKNOWN` is used for unexposed values. The error reasons are associated with various services like Adjustment, Forecast, LineItem, and TargetingPreset services.\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](/ad-manager/api/reference/v202502/ProposalLineItemService.GenericTargetingError.Reason) **TargetingPresetService** [YieldGroupService](/ad-manager/api/reference/v202502/YieldGroupService.GenericTargetingError.Reason) **Dependencies** \n[GenericTargetingError](/ad-manager/api/reference/v202502/TargetingPresetService.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. |"]]