Ads API .NET library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Google.Api.Ads.AdManager.v202111.CreativeService Class Reference

Provides methods for adding, updating and retrieving Creative objects. More...

Inheritance diagram for Google.Api.Ads.AdManager.v202111.CreativeService:
Google.Api.Ads.AdManager.v202111.ICreativeService Google.Api.Ads.AdManager.v202111.CreativeServiceInterface

Public Member Functions

 CreativeService ()
 Creates a new instance of the CreativeService class. More...
 
 CreativeService (string endpointConfigurationName)
 Creates a new instance of the CreativeService class. More...
 
 CreativeService (string endpointConfigurationName, string remoteAddress)
 Creates a new instance of the CreativeService class. More...
 
 CreativeService (string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress)
 Creates a new instance of the CreativeService class. More...
 
 CreativeService (System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress)
 Creates a new instance of the CreativeService class. More...
 
virtual
Google.Api.Ads.AdManager.v202111.Creative[] 
createCreatives (Google.Api.Ads.AdManager.v202111.Creative[] creatives)
 Creates new Creative objects. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdManager.v202111.Creative[]> 
createCreativesAsync (Google.Api.Ads.AdManager.v202111.Creative[] creatives)
 
virtual
Google.Api.Ads.AdManager.v202111.CreativePage 
getCreativesByStatement (Google.Api.Ads.AdManager.v202111.Statement filterStatement)
 Gets a CreativePage of Creative objects that satisfy the given Statement::query. The following fields are supported for filtering: More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdManager.v202111.CreativePage
getCreativesByStatementAsync (Google.Api.Ads.AdManager.v202111.Statement filterStatement)
 
virtual
Google.Api.Ads.AdManager.v202111.UpdateResult 
performCreativeAction (Google.Api.Ads.AdManager.v202111.CreativeAction creativeAction, Google.Api.Ads.AdManager.v202111.Statement filterStatement)
 Performs action on Creative objects that match the given Statement::query. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdManager.v202111.UpdateResult
performCreativeActionAsync (Google.Api.Ads.AdManager.v202111.CreativeAction creativeAction, Google.Api.Ads.AdManager.v202111.Statement filterStatement)
 
virtual
Google.Api.Ads.AdManager.v202111.Creative[] 
updateCreatives (Google.Api.Ads.AdManager.v202111.Creative[] creatives)
 Updates the specified Creative objects. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdManager.v202111.Creative[]> 
updateCreativesAsync (Google.Api.Ads.AdManager.v202111.Creative[] creatives)
 

Detailed Description

Provides methods for adding, updating and retrieving Creative objects.

For a creative to run, it must be associated with a LineItem managed by the LineItemCreativeAssociationService.

Read more about creatives on the DFP Help Center.

Constructor & Destructor Documentation

Google.Api.Ads.AdManager.v202111.CreativeService.CreativeService ( )
inline

Creates a new instance of the CreativeService class.

Google.Api.Ads.AdManager.v202111.CreativeService.CreativeService ( string  endpointConfigurationName)
inline

Creates a new instance of the CreativeService class.

Google.Api.Ads.AdManager.v202111.CreativeService.CreativeService ( string  endpointConfigurationName,
string  remoteAddress 
)
inline

Creates a new instance of the CreativeService class.

Google.Api.Ads.AdManager.v202111.CreativeService.CreativeService ( string  endpointConfigurationName,
System.ServiceModel.EndpointAddress  remoteAddress 
)
inline

Creates a new instance of the CreativeService class.

Google.Api.Ads.AdManager.v202111.CreativeService.CreativeService ( System.ServiceModel.Channels.Binding  binding,
System.ServiceModel.EndpointAddress  remoteAddress 
)
inline

Creates a new instance of the CreativeService class.

Member Function Documentation

virtual Google.Api.Ads.AdManager.v202111.Creative [] Google.Api.Ads.AdManager.v202111.CreativeService.createCreatives ( Google.Api.Ads.AdManager.v202111.Creative[]  creatives)
inlinevirtual

Creates new Creative objects.

Parameters
creativesthe creatives to create
Returns
the created creatives with their IDs filled in

Implements Google.Api.Ads.AdManager.v202111.ICreativeService.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdManager.v202111.Creative[]> Google.Api.Ads.AdManager.v202111.CreativeService.createCreativesAsync ( Google.Api.Ads.AdManager.v202111.Creative[]  creatives)
inlinevirtual
virtual Google.Api.Ads.AdManager.v202111.CreativePage Google.Api.Ads.AdManager.v202111.CreativeService.getCreativesByStatement ( Google.Api.Ads.AdManager.v202111.Statement  filterStatement)
inlinevirtual

Gets a CreativePage of Creative objects that satisfy the given Statement::query. The following fields are supported for filtering:

PQL Property Object Property
id Creative::id
name Creative::name
advertiserId Creative::advertiserId
width Creative::size
height Creative::size
lastModifiedDateTime Creative::lastModifiedDateTime
Parameters
filterStatementa Publisher Query Language statement used to filter a set of creatives
Returns
the creatives that match the given filter

Implements Google.Api.Ads.AdManager.v202111.CreativeServiceInterface.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdManager.v202111.CreativePage> Google.Api.Ads.AdManager.v202111.CreativeService.getCreativesByStatementAsync ( Google.Api.Ads.AdManager.v202111.Statement  filterStatement)
inlinevirtual
virtual Google.Api.Ads.AdManager.v202111.UpdateResult Google.Api.Ads.AdManager.v202111.CreativeService.performCreativeAction ( Google.Api.Ads.AdManager.v202111.CreativeAction  creativeAction,
Google.Api.Ads.AdManager.v202111.Statement  filterStatement 
)
inlinevirtual

Performs action on Creative objects that match the given Statement::query.

Parameters
creativeActionthe action to perform
filterStatementa Publisher Query Language statement used to filter a set of creatives
Returns
the result of the action performed

Implements Google.Api.Ads.AdManager.v202111.CreativeServiceInterface.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdManager.v202111.UpdateResult> Google.Api.Ads.AdManager.v202111.CreativeService.performCreativeActionAsync ( Google.Api.Ads.AdManager.v202111.CreativeAction  creativeAction,
Google.Api.Ads.AdManager.v202111.Statement  filterStatement 
)
inlinevirtual
virtual Google.Api.Ads.AdManager.v202111.Creative [] Google.Api.Ads.AdManager.v202111.CreativeService.updateCreatives ( Google.Api.Ads.AdManager.v202111.Creative[]  creatives)
inlinevirtual

Updates the specified Creative objects.

Parameters
creativesthe creatives to update
Returns
the updated creatives

Implements Google.Api.Ads.AdManager.v202111.ICreativeService.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdManager.v202111.Creative[]> Google.Api.Ads.AdManager.v202111.CreativeService.updateCreativesAsync ( Google.Api.Ads.AdManager.v202111.Creative[]  creatives)
inlinevirtual

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