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

AdService is used to update Ads. Ads are created using the More...

Inheritance diagram for Google.Api.Ads.AdWords.v201809.AdService:
Google.Api.Ads.AdWords.v201809.IAdService Google.Api.Ads.AdWords.v201809.AdServiceInterface

Public Member Functions

 AdService ()
 Creates a new instance of the AdService class. More...
 
 AdService (string endpointConfigurationName)
 Creates a new instance of the AdService class. More...
 
 AdService (string endpointConfigurationName, string remoteAddress)
 Creates a new instance of the AdService class. More...
 
 AdService (string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress)
 Creates a new instance of the AdService class. More...
 
 AdService (System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress)
 Creates a new instance of the AdService class. More...
 
virtual
Google.Api.Ads.AdWords.v201809.AdPage 
get (Google.Api.Ads.AdWords.v201809.Selector serviceSelector)
 Returns a list of Ads. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdWords.v201809.AdPage
getAsync (Google.Api.Ads.AdWords.v201809.Selector serviceSelector)
 
virtual
Google.Api.Ads.AdWords.v201809.AdReturnValue 
mutate (Google.Api.Ads.AdWords.v201809.AdOperation[] operations)
 Applies the list of mutate operations. For AdService, only SET operations are allowed. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdWords.v201809.AdReturnValue
mutateAsync (Google.Api.Ads.AdWords.v201809.AdOperation[] operations)
 

Detailed Description

AdService is used to update Ads. Ads are created using the

AdGroupAdService at the same time they are associated with an AdGroup, but Ads are mutated using AdService.

Constructor & Destructor Documentation

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

Creates a new instance of the AdService class.

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

Creates a new instance of the AdService class.

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

Creates a new instance of the AdService class.

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

Creates a new instance of the AdService class.

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

Creates a new instance of the AdService class.

Member Function Documentation

virtual Google.Api.Ads.AdWords.v201809.AdPage Google.Api.Ads.AdWords.v201809.AdService.get ( Google.Api.Ads.AdWords.v201809.Selector  serviceSelector)
inlinevirtual

Returns a list of Ads.

Parameters
serviceSelectorThe selector specifying the Ads to return.
Returns
The page containing the Ads that meet the criteria specified by the selector.
Exceptions
ApiExceptionwhen there is at least one error with the request.

Implements Google.Api.Ads.AdWords.v201809.AdServiceInterface.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdWords.v201809.AdPage> Google.Api.Ads.AdWords.v201809.AdService.getAsync ( Google.Api.Ads.AdWords.v201809.Selector  serviceSelector)
inlinevirtual
virtual Google.Api.Ads.AdWords.v201809.AdReturnValue Google.Api.Ads.AdWords.v201809.AdService.mutate ( Google.Api.Ads.AdWords.v201809.AdOperation[]  operations)
inlinevirtual

Applies the list of mutate operations. For AdService, only SET operations are allowed.

Parameters
operationsThe operations to apply.
Returns
A list of {
applying the operation in the input list with the same index. The returned Ads will be what is saved.

Implements Google.Api.Ads.AdWords.v201809.IAdService.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdWords.v201809.AdReturnValue> Google.Api.Ads.AdWords.v201809.AdService.mutateAsync ( Google.Api.Ads.AdWords.v201809.AdOperation[]  operations)
inlinevirtual

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