type TechnologyTargetingError (v202411)
Stay organized with collections
Save and categorize content based on your preferences.
Technology targeting validation errors.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
Field
|
ApiError (inherited)
|
fieldPath
|
xsd:string
The OGNL field path to identify cause of error.
|
fieldPathElements
|
FieldPathElement[]
A parsed copy of the field path. For example, the field path "operations[1].operand"
corresponds to this list: {FieldPathElement(field = "operations", index = 1),
FieldPathElement(field = "operand", index = null)}.
|
trigger
|
xsd:string
The data that caused the error.
|
errorString
|
xsd:string
A simple string representation of the error and reason.
|
TechnologyTargetingError
|
reason
|
TechnologyTargetingError.Re...
Enumerations
-
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."],[[["\u003cp\u003eThe \u003ccode\u003eTechnologyTargetingError\u003c/code\u003e object represents validation errors related to technology targeting in Google Ad Manager.\u003c/p\u003e\n"],["\u003cp\u003eIt is a subclass of \u003ccode\u003eApiError\u003c/code\u003e and inherits common error properties like \u003ccode\u003efieldPath\u003c/code\u003e, \u003ccode\u003etrigger\u003c/code\u003e, and \u003ccode\u003eerrorString\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTechnologyTargetingError\u003c/code\u003e includes a \u003ccode\u003ereason\u003c/code\u003e field that provides specific details about the technology targeting issue encountered.\u003c/p\u003e\n"],["\u003cp\u003eThis error can occur when mobile line items contain web technology criteria, web line items contain mobile technology criteria, or if specific targeting features are not enabled.\u003c/p\u003e\n"],["\u003cp\u003eThe error reasons are outlined in the \u003ccode\u003eTechnologyTargetingError.Reason\u003c/code\u003e enumeration.\u003c/p\u003e\n"]]],["The content details various services like AdjustmentService, ForecastService, and LineItemService, including LineItemTemplateService which has a list of errors. The `TechnologyTargetingError` is highlighted, focusing on validation errors with a list of enumerations. It includes reasons such as `MOBILE_LINE_ITEM_CONTAINS_WEB_TECH_CRITERIA`, `WEB_LINE_ITEM_CONTAINS_MOBILE_TECH_CRITERIA`, `MOBILE_CARRIER_TARGETING_FEATURE_NOT_ENABLED`, `DEVICE_CAPABILITY_TARGETING_FEATURE_NOT_ENABLED` and `UNKNOWN`. There are also inherited `ApiError` fields like `fieldPath`, `fieldPathElements`, `trigger`, and `errorString`.\n"],null,[]]