com.google.api.ads.adwords.v201109.cm
Class AdGroupAdServiceSoapBindingStub

java.lang.Object
  extended by org.apache.axis.client.Stub
      extended by com.google.api.ads.adwords.v201109.cm.AdGroupAdServiceSoapBindingStub
All Implemented Interfaces:
AdGroupAdServiceInterface, Remote, javax.xml.rpc.Stub

public class AdGroupAdServiceSoapBindingStub
extends org.apache.axis.client.Stub
implements AdGroupAdServiceInterface


Field Summary
 
Fields inherited from class org.apache.axis.client.Stub
_call, cachedEndpoint, cachedPassword, cachedPortName, cachedProperties, cachedTimeout, cachedUsername, maintainSession, maintainSessionSet, service
 
Fields inherited from interface javax.xml.rpc.Stub
ENDPOINT_ADDRESS_PROPERTY, PASSWORD_PROPERTY, SESSION_MAINTAIN_PROPERTY, USERNAME_PROPERTY
 
Constructor Summary
AdGroupAdServiceSoapBindingStub()
           
AdGroupAdServiceSoapBindingStub(javax.xml.rpc.Service service)
           
AdGroupAdServiceSoapBindingStub(URL endpointURL, javax.xml.rpc.Service service)
           
 
Method Summary
protected  org.apache.axis.client.Call createCall()
           
 AdGroupAdPage get(Selector serviceSelector)
          Returns a list of AdGroupAds.
 AdGroupAdReturnValue mutate(AdGroupAdOperation[] operations)
          Applies the list of mutate operations (ie.
 
Methods inherited from class org.apache.axis.client.Stub
_createCall, _getCall, _getProperty, _getPropertyNames, _getService, _setProperty, addAttachment, clearAttachments, clearHeaders, extractAttachments, firstCall, getAttachments, getHeader, getHeaders, getPassword, getPortName, getResponseHeader, getResponseHeaders, getResponseHeaders, getTimeout, getUsername, removeProperty, setAttachments, setHeader, setHeader, setMaintainSession, setPassword, setPortName, setPortName, setRequestHeaders, setTimeout, setUsername
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdGroupAdServiceSoapBindingStub

public AdGroupAdServiceSoapBindingStub()
                                throws org.apache.axis.AxisFault
Throws:
org.apache.axis.AxisFault

AdGroupAdServiceSoapBindingStub

public AdGroupAdServiceSoapBindingStub(URL endpointURL,
                                       javax.xml.rpc.Service service)
                                throws org.apache.axis.AxisFault
Throws:
org.apache.axis.AxisFault

AdGroupAdServiceSoapBindingStub

public AdGroupAdServiceSoapBindingStub(javax.xml.rpc.Service service)
                                throws org.apache.axis.AxisFault
Throws:
org.apache.axis.AxisFault
Method Detail

createCall

protected org.apache.axis.client.Call createCall()
                                          throws RemoteException
Throws:
RemoteException

get

public AdGroupAdPage get(Selector serviceSelector)
                  throws RemoteException,
                         ApiException
Description copied from interface: AdGroupAdServiceInterface
Returns a list of AdGroupAds.

Specified by:
get in interface AdGroupAdServiceInterface
Parameters:
serviceSelector - the selector specifying the AdGroupAds to return.
Returns:
the page containing the AdGroupAds that meet the criteria specified by the selector.
Throws:
ApiException - when there is at least one error with the request.
RemoteException

mutate

public AdGroupAdReturnValue mutate(AdGroupAdOperation[] operations)
                            throws RemoteException,
                                   ApiException
Description copied from interface: AdGroupAdServiceInterface
Applies the list of mutate operations (ie. add, set, remove):

Add - Creates a new ad group ad. The adGroupId must reference an existing ad group. The child Ad must be sufficiently specified by constructing a concrete ad type (such as TextAd) and setting its fields accordingly.

Set - Updates an ad group ad. Except for status, ad group ad fields are not mutable. Status updates are straightforward - the status of the ad group ad is updated as specified. If any other field has changed, it will be ignored. If you want to change any of the fields other than status, you must make a new ad and then delete the old one.

Remove - Removes the link between the specified AdGroup and Ad.

Specified by:
mutate in interface AdGroupAdServiceInterface
Parameters:
operations - the operations to apply
Returns:
a list of AdGroupAds where each entry in the list is the result of applying the operation in the input list with the same index. For an add/set operation, the return AdGroupAd will be what is saved to the db. In the case, of the remove operation, the return AdGroupAd will simply be an AdGroupAd containing an Ad with the id set to the Ad being deleted from the AdGroup.
Throws:
RemoteException
ApiException


Copyright © 2011. All Rights Reserved.