type TechnologyTargetingError (v202411)

  • TechnologyTargetingError objects detail validation errors specific to technology targeting within Google Ad Manager.

  • These errors can occur when creating or updating line items and often involve mismatches between line item types and the technology criteria they target.

  • TechnologyTargetingError objects inherit from ApiError and include a reason field outlining the specific cause of the error, like targeting web criteria in a mobile line item.

  • Reasons for TechnologyTargetingError include attempting to target web technologies in mobile line items or mobile technologies in web line items, as well as using features like mobile carrier or device capability targeting when they're not enabled.

  • The TechnologyTargetingError object provides information about why a technology targeting operation failed, such as a mobile line item containing web technology criteria.

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.