enum TechnologyTargetingError.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 |
MOBILE_LINE_ITEM_CONTAINS_WEB_TECH_CRITERIA
|
Mobile line item cannot target web-only targeting criteria.
|
WEB_LINE_ITEM_CONTAINS_MOBILE_TECH_CRITERIA
|
Web line item cannot target mobile-only targeting criteria.
|
MOBILE_CARRIER_TARGETING_FEATURE_NOT_ENABLED
|
The mobile carrier targeting feature is not enabled.
|
DEVICE_CAPABILITY_TARGETING_FEATURE_NOT_ENABLED
|
The device capability targeting feature is not enabled.
|
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 error reasons related to technology targeting within ad management services. Key actions involve understanding error types for different line items. Specifically, `TechnologyTargetingError` outlines issues where mobile line items target web-only criteria (`MOBILE_LINE_ITEM_CONTAINS_WEB_TECH_CRITERIA`) or web line items target mobile-only criteria (`WEB_LINE_ITEM_CONTAINS_MOBILE_TECH_CRITERIA`). It also highlights if mobile carrier or device capability targeting features are disabled (`MOBILE_CARRIER_TARGETING_FEATURE_NOT_ENABLED`, `DEVICE_CAPABILITY_TARGETING_FEATURE_NOT_ENABLED`), and an `UNKNOWN` error for unexposed values.\n"],null,["# enum TechnologyTargetingError.Reason (v202502)\n\n**Service** \n[AdjustmentService](/ad-manager/api/reference/v202502/AdjustmentService.TechnologyTargetingError.Reason) [ForecastService](/ad-manager/api/reference/v202502/ForecastService.TechnologyTargetingError.Reason) [LineItemService](/ad-manager/api/reference/v202502/LineItemService.TechnologyTargetingError.Reason) **LineItemTemplateService** [OrderService](/ad-manager/api/reference/v202502/OrderService.TechnologyTargetingError.Reason) [ProposalLineItemService](/ad-manager/api/reference/v202502/ProposalLineItemService.TechnologyTargetingError.Reason) [TargetingPresetService](/ad-manager/api/reference/v202502/TargetingPresetService.TechnologyTargetingError.Reason) [YieldGroupService](/ad-manager/api/reference/v202502/YieldGroupService.TechnologyTargetingError.Reason) **Dependencies** \n[TechnologyTargetingError](/ad-manager/api/reference/v202502/LineItemTemplateService.TechnologyTargetingError) \n▼\n**TechnologyTargetingError.Re...**\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| `MOBILE_LINE_ITEM_CONTAINS_WEB_TECH_CRITERIA` | Mobile line item cannot target web-only targeting criteria. |\n| `WEB_LINE_ITEM_CONTAINS_MOBILE_TECH_CRITERIA` | Web line item cannot target mobile-only targeting criteria. |\n| `MOBILE_CARRIER_TARGETING_FEATURE_NOT_ENABLED` | The mobile carrier targeting feature is not enabled. |\n| `DEVICE_CAPABILITY_TARGETING_FEATURE_NOT_ENABLED` | The device capability targeting feature is not enabled. |\n| `UNKNOWN` | The value returned if the actual value is not exposed by the requested API version. |"]]