public interface AdParamServiceInterface
To define where parameterized values appear in an ad, you insert
{param#:default-value} tags in your ad text. You
can use these tags in any line of display text, and also in the
destination URL. When the text ad is displayed, values in these tags are
replaced by the ad parameter's insertion text. default-value specifies the string to display
if one of the following conditions is true:
| Modifier and Type | Method and Description |
|---|---|
AdParamPage |
get(Selector serviceSelector)
Returns the ad parameters that match the criteria specified in the
selector.
|
List<AdParam> |
mutate(List<AdParamOperation> operations)
Sets and removes ad parameters.
|
@RequestWrapper(localName="get", targetNamespace="https://adwords.google.com/api/adwords/cm/v201809", className="com.google.api.ads.adwords.jaxws.v201809.cm.AdParamServiceInterfaceget") @ResponseWrapper(localName="getResponse", targetNamespace="https://adwords.google.com/api/adwords/cm/v201809", className="com.google.api.ads.adwords.jaxws.v201809.cm.AdParamServiceInterfacegetResponse") AdParamPage get(Selector serviceSelector) throws ApiException_Exception
serviceSelector - Specifies which ad parameters to return.serviceSelector - ApiException_Exception@RequestWrapper(localName="mutate", targetNamespace="https://adwords.google.com/api/adwords/cm/v201809", className="com.google.api.ads.adwords.jaxws.v201809.cm.AdParamServiceInterfacemutate") @ResponseWrapper(localName="mutateResponse", targetNamespace="https://adwords.google.com/api/adwords/cm/v201809", className="com.google.api.ads.adwords.jaxws.v201809.cm.AdParamServiceInterfacemutateResponse") List<AdParam> mutate(List<AdParamOperation> operations) throws ApiException_Exception
Note: ADD is not supported. Use SET
for new ad parameters.
SET: Creates or updates an ad parameter, setting the new
parameterized value for the given ad group / keyword pair.
REMOVE: Removes an ad parameter. The default-value
specified in the ad text will be used.operations - The operations to perform.operations - SET operation, the returned ad parameter will contain the
updated values. For a REMOVE operation, the returned ad parameter
will simply be the ad parameter that was removed.ApiException_ExceptionCopyright © 2023. All rights reserved.