type UserDomainTargetingError (v202411)

  • This documentation details the UserDomainTargetingError for the Google Ad Manager API, which is specific to user domain targeting issues for line items.

  • The UserDomainTargetingError can occur within services such as AdjustmentService, ForecastService, LineItemService, etc.and inherits properties from ApiError.

  • It provides reasons for these errors, including INVALID_DOMAIN_NAMES, meaning provided domain names don't adhere to format guidelines (e.g., exceeding length or containing invalid characters).

  • Developers can utilize the provided error details (e.g., reason, fieldPath, errorString) for troubleshooting and rectifying issues with user domain targeting in their line items.

Lists all errors related to user domain targeting for a line item.


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.

UserDomainTargetingError

reason

UserDomainTargetingError.Re...


Enumerations
INVALID_DOMAIN_NAMES
Invalid domain names. Domain names must be at most 67 characters long. And must contain only alphanumeric characters and hyphens.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.