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 document details `GenericTargetingError.Reason` within the Google Ad Manager API (v202502). It lists services such as AdjustmentService, ForecastService, LineItemService, and others that utilize this error. The core information is the enumeration of error reasons: `CONFLICTING_INCLUSION_OR_EXCLUSION_OF_SIBLINGS`, `INCLUDING_DESCENDANTS_OF_EXCLUDED_CRITERIA`, and `UNKNOWN`. These reasons describe specific targeting conflicts or unsupported actions within the API.\n"],null,["# enum GenericTargetingError.Reason (v202502)\n\n**Service** \n[AdjustmentService](/ad-manager/api/reference/v202502/AdjustmentService.GenericTargetingError.Reason) **ForecastService** [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](/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/ForecastService.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. |"]]