Share your feedback about the AdWords API! Take our annual survey.

type CustomAffinityError (v201809)

Represents possible error codes in CustomAffinityService.


Namespace
https://adwords.google.com/api/adwords/rm/v201809

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.

ApiError.Type

xsd:string

Indicates that this instance is a subtype of ApiError. Although this field is returned in the response, it is ignored on input and cannot be selected. Specify xsi:type instead.

CustomAffinityError

reason

CustomAffinityError.Reason

The error reason represented by an enum.


Enumerations
NAME_ALREADY_USED
Duplicated name ignoring cases.
CUSTOM_AFFINITY_TOKEN_ID_AND_TYPE_PARAMETER_NOT_PRESENT_IN_REMOVE
In remove custom affinity token operation, both token ID and pair [type, parameter] are not present.
TYPE_AND_PARAMETER_NOT_FOUND
The pair of [type, parameter] does not exist.
TYPE_AND_PARAMETER_ALREADY_EXISTED
The pair of [type, parameter] already exists.
INVALID_CUSTOM_AFFINITY_TOKEN_TYPE
Unsupported custom affinity token type.
CANNOT_REMOVE_WHILE_IN_USE
Cannot remove a custom affinity while it's still being used as targeting.
FIELD_MUTATE_OPERATOR_FOR_TOKENS_IS_NOT_SUPPORTED
Field mutate operator for tokens is not supported.
READ_ONLY_ENTITY
Read only entities are not editable.
CANNOT_CHANGE_TYPE
Cannot change custom affinity type.
CUSTOM_AFFINITY_SERVICE_ERROR
Default generic error.

Send feedback about...

AdWords API
AdWords API
Need help? Visit our support page.