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

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

Inheritance diagram for Google.Api.Ads.AdManager.v202311.PlacementService:
Google.Api.Ads.AdManager.v202311.IPlacementService Google.Api.Ads.AdManager.v202311.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.v202311.Placement[] 
createPlacements (Google.Api.Ads.AdManager.v202311.Placement[] placements)
 Creates new Placement objects. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdManager.v202311.Placement[]> 
createPlacementsAsync (Google.Api.Ads.AdManager.v202311.Placement[] placements)
 
virtual
Google.Api.Ads.AdManager.v202311.PlacementPage 
getPlacementsByStatement (Google.Api.Ads.AdManager.v202311.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.v202311.PlacementPage
getPlacementsByStatementAsync (Google.Api.Ads.AdManager.v202311.Statement filterStatement)
 
virtual
Google.Api.Ads.AdManager.v202311.UpdateResult 
performPlacementAction (Google.Api.Ads.AdManager.v202311.PlacementAction placementAction, Google.Api.Ads.AdManager.v202311.Statement filterStatement)
 Performs actions on Placement objects that match the given Statement::query. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdManager.v202311.UpdateResult
performPlacementActionAsync (Google.Api.Ads.AdManager.v202311.PlacementAction placementAction, Google.Api.Ads.AdManager.v202311.Statement filterStatement)
 
virtual
Google.Api.Ads.AdManager.v202311.Placement[] 
updatePlacements (Google.Api.Ads.AdManager.v202311.Placement[] placements)
 Updates the specified Placement objects. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdManager.v202311.Placement[]> 
updatePlacementsAsync (Google.Api.Ads.AdManager.v202311.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.v202311.PlacementService.PlacementService ( )
inline

Creates a new instance of the PlacementService class.

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

Creates a new instance of the PlacementService class.

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

Creates a new instance of the PlacementService class.

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

Creates a new instance of the PlacementService class.

Google.Api.Ads.AdManager.v202311.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.v202311.Placement [] Google.Api.Ads.AdManager.v202311.PlacementService.createPlacements ( Google.Api.Ads.AdManager.v202311.Placement[]  placements)
inlinevirtual
virtual System.Threading.Tasks.Task<Google.Api.Ads.AdManager.v202311.Placement[]> Google.Api.Ads.AdManager.v202311.PlacementService.createPlacementsAsync ( Google.Api.Ads.AdManager.v202311.Placement[]  placements)
inlinevirtual
virtual Google.Api.Ads.AdManager.v202311.PlacementPage Google.Api.Ads.AdManager.v202311.PlacementService.getPlacementsByStatement ( Google.Api.Ads.AdManager.v202311.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

Implements Google.Api.Ads.AdManager.v202311.PlacementServiceInterface.

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

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

Implements Google.Api.Ads.AdManager.v202311.PlacementServiceInterface.

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

Updates the specified Placement objects.

Implements Google.Api.Ads.AdManager.v202311.IPlacementService.

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

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