type InventoryTargeting (v202508)

  • InventoryTargeting is a collection of targeted and excluded ad units and placements.

  • It can be used with various services including AdRuleService, AdjustmentService, and NativeStyleService.

  • InventoryTargeting contains fields for targetedAdUnits, excludedAdUnits, and targetedPlacementIds.

A collection of targeted and excluded ad units and placements.


Namespace
https://www.google.com/apis/ads/publisher/v202508

Field

targetedAdUnits

AdUnitTargeting[]

A list of targeted AdUnitTargeting.

excludedAdUnits

AdUnitTargeting[]

A list of excluded AdUnitTargeting.

targetedPlacementIds

xsd:long[]

A list of targeted Placement ids.