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

Provides methods for creating, updating and retrieving Placement objects. More...

Inheritance diagram for Google.Api.Ads.AdManager.v202208.PlacementService:
Google.Api.Ads.AdManager.v202208.IPlacementService Google.Api.Ads.AdManager.v202208.PlacementServiceInterface

Public Member Functions

 PlacementService ()
 Creates a new instance of the PlacementService class. More...
 
 PlacementService (string endpointConfigurationName)
 Creates a new instance of the PlacementService class. More...
 
 PlacementService (string endpointConfigurationName, string remoteAddress)
 Creates a new instance of the PlacementService class. More...
 
 PlacementService (string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress)
 Creates a new instance of the PlacementService class. More...
 
 PlacementService (System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress)
 Creates a new instance of the PlacementService class. More...
 
virtual
Google.Api.Ads.AdManager.v202208.Placement[] 
createPlacements (Google.Api.Ads.AdManager.v202208.Placement[] placements)
 Creates new Placement objects. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdManager.v202208.Placement[]> 
createPlacementsAsync (Google.Api.Ads.AdManager.v202208.Placement[] placements)
 
virtual
Google.Api.Ads.AdManager.v202208.PlacementPage 
getPlacementsByStatement (Google.Api.Ads.AdManager.v202208.Statement filterStatement)
 Gets a PlacementPage of Placement 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.PlacementPage
getPlacementsByStatementAsync (Google.Api.Ads.AdManager.v202208.Statement filterStatement)
 
virtual
Google.Api.Ads.AdManager.v202208.UpdateResult 
performPlacementAction (Google.Api.Ads.AdManager.v202208.PlacementAction placementAction, Google.Api.Ads.AdManager.v202208.Statement filterStatement)
 Performs actions on Placement objects that match the given Statement::query. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdManager.v202208.UpdateResult
performPlacementActionAsync (Google.Api.Ads.AdManager.v202208.PlacementAction placementAction, Google.Api.Ads.AdManager.v202208.Statement filterStatement)
 
virtual
Google.Api.Ads.AdManager.v202208.Placement[] 
updatePlacements (Google.Api.Ads.AdManager.v202208.Placement[] placements)
 Updates the specified Placement objects. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdManager.v202208.Placement[]> 
updatePlacementsAsync (Google.Api.Ads.AdManager.v202208.Placement[] placements)
 

Detailed Description

Provides methods for creating, updating and retrieving Placement objects.

You can use a placement to group ad units. For example, you might have a placement that focuses on sports sites, which may be spread across different branches of your inventory. You might also have a "fire sale" placement that includes ad units that have not been selling and are consequently priced very attractively.

Constructor & Destructor Documentation

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

Creates a new instance of the PlacementService class.

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

Creates a new instance of the PlacementService class.

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

Creates a new instance of the PlacementService class.

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

Creates a new instance of the PlacementService class.

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

Creates a new instance of the PlacementService class.

Member Function Documentation

virtual Google.Api.Ads.AdManager.v202208.Placement [] Google.Api.Ads.AdManager.v202208.PlacementService.createPlacements ( Google.Api.Ads.AdManager.v202208.Placement[]  placements)
inlinevirtual

Creates new Placement objects.

Parameters
placementsthe placements to create
Returns
the new placements, with their IDs filled in

Implements Google.Api.Ads.AdManager.v202208.IPlacementService.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdManager.v202208.Placement[]> Google.Api.Ads.AdManager.v202208.PlacementService.createPlacementsAsync ( Google.Api.Ads.AdManager.v202208.Placement[]  placements)
inlinevirtual
virtual Google.Api.Ads.AdManager.v202208.PlacementPage Google.Api.Ads.AdManager.v202208.PlacementService.getPlacementsByStatement ( Google.Api.Ads.AdManager.v202208.Statement  filterStatement)
inlinevirtual

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

PQL Property Object Property
description Placement::description
id Placement::id
name Placement::name
placementCode Placement::placementCode
status Placement::status
lastModifiedDateTime Placement::lastModifiedDateTime
Parameters
filterStatementa Publisher Query Language statement used to filter a set of placements
Returns
the placements that match the given filter

Implements Google.Api.Ads.AdManager.v202208.PlacementServiceInterface.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdManager.v202208.PlacementPage> Google.Api.Ads.AdManager.v202208.PlacementService.getPlacementsByStatementAsync ( Google.Api.Ads.AdManager.v202208.Statement  filterStatement)
inlinevirtual
virtual Google.Api.Ads.AdManager.v202208.UpdateResult Google.Api.Ads.AdManager.v202208.PlacementService.performPlacementAction ( Google.Api.Ads.AdManager.v202208.PlacementAction  placementAction,
Google.Api.Ads.AdManager.v202208.Statement  filterStatement 
)
inlinevirtual

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

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

Implements Google.Api.Ads.AdManager.v202208.PlacementServiceInterface.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdManager.v202208.UpdateResult> Google.Api.Ads.AdManager.v202208.PlacementService.performPlacementActionAsync ( Google.Api.Ads.AdManager.v202208.PlacementAction  placementAction,
Google.Api.Ads.AdManager.v202208.Statement  filterStatement 
)
inlinevirtual
virtual Google.Api.Ads.AdManager.v202208.Placement [] Google.Api.Ads.AdManager.v202208.PlacementService.updatePlacements ( Google.Api.Ads.AdManager.v202208.Placement[]  placements)
inlinevirtual

Updates the specified Placement objects.

Parameters
placementsthe placements to update
Returns
the updated placements

Implements Google.Api.Ads.AdManager.v202208.IPlacementService.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdManager.v202208.Placement[]> Google.Api.Ads.AdManager.v202208.PlacementService.updatePlacementsAsync ( Google.Api.Ads.AdManager.v202208.Placement[]  placements)
inlinevirtual

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