public class ManagedCustomerServiceInterfacemutateLabel extends Object
To add an AccountLabel to a ManagedCustomer,
use Operator#ADD.
To remove an AccountLabel from a ManagedCustomer,
use Operator#REMOVE.
The label must already exist (see AccountLabelService#mutate for
how to create them) and be owned by the authenticated user.
The ManagedCustomer must already exist and be managed by the customer making the request (either directly or indirectly).
An AccountLabel may be applied to at most 1000 customers.
This method does not support partial failures, and will fail if any operation is invalid.
Java class for mutateLabel element declaration.
The following schema fragment specifies the expected content contained within this class.
<element name="mutateLabel">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="operations" type="{https://adwords.google.com/api/adwords/mcm/v201809}ManagedCustomerLabelOperation" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
| Modifier and Type | Field and Description |
|---|---|
protected List<ManagedCustomerLabelOperation> |
operations |
| Constructor and Description |
|---|
ManagedCustomerServiceInterfacemutateLabel() |
| Modifier and Type | Method and Description |
|---|---|
List<ManagedCustomerLabelOperation> |
getOperations()
Gets the value of the operations property.
|
protected List<ManagedCustomerLabelOperation> operations
public ManagedCustomerServiceInterfacemutateLabel()
public List<ManagedCustomerLabelOperation> getOperations()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the operations property.
For example, to add a new item, do as follows:
getOperations().add(newItem);
Objects of the following type(s) are allowed in the list
ManagedCustomerLabelOperation
Copyright © 2023. All rights reserved.