Ads API .NET library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Google.Api.Ads.AdWords.v201809.MediaService Class Reference

Use this service to manage media. More...

Inheritance diagram for Google.Api.Ads.AdWords.v201809.MediaService:
Google.Api.Ads.AdWords.v201809.IMediaService Google.Api.Ads.AdWords.v201809.MediaServiceInterface

Public Member Functions

 MediaService ()
 Creates a new instance of the MediaService class. More...
 
 MediaService (string endpointConfigurationName)
 Creates a new instance of the MediaService class. More...
 
 MediaService (string endpointConfigurationName, string remoteAddress)
 Creates a new instance of the MediaService class. More...
 
 MediaService (string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress)
 Creates a new instance of the MediaService class. More...
 
 MediaService (System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress)
 Creates a new instance of the MediaService class. More...
 
virtual
Google.Api.Ads.AdWords.v201809.MediaPage 
get (Google.Api.Ads.AdWords.v201809.Selector serviceSelector)
 Returns a list of media that meet the criteria specified by the selector. Note: More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdWords.v201809.MediaPage
getAsync (Google.Api.Ads.AdWords.v201809.Selector serviceSelector)
 
virtual
Google.Api.Ads.AdWords.v201809.MediaPage 
query (string query1)
 Returns the list of Media objects that match the query. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdWords.v201809.MediaPage
queryAsync (string query)
 
virtual
Google.Api.Ads.AdWords.v201809.Media[] 
upload (Google.Api.Ads.AdWords.v201809.Media[] media)
 Uploads new media. Currently, you can upload Image files and MediaBundles. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdWords.v201809.Media[]> 
uploadAsync (Google.Api.Ads.AdWords.v201809.Media[] media)
 

Detailed Description

Use this service to manage media.

Constructor & Destructor Documentation

Google.Api.Ads.AdWords.v201809.MediaService.MediaService ( )
inline

Creates a new instance of the MediaService class.

Google.Api.Ads.AdWords.v201809.MediaService.MediaService ( string  endpointConfigurationName)
inline

Creates a new instance of the MediaService class.

Google.Api.Ads.AdWords.v201809.MediaService.MediaService ( string  endpointConfigurationName,
string  remoteAddress 
)
inline

Creates a new instance of the MediaService class.

Google.Api.Ads.AdWords.v201809.MediaService.MediaService ( string  endpointConfigurationName,
System.ServiceModel.EndpointAddress  remoteAddress 
)
inline

Creates a new instance of the MediaService class.

Google.Api.Ads.AdWords.v201809.MediaService.MediaService ( System.ServiceModel.Channels.Binding  binding,
System.ServiceModel.EndpointAddress  remoteAddress 
)
inline

Creates a new instance of the MediaService class.

Member Function Documentation

virtual Google.Api.Ads.AdWords.v201809.MediaPage Google.Api.Ads.AdWords.v201809.MediaService.get ( Google.Api.Ads.AdWords.v201809.Selector  serviceSelector)
inlinevirtual

Returns a list of media that meet the criteria specified by the selector. Note:

MediaService will not return any ImageAd image files.

Parameters
serviceSelectorSelects which media objects to return.
Returns
A list of Media objects.

Implements Google.Api.Ads.AdWords.v201809.MediaServiceInterface.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdWords.v201809.MediaPage> Google.Api.Ads.AdWords.v201809.MediaService.getAsync ( Google.Api.Ads.AdWords.v201809.Selector  serviceSelector)
inlinevirtual
virtual Google.Api.Ads.AdWords.v201809.MediaPage Google.Api.Ads.AdWords.v201809.MediaService.query ( string  query1)
inlinevirtual

Returns the list of Media objects that match the query.

Parameters
query1The SQL-like AWQL query string
Returns
s A list of Media objects.
Exceptions
AdWordsApiExceptionwhen the query is invalid or there are errors processing the request.

Implements Google.Api.Ads.AdWords.v201809.MediaServiceInterface.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdWords.v201809.MediaPage> Google.Api.Ads.AdWords.v201809.MediaService.queryAsync ( string  query)
inlinevirtual
virtual Google.Api.Ads.AdWords.v201809.Media [] Google.Api.Ads.AdWords.v201809.MediaService.upload ( Google.Api.Ads.AdWords.v201809.Media[]  media)
inlinevirtual

Uploads new media. Currently, you can upload Image files and MediaBundles.

Parameters
mediaA 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.

Implements Google.Api.Ads.AdWords.v201809.IMediaService.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdWords.v201809.Media[]> Google.Api.Ads.AdWords.v201809.MediaService.uploadAsync ( Google.Api.Ads.AdWords.v201809.Media[]  media)
inlinevirtual

The documentation for this class was generated from the following file: