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

Service for retrieving Content. More...

Inheritance diagram for Google.Api.Ads.AdManager.v202208.ContentService:
Google.Api.Ads.AdManager.v202208.IContentService Google.Api.Ads.AdManager.v202208.ContentServiceInterface

Public Member Functions

 ContentService ()
 Creates a new instance of the ContentService class. More...
 
 ContentService (string endpointConfigurationName)
 Creates a new instance of the ContentService class. More...
 
 ContentService (string endpointConfigurationName, string remoteAddress)
 Creates a new instance of the ContentService class. More...
 
 ContentService (string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress)
 Creates a new instance of the ContentService class. More...
 
 ContentService (System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress)
 Creates a new instance of the ContentService class. More...
 
virtual
Google.Api.Ads.AdManager.v202208.ContentPage 
getContentByStatement (Google.Api.Ads.AdManager.v202208.Statement statement)
 Gets a ContentPage of Content objects that satisfy the given Statement::query. The following fields are supported for filtering: More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdManager.v202208.ContentPage
getContentByStatementAsync (Google.Api.Ads.AdManager.v202208.Statement statement)
 

Detailed Description

Service for retrieving Content.

Content entities can be targeted in video LineItems.

You can query for content that belongs to a particular category or has assigned metadata. Categories and metadata for are stored in DFP as CustomCriteria.

For example, to find all Content that is "genre=comedy", you would:

Constructor & Destructor Documentation

Google.Api.Ads.AdManager.v202208.ContentService.ContentService ( )
inline

Creates a new instance of the ContentService class.

Google.Api.Ads.AdManager.v202208.ContentService.ContentService ( string  endpointConfigurationName)
inline

Creates a new instance of the ContentService class.

Google.Api.Ads.AdManager.v202208.ContentService.ContentService ( string  endpointConfigurationName,
string  remoteAddress 
)
inline

Creates a new instance of the ContentService class.

Google.Api.Ads.AdManager.v202208.ContentService.ContentService ( string  endpointConfigurationName,
System.ServiceModel.EndpointAddress  remoteAddress 
)
inline

Creates a new instance of the ContentService class.

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

Creates a new instance of the ContentService class.

Member Function Documentation

virtual Google.Api.Ads.AdManager.v202208.ContentPage Google.Api.Ads.AdManager.v202208.ContentService.getContentByStatement ( Google.Api.Ads.AdManager.v202208.Statement  statement)
inlinevirtual

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

PQL Property Object Property
id Content::id
status Content::status
name Content::name
lastModifiedDateTime Content::lastModifiedDateTime
lastDaiIngestDateTime Content::lastDaiIngestDateTime
daiIngestStatus Content::daiIngestStatus
Parameters
statementa Publisher Query Language statement used to filter a set of content
Returns
the content that matches the given filter

Implements Google.Api.Ads.AdManager.v202208.ContentServiceInterface.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdManager.v202208.ContentPage> Google.Api.Ads.AdManager.v202208.ContentService.getContentByStatementAsync ( Google.Api.Ads.AdManager.v202208.Statement  statement)
inlinevirtual

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