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

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

Inheritance diagram for Google.Api.Ads.AdManager.v202305.InventoryService:
Google.Api.Ads.AdManager.v202305.IInventoryService Google.Api.Ads.AdManager.v202305.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.v202305.AdUnit[] 
createAdUnits (Google.Api.Ads.AdManager.v202305.AdUnit[] adUnits)
 Creates new AdUnit objects. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdManager.v202305.AdUnit[]> 
createAdUnitsAsync (Google.Api.Ads.AdManager.v202305.AdUnit[] adUnits)
 
virtual
Google.Api.Ads.AdManager.v202305.AdUnitSize[] 
getAdUnitSizesByStatement (Google.Api.Ads.AdManager.v202305.Statement filterStatement)
 Returns a set of all relevant AdUnitSize objects. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdManager.v202305.AdUnitSize[]> 
getAdUnitSizesByStatementAsync (Google.Api.Ads.AdManager.v202305.Statement filterStatement)
 
virtual
Google.Api.Ads.AdManager.v202305.AdUnitPage 
getAdUnitsByStatement (Google.Api.Ads.AdManager.v202305.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.v202305.AdUnitPage
getAdUnitsByStatementAsync (Google.Api.Ads.AdManager.v202305.Statement filterStatement)
 
virtual
Google.Api.Ads.AdManager.v202305.UpdateResult 
performAdUnitAction (Google.Api.Ads.AdManager.v202305.AdUnitAction adUnitAction, Google.Api.Ads.AdManager.v202305.Statement filterStatement)
 Performs actions on AdUnit objects that match the given Statement::query. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdManager.v202305.UpdateResult
performAdUnitActionAsync (Google.Api.Ads.AdManager.v202305.AdUnitAction adUnitAction, Google.Api.Ads.AdManager.v202305.Statement filterStatement)
 
virtual
Google.Api.Ads.AdManager.v202305.AdUnit[] 
updateAdUnits (Google.Api.Ads.AdManager.v202305.AdUnit[] adUnits)
 Updates the specified AdUnit objects. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdManager.v202305.AdUnit[]> 
updateAdUnitsAsync (Google.Api.Ads.AdManager.v202305.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.v202305.InventoryService.InventoryService ( )
inline

Creates a new instance of the InventoryService class.

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

Creates a new instance of the InventoryService class.

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

Creates a new instance of the InventoryService class.

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

Creates a new instance of the InventoryService class.

Google.Api.Ads.AdManager.v202305.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.v202305.AdUnit [] Google.Api.Ads.AdManager.v202305.InventoryService.createAdUnits ( Google.Api.Ads.AdManager.v202305.AdUnit[]  adUnits)
inlinevirtual
virtual System.Threading.Tasks.Task<Google.Api.Ads.AdManager.v202305.AdUnit[]> Google.Api.Ads.AdManager.v202305.InventoryService.createAdUnitsAsync ( Google.Api.Ads.AdManager.v202305.AdUnit[]  adUnits)
inlinevirtual
virtual Google.Api.Ads.AdManager.v202305.AdUnitPage Google.Api.Ads.AdManager.v202305.InventoryService.getAdUnitsByStatement ( Google.Api.Ads.AdManager.v202305.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.v202305.InventoryServiceInterface.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdManager.v202305.AdUnitPage> Google.Api.Ads.AdManager.v202305.InventoryService.getAdUnitsByStatementAsync ( Google.Api.Ads.AdManager.v202305.Statement  filterStatement)
inlinevirtual
virtual Google.Api.Ads.AdManager.v202305.AdUnitSize [] Google.Api.Ads.AdManager.v202305.InventoryService.getAdUnitSizesByStatement ( Google.Api.Ads.AdManager.v202305.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.v202305.IInventoryService.

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

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

Implements Google.Api.Ads.AdManager.v202305.InventoryServiceInterface.

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

Updates the specified AdUnit objects.

Implements Google.Api.Ads.AdManager.v202305.IInventoryService.

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

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