com.google.api.ads.adwords.v201109.cm
Interface MediaServiceInterface

All Superinterfaces:
Remote
All Known Implementing Classes:
MediaServiceSoapBindingStub

public interface MediaServiceInterface
extends Remote


Method Summary
 MediaPage get(Selector serviceSelector)
          Returns a list of media that meet the criteria specified by the selector.
 Media[] upload(Media[] media)
          Uploads new media.
 

Method Detail

get

MediaPage get(Selector serviceSelector)
              throws RemoteException,
                     ApiException
Returns a list of media that meet the criteria specified by the selector.

Note: MediaService will not return any ImageAd image files.

Parameters:
serviceSelector - Selects which media objects to return.
Returns:
A list of Media objects.
Throws:
RemoteException
ApiException

upload

Media[] upload(Media[] media)
               throws RemoteException,
                      ApiException
Uploads new media. Currently, you can only upload Image files.

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.