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

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

public class MediaServiceSoapBindingStub
extends org.apache.axis.client.Stub
implements MediaServiceInterface


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
MediaServiceSoapBindingStub()
           
MediaServiceSoapBindingStub(javax.xml.rpc.Service service)
           
MediaServiceSoapBindingStub(URL endpointURL, javax.xml.rpc.Service service)
           
 
Method Summary
protected  org.apache.axis.client.Call createCall()
           
 MediaPage get(Selector serviceSelector)
          Returns a list of media that meet the criteria specified by the selector.
 Media[] upload(Media[] media)
          Uploads new media.
 
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

MediaServiceSoapBindingStub

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

MediaServiceSoapBindingStub

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

MediaServiceSoapBindingStub

public MediaServiceSoapBindingStub(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 MediaPage get(Selector serviceSelector)
              throws RemoteException,
                     ApiException
Description copied from interface: MediaServiceInterface
Returns a list of media that meet the criteria specified by the selector.

Note: MediaService will not return any ImageAd image files.

Specified by:
get in interface MediaServiceInterface
Parameters:
serviceSelector - Selects which media objects to return.
Returns:
A list of Media objects.
Throws:
RemoteException
ApiException

upload

public Media[] upload(Media[] media)
               throws RemoteException,
                      ApiException
Description copied from interface: MediaServiceInterface
Uploads new media. Currently, you can only upload Image files.

Specified by:
upload in interface MediaServiceInterface
Parameters:
media - A list of Media objects, each containing the data to be uploaded.
Returns:
A list of uploaded media in the same order as the argument list.
Throws:
RemoteException
ApiException


Copyright © 2011. All Rights Reserved.