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

Provides methods for the creation and management of Labels. More...

Inheritance diagram for Google.Api.Ads.AdManager.v202208.LabelService:
Google.Api.Ads.AdManager.v202208.ILabelService Google.Api.Ads.AdManager.v202208.LabelServiceInterface

Public Member Functions

 LabelService ()
 Creates a new instance of the LabelService class. More...
 
 LabelService (string endpointConfigurationName)
 Creates a new instance of the LabelService class. More...
 
 LabelService (string endpointConfigurationName, string remoteAddress)
 Creates a new instance of the LabelService class. More...
 
 LabelService (string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress)
 Creates a new instance of the LabelService class. More...
 
 LabelService (System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress)
 Creates a new instance of the LabelService class. More...
 
virtual
Google.Api.Ads.AdManager.v202208.Label[] 
createLabels (Google.Api.Ads.AdManager.v202208.Label[] labels)
 Creates new Label objects. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdManager.v202208.Label[]> 
createLabelsAsync (Google.Api.Ads.AdManager.v202208.Label[] labels)
 
virtual
Google.Api.Ads.AdManager.v202208.LabelPage 
getLabelsByStatement (Google.Api.Ads.AdManager.v202208.Statement filterStatement)
 Gets a LabelPage of Label 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.LabelPage
getLabelsByStatementAsync (Google.Api.Ads.AdManager.v202208.Statement filterStatement)
 
virtual
Google.Api.Ads.AdManager.v202208.UpdateResult 
performLabelAction (Google.Api.Ads.AdManager.v202208.LabelAction labelAction, Google.Api.Ads.AdManager.v202208.Statement filterStatement)
 Performs actions on Label objects that match the given Statement::query. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdManager.v202208.UpdateResult
performLabelActionAsync (Google.Api.Ads.AdManager.v202208.LabelAction labelAction, Google.Api.Ads.AdManager.v202208.Statement filterStatement)
 
virtual
Google.Api.Ads.AdManager.v202208.Label[] 
updateLabels (Google.Api.Ads.AdManager.v202208.Label[] labels)
 Updates the specified Label objects. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdManager.v202208.Label[]> 
updateLabelsAsync (Google.Api.Ads.AdManager.v202208.Label[] labels)
 

Detailed Description

Provides methods for the creation and management of Labels.

Constructor & Destructor Documentation

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

Creates a new instance of the LabelService class.

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

Creates a new instance of the LabelService class.

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

Creates a new instance of the LabelService class.

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

Creates a new instance of the LabelService class.

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

Creates a new instance of the LabelService class.

Member Function Documentation

virtual Google.Api.Ads.AdManager.v202208.Label [] Google.Api.Ads.AdManager.v202208.LabelService.createLabels ( Google.Api.Ads.AdManager.v202208.Label[]  labels)
inlinevirtual

Creates new Label objects.

Parameters
labelsthe labels to create
Returns
the created labels with their IDs filled in

Implements Google.Api.Ads.AdManager.v202208.ILabelService.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdManager.v202208.Label[]> Google.Api.Ads.AdManager.v202208.LabelService.createLabelsAsync ( Google.Api.Ads.AdManager.v202208.Label[]  labels)
inlinevirtual
virtual Google.Api.Ads.AdManager.v202208.LabelPage Google.Api.Ads.AdManager.v202208.LabelService.getLabelsByStatement ( Google.Api.Ads.AdManager.v202208.Statement  filterStatement)
inlinevirtual

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

PQL Property Object Property
id Label::id
type Label::type
name Label::name
description Label::description
isActive Label::isActive
Parameters
filterStatementa Publisher Query Language statement used to filter a set of labels.
Returns
the labels that match the given filter

Implements Google.Api.Ads.AdManager.v202208.LabelServiceInterface.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdManager.v202208.LabelPage> Google.Api.Ads.AdManager.v202208.LabelService.getLabelsByStatementAsync ( Google.Api.Ads.AdManager.v202208.Statement  filterStatement)
inlinevirtual
virtual Google.Api.Ads.AdManager.v202208.UpdateResult Google.Api.Ads.AdManager.v202208.LabelService.performLabelAction ( Google.Api.Ads.AdManager.v202208.LabelAction  labelAction,
Google.Api.Ads.AdManager.v202208.Statement  filterStatement 
)
inlinevirtual

Performs actions on Label objects that match the given Statement::query.

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

Implements Google.Api.Ads.AdManager.v202208.LabelServiceInterface.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdManager.v202208.UpdateResult> Google.Api.Ads.AdManager.v202208.LabelService.performLabelActionAsync ( Google.Api.Ads.AdManager.v202208.LabelAction  labelAction,
Google.Api.Ads.AdManager.v202208.Statement  filterStatement 
)
inlinevirtual
virtual Google.Api.Ads.AdManager.v202208.Label [] Google.Api.Ads.AdManager.v202208.LabelService.updateLabels ( Google.Api.Ads.AdManager.v202208.Label[]  labels)
inlinevirtual

Updates the specified Label objects.

Parameters
labelsthe labels to update
Returns
the updated labels

Implements Google.Api.Ads.AdManager.v202208.ILabelService.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdManager.v202208.Label[]> Google.Api.Ads.AdManager.v202208.LabelService.updateLabelsAsync ( Google.Api.Ads.AdManager.v202208.Label[]  labels)
inlinevirtual

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