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

Provides operations for creating, updating and retrieving AdUnit objects. More...

Inheritance diagram for Google.Api.Ads.AdManager.v202311.InventoryService:
Google.Api.Ads.AdManager.v202311.IInventoryService Google.Api.Ads.AdManager.v202311.InventoryServiceInterface

Public Member Functions

 InventoryService ()
 Creates a new instance of the InventoryService class. More...
 
 InventoryService (string endpointConfigurationName)
 Creates a new instance of the InventoryService class. More...
 
 InventoryService (string endpointConfigurationName, string remoteAddress)
 Creates a new instance of the InventoryService class. More...
 
 InventoryService (string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress)
 Creates a new instance of the InventoryService class. More...
 
 InventoryService (System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress)
 Creates a new instance of the InventoryService class. More...
 
virtual
Google.Api.Ads.AdManager.v202311.AdUnit[] 
createAdUnits (Google.Api.Ads.AdManager.v202311.AdUnit[] adUnits)
 Creates new AdUnit objects. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdManager.v202311.AdUnit[]> 
createAdUnitsAsync (Google.Api.Ads.AdManager.v202311.AdUnit[] adUnits)
 
virtual
Google.Api.Ads.AdManager.v202311.AdUnitSize[] 
getAdUnitSizesByStatement (Google.Api.Ads.AdManager.v202311.Statement filterStatement)
 Returns a set of all relevant AdUnitSize objects. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdManager.v202311.AdUnitSize[]> 
getAdUnitSizesByStatementAsync (Google.Api.Ads.AdManager.v202311.Statement filterStatement)
 
virtual
Google.Api.Ads.AdManager.v202311.AdUnitPage 
getAdUnitsByStatement (Google.Api.Ads.AdManager.v202311.Statement filterStatement)
 Gets a AdUnitPage of AdUnit 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.AdUnitPage
getAdUnitsByStatementAsync (Google.Api.Ads.AdManager.v202311.Statement filterStatement)
 
virtual
Google.Api.Ads.AdManager.v202311.UpdateResult 
performAdUnitAction (Google.Api.Ads.AdManager.v202311.AdUnitAction adUnitAction, Google.Api.Ads.AdManager.v202311.Statement filterStatement)
 Performs actions on AdUnit objects that match the given Statement::query. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdManager.v202311.UpdateResult
performAdUnitActionAsync (Google.Api.Ads.AdManager.v202311.AdUnitAction adUnitAction, Google.Api.Ads.AdManager.v202311.Statement filterStatement)
 
virtual
Google.Api.Ads.AdManager.v202311.AdUnit[] 
updateAdUnits (Google.Api.Ads.AdManager.v202311.AdUnit[] adUnits)
 Updates the specified AdUnit objects. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdManager.v202311.AdUnit[]> 
updateAdUnitsAsync (Google.Api.Ads.AdManager.v202311.AdUnit[] adUnits)
 

Detailed Description

Provides operations for creating, updating and retrieving AdUnit objects.

Line items connect a creative with its associated ad unit through targeting.

An ad unit represents a piece of inventory within a publisher. It contains all the settings that need to be associated with the inventory in order to serve ads. For example, the ad unit contains creative size restrictions and AdSense settings.

Constructor & Destructor Documentation

Google.Api.Ads.AdManager.v202311.InventoryService.InventoryService ( )
inline

Creates a new instance of the InventoryService class.

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

Creates a new instance of the InventoryService class.

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

Creates a new instance of the InventoryService class.

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

Creates a new instance of the InventoryService class.

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

Creates a new instance of the InventoryService class.

Member Function Documentation

virtual Google.Api.Ads.AdManager.v202311.AdUnit [] Google.Api.Ads.AdManager.v202311.InventoryService.createAdUnits ( Google.Api.Ads.AdManager.v202311.AdUnit[]  adUnits)
inlinevirtual
virtual System.Threading.Tasks.Task<Google.Api.Ads.AdManager.v202311.AdUnit[]> Google.Api.Ads.AdManager.v202311.InventoryService.createAdUnitsAsync ( Google.Api.Ads.AdManager.v202311.AdUnit[]  adUnits)
inlinevirtual
virtual Google.Api.Ads.AdManager.v202311.AdUnitPage Google.Api.Ads.AdManager.v202311.InventoryService.getAdUnitsByStatement ( Google.Api.Ads.AdManager.v202311.Statement  filterStatement)
inlinevirtual

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

PQL Property Object Property
adUnitCode AdUnit::adUnitCode
id AdUnit::id
name AdUnit::name
parentId AdUnit::parentId
status AdUnit::status
lastModifiedDateTime AdUnit::lastModifiedDateTime

Implements Google.Api.Ads.AdManager.v202311.InventoryServiceInterface.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdManager.v202311.AdUnitPage> Google.Api.Ads.AdManager.v202311.InventoryService.getAdUnitsByStatementAsync ( Google.Api.Ads.AdManager.v202311.Statement  filterStatement)
inlinevirtual
virtual Google.Api.Ads.AdManager.v202311.AdUnitSize [] Google.Api.Ads.AdManager.v202311.InventoryService.getAdUnitSizesByStatement ( Google.Api.Ads.AdManager.v202311.Statement  filterStatement)
inlinevirtual

Returns a set of all relevant AdUnitSize objects.

The given Statement is currently ignored but may be honored in future versions.

Implements Google.Api.Ads.AdManager.v202311.IInventoryService.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdManager.v202311.AdUnitSize[]> Google.Api.Ads.AdManager.v202311.InventoryService.getAdUnitSizesByStatementAsync ( Google.Api.Ads.AdManager.v202311.Statement  filterStatement)
inlinevirtual
virtual Google.Api.Ads.AdManager.v202311.UpdateResult Google.Api.Ads.AdManager.v202311.InventoryService.performAdUnitAction ( Google.Api.Ads.AdManager.v202311.AdUnitAction  adUnitAction,
Google.Api.Ads.AdManager.v202311.Statement  filterStatement 
)
inlinevirtual

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

Implements Google.Api.Ads.AdManager.v202311.InventoryServiceInterface.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdManager.v202311.UpdateResult> Google.Api.Ads.AdManager.v202311.InventoryService.performAdUnitActionAsync ( Google.Api.Ads.AdManager.v202311.AdUnitAction  adUnitAction,
Google.Api.Ads.AdManager.v202311.Statement  filterStatement 
)
inlinevirtual
virtual Google.Api.Ads.AdManager.v202311.AdUnit [] Google.Api.Ads.AdManager.v202311.InventoryService.updateAdUnits ( Google.Api.Ads.AdManager.v202311.AdUnit[]  adUnits)
inlinevirtual

Updates the specified AdUnit objects.

Implements Google.Api.Ads.AdManager.v202311.IInventoryService.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdManager.v202311.AdUnit[]> Google.Api.Ads.AdManager.v202311.InventoryService.updateAdUnitsAsync ( Google.Api.Ads.AdManager.v202311.AdUnit[]  adUnits)
inlinevirtual

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