public interface ManagedCustomerServiceInterface
| Modifier and Type | Method and Description |
|---|---|
ManagedCustomerPage |
get(Selector serviceSelector)
Returns the list of customers that meet the selector criteria.
|
List<PendingInvitation> |
getPendingInvitations(PendingInvitationSelector selector)
Returns the pending invitations for the customer IDs in the selector.
|
ManagedCustomerReturnValue |
mutate(List<ManagedCustomerOperation> operations)
Modifies or creates new
ManagedCustomers. |
ManagedCustomerLabelReturnValue |
mutateLabel(List<ManagedCustomerLabelOperation> operations)
|
MutateLinkResults |
mutateLink(List<LinkOperation> operations)
Modifies the ManagedCustomer forest.
|
MutateManagerResults |
mutateManager(List<MoveOperation> operations)
Moves client customers to new managers (moving links).
|
@RequestWrapper(localName="get", targetNamespace="https://adwords.google.com/api/adwords/mcm/v201809", className="com.google.api.ads.adwords.jaxws.v201809.mcm.ManagedCustomerServiceInterfaceget") @ResponseWrapper(localName="getResponse", targetNamespace="https://adwords.google.com/api/adwords/mcm/v201809", className="com.google.api.ads.adwords.jaxws.v201809.mcm.ManagedCustomerServiceInterfacegetResponse") ManagedCustomerPage get(Selector serviceSelector) throws ApiException
selector - The selector specifying the ManagedCustomers to return.serviceSelector - ApiException - When there is at least one error with the request.ApiException@RequestWrapper(localName="getPendingInvitations", targetNamespace="https://adwords.google.com/api/adwords/mcm/v201809", className="com.google.api.ads.adwords.jaxws.v201809.mcm.ManagedCustomerServiceInterfacegetPendingInvitations") @ResponseWrapper(localName="getPendingInvitationsResponse", targetNamespace="https://adwords.google.com/api/adwords/mcm/v201809", className="com.google.api.ads.adwords.jaxws.v201809.mcm.ManagedCustomerServiceInterfacegetPendingInvitationsResponse") List<PendingInvitation> getPendingInvitations(PendingInvitationSelector selector) throws ApiException
selector - the manager customer ids (inviters) or the client customer ids (invitees)selector - ApiException - when there is at least one error with the requestApiException@RequestWrapper(localName="mutate", targetNamespace="https://adwords.google.com/api/adwords/mcm/v201809", className="com.google.api.ads.adwords.jaxws.v201809.mcm.ManagedCustomerServiceInterfacemutate") @ResponseWrapper(localName="mutateResponse", targetNamespace="https://adwords.google.com/api/adwords/mcm/v201809", className="com.google.api.ads.adwords.jaxws.v201809.mcm.ManagedCustomerServiceInterfacemutateResponse") ManagedCustomerReturnValue mutate(List<ManagedCustomerOperation> operations) throws ApiException
ManagedCustomers.
Note: See ManagedCustomerOperation for available operators.
operations - List of unique operations.operations - operations array.ApiException@RequestWrapper(localName="mutateLabel", targetNamespace="https://adwords.google.com/api/adwords/mcm/v201809", className="com.google.api.ads.adwords.jaxws.v201809.mcm.ManagedCustomerServiceInterfacemutateLabel") @ResponseWrapper(localName="mutateLabelResponse", targetNamespace="https://adwords.google.com/api/adwords/mcm/v201809", className="com.google.api.ads.adwords.jaxws.v201809.mcm.ManagedCustomerServiceInterfacemutateLabelResponse") ManagedCustomerLabelReturnValue mutateLabel(List<ManagedCustomerLabelOperation> operations) throws ApiException
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.
operations - ApiException@RequestWrapper(localName="mutateLink", targetNamespace="https://adwords.google.com/api/adwords/mcm/v201809", className="com.google.api.ads.adwords.jaxws.v201809.mcm.ManagedCustomerServiceInterfacemutateLink") @ResponseWrapper(localName="mutateLinkResponse", targetNamespace="https://adwords.google.com/api/adwords/mcm/v201809", className="com.google.api.ads.adwords.jaxws.v201809.mcm.ManagedCustomerServiceInterfacemutateLinkResponse") MutateLinkResults mutateLink(List<LinkOperation> operations) throws ApiException
operations - the list of operationsoperations - ApiException - with a ManagedCustomerServiceErrorApiException@RequestWrapper(localName="mutateManager", targetNamespace="https://adwords.google.com/api/adwords/mcm/v201809", className="com.google.api.ads.adwords.jaxws.v201809.mcm.ManagedCustomerServiceInterfacemutateManager") @ResponseWrapper(localName="mutateManagerResponse", targetNamespace="https://adwords.google.com/api/adwords/mcm/v201809", className="com.google.api.ads.adwords.jaxws.v201809.mcm.ManagedCustomerServiceInterfacemutateManagerResponse") MutateManagerResults mutateManager(List<MoveOperation> operations) throws ApiException
operations - List of unique operations.operations - ApiException - with a ManagedCustomerServiceErrorApiExceptionCopyright © 2023. All rights reserved.