type LineItemActivityAssociationError (v202405)

Errors specific to associating activities to line items.


Namespace
https://www.google.com/apis/ads/publisher/v202405

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.

LineItemActivityAssociationError

reason

LineItemActivityAssociation...

The error reason represented by an enum.


Enumerations
INVALID_ACTIVITY_FOR_ADVERTISER
When associating an activity to a line item the activity must belong to the same advertiser as the line item.
INVALID_COST_TYPE_FOR_ASSOCIATION
Activities can only be associated with line items of CostType.CPA.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.