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

The DraftService is used for creating new drafts and controlling the life cycle of drafts. More...

Inheritance diagram for Google.Api.Ads.AdWords.v201809.DraftService:
Google.Api.Ads.AdWords.v201809.IDraftService Google.Api.Ads.AdWords.v201809.DraftServiceInterface

Public Member Functions

 DraftService ()
 Creates a new instance of the DraftService class. More...
 
 DraftService (string endpointConfigurationName)
 Creates a new instance of the DraftService class. More...
 
 DraftService (string endpointConfigurationName, string remoteAddress)
 Creates a new instance of the DraftService class. More...
 
 DraftService (string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress)
 Creates a new instance of the DraftService class. More...
 
 DraftService (System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress)
 Creates a new instance of the DraftService class. More...
 
virtual
Google.Api.Ads.AdWords.v201809.DraftPage 
get (Google.Api.Ads.AdWords.v201809.Selector selector)
 Returns a DraftPage that contains a list of Draft objects matching the selector. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdWords.v201809.DraftPage
getAsync (Google.Api.Ads.AdWords.v201809.Selector selector)
 
virtual
Google.Api.Ads.AdWords.v201809.DraftReturnValue 
mutate (Google.Api.Ads.AdWords.v201809.DraftOperation[] operations)
 The mutate action is used for creating new Drafts and controlling the life cycle of Drafts, such as abandoning or promoting Drafts. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdWords.v201809.DraftReturnValue
mutateAsync (Google.Api.Ads.AdWords.v201809.DraftOperation[] operations)
 
virtual
Google.Api.Ads.AdWords.v201809.DraftPage 
query (string query1)
 Returns a DraftPage that contains a list of Draft objects matching the query. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdWords.v201809.DraftPage
queryAsync (string query)
 

Detailed Description

The DraftService is used for creating new drafts and controlling the life cycle of drafts.

Constructor & Destructor Documentation

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

Creates a new instance of the DraftService class.

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

Creates a new instance of the DraftService class.

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

Creates a new instance of the DraftService class.

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

Creates a new instance of the DraftService class.

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

Creates a new instance of the DraftService class.

Member Function Documentation

virtual Google.Api.Ads.AdWords.v201809.DraftPage Google.Api.Ads.AdWords.v201809.DraftService.get ( Google.Api.Ads.AdWords.v201809.Selector  selector)
inlinevirtual

Returns a DraftPage that contains a list of Draft objects matching the selector.

Exceptions
ApiExceptionif problems occurred while retrieving the results.

Implements Google.Api.Ads.AdWords.v201809.DraftServiceInterface.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdWords.v201809.DraftPage> Google.Api.Ads.AdWords.v201809.DraftService.getAsync ( Google.Api.Ads.AdWords.v201809.Selector  selector)
inlinevirtual
virtual Google.Api.Ads.AdWords.v201809.DraftReturnValue Google.Api.Ads.AdWords.v201809.DraftService.mutate ( Google.Api.Ads.AdWords.v201809.DraftOperation[]  operations)
inlinevirtual

The mutate action is used for creating new Drafts and controlling the life cycle of Drafts, such as abandoning or promoting Drafts.

Returns
The list of updated Drafts, in the same order as the list.
Exceptions
ApiExceptionif problems occurred while processing the request.

Implements Google.Api.Ads.AdWords.v201809.IDraftService.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdWords.v201809.DraftReturnValue> Google.Api.Ads.AdWords.v201809.DraftService.mutateAsync ( Google.Api.Ads.AdWords.v201809.DraftOperation[]  operations)
inlinevirtual
virtual Google.Api.Ads.AdWords.v201809.DraftPage Google.Api.Ads.AdWords.v201809.DraftService.query ( string  query1)
inlinevirtual

Returns a DraftPage that contains a list of Draft objects matching the query.

Exceptions
ApiExceptionif problems occurred while retrieving the results.

Implements Google.Api.Ads.AdWords.v201809.DraftServiceInterface.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdWords.v201809.DraftPage> Google.Api.Ads.AdWords.v201809.DraftService.queryAsync ( string  query)
inlinevirtual

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