public interface MediaServiceInterface
| Modifier and Type | Method and Description |
|---|---|
MediaPage |
get(Selector serviceSelector)
Returns a list of media that meet the criteria specified by the selector.
|
MediaPage |
query(String query)
Returns the list of
Media objects that match the query. |
List<Media> |
upload(List<Media> media)
Uploads new media.
|
@RequestWrapper(localName="get", targetNamespace="https://adwords.google.com/api/adwords/cm/v201809", className="com.google.api.ads.adwords.jaxws.v201809.cm.MediaServiceInterfaceget") @ResponseWrapper(localName="getResponse", targetNamespace="https://adwords.google.com/api/adwords/cm/v201809", className="com.google.api.ads.adwords.jaxws.v201809.cm.MediaServiceInterfacegetResponse") MediaPage get(Selector serviceSelector) throws ApiException_Exception
Note: MediaService will not return any
ImageAd image files.
serviceSelector - Selects which media objects to return.serviceSelector - Media objects.ApiException_Exception@RequestWrapper(localName="query", targetNamespace="https://adwords.google.com/api/adwords/cm/v201809", className="com.google.api.ads.adwords.jaxws.v201809.cm.MediaServiceInterfacequery") @ResponseWrapper(localName="queryResponse", targetNamespace="https://adwords.google.com/api/adwords/cm/v201809", className="com.google.api.ads.adwords.jaxws.v201809.cm.MediaServiceInterfacequeryResponse") MediaPage query(String query) throws ApiException_Exception
Media objects that match the query.query - The SQL-like AWQL query stringquery - ApiException - when the query is invalid or there are errors processing the request.ApiException_Exception@RequestWrapper(localName="upload", targetNamespace="https://adwords.google.com/api/adwords/cm/v201809", className="com.google.api.ads.adwords.jaxws.v201809.cm.MediaServiceInterfaceupload") @ResponseWrapper(localName="uploadResponse", targetNamespace="https://adwords.google.com/api/adwords/cm/v201809", className="com.google.api.ads.adwords.jaxws.v201809.cm.MediaServiceInterfaceuploadResponse") List<Media> upload(List<Media> media) throws ApiException_Exception
Image files and MediaBundles.media - A list of Media objects, each containing the data to
be uploaded.media - ApiException_ExceptionCopyright © 2023. All rights reserved.