public interface AdGroupServiceInterface
| Modifier and Type | Method and Description |
|---|---|
AdGroupPage |
get(Selector serviceSelector)
Returns a list of all the ad groups specified by the selector
from the target customer's account.
|
AdGroupReturnValue |
mutate(List<AdGroupOperation> operations)
Adds, updates, or removes ad groups.
|
AdGroupLabelReturnValue |
mutateLabel(List<AdGroupLabelOperation> operations)
|
AdGroupPage |
query(String query)
Returns the list of ad groups that match the query.
|
@RequestWrapper(localName="get", targetNamespace="https://adwords.google.com/api/adwords/cm/v201809", className="com.google.api.ads.adwords.jaxws.v201809.cm.AdGroupServiceInterfaceget") @ResponseWrapper(localName="getResponse", targetNamespace="https://adwords.google.com/api/adwords/cm/v201809", className="com.google.api.ads.adwords.jaxws.v201809.cm.AdGroupServiceInterfacegetResponse") AdGroupPage get(Selector serviceSelector) throws ApiException_Exception
serviceSelector - The selector specifying the AdGroups to return.serviceSelector - ApiException - when there is at least one error with the request.ApiException_Exception@RequestWrapper(localName="mutate", targetNamespace="https://adwords.google.com/api/adwords/cm/v201809", className="com.google.api.ads.adwords.jaxws.v201809.cm.AdGroupServiceInterfacemutate") @ResponseWrapper(localName="mutateResponse", targetNamespace="https://adwords.google.com/api/adwords/cm/v201809", className="com.google.api.ads.adwords.jaxws.v201809.cm.AdGroupServiceInterfacemutateResponse") AdGroupReturnValue mutate(List<AdGroupOperation> operations) throws ApiException_Exception
Note: AdGroupOperation does not support the
REMOVE operator. To remove an ad group, set its
status to REMOVED.
operations - List of unique operations. The same ad group cannot be
specified in more than one operation.operations - ApiException_Exception@RequestWrapper(localName="mutateLabel", targetNamespace="https://adwords.google.com/api/adwords/cm/v201809", className="com.google.api.ads.adwords.jaxws.v201809.cm.AdGroupServiceInterfacemutateLabel") @ResponseWrapper(localName="mutateLabelResponse", targetNamespace="https://adwords.google.com/api/adwords/cm/v201809", className="com.google.api.ads.adwords.jaxws.v201809.cm.AdGroupServiceInterfacemutateLabelResponse") AdGroupLabelReturnValue mutateLabel(List<AdGroupLabelOperation> operations) throws ApiException_Exception
ADD -- Apply an existing label to an existing ad group.
The adGroupId must reference an existing ad group. The
labelId must reference an existing label.
REMOVE -- Removes the link between the specified ad group
and a label.
operations - the operations to apply.operations - ApiException - when there are one or more errors with the request.ApiException_Exception@RequestWrapper(localName="query", targetNamespace="https://adwords.google.com/api/adwords/cm/v201809", className="com.google.api.ads.adwords.jaxws.v201809.cm.AdGroupServiceInterfacequery") @ResponseWrapper(localName="queryResponse", targetNamespace="https://adwords.google.com/api/adwords/cm/v201809", className="com.google.api.ads.adwords.jaxws.v201809.cm.AdGroupServiceInterfacequeryResponse") AdGroupPage query(String query) throws ApiException_Exception
query - The SQL-like AWQL query stringquery - ApiExceptionApiException_ExceptionCopyright © 2023. All rights reserved.