type ListOperations (v201802)

Describes the behavior of elements in a list. Instances of ListOperations will always be defined alongside some list in an API POJO. The number of operators in the ListOperations must be equal to the number of elements in the POJO list. Each operator, together with its corresponding list element, describe an intended change.

For example, if in a request Campaign.selectiveOptimization contains 2 conversionTypeIds, and the conversionTypeIdsOps is non-null, it must contain 2 operators. If those operators are {PUT, REMOVE} then the API will add the first conversionTypeId (if it doesn't already exist) and remove the second conversionTypeId (if it exists).


Namespace
https://adwords.google.com/api/adwords/cm/v201802

Field

clear

xsd:boolean

Indicates that all contents of the list should be deleted. If this is true, the list will be cleared first, then proceed to the operators.

operators

ListOperations.ListOperator[]

The desired behavior of each element in the POJO list that this ListOperation corresponds to. This will contain the same number of elements as the corresponding List<>.


Enumerations
PUT
Adds to a list, or overrides an existing element if it exists.
REMOVE
Removes this element from the list.
UPDATE
Updates this element with the existing behavior of null fields inside the list element being a no-op. If the element doesn't exist it is added.
UNKNOWN

Send feedback about...

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