enum AdSpotTargetingType (v202411)

  • AdRuleService defines how ads are targeted within ad spots using AdSpotTargetingType.

  • AdSpotTargetingType dictates whether line items need to specifically target an ad spot to serve ads.

  • It offers three main targeting options: allowing all line items, requiring explicit targeting, or a combination of both with exceptions for house ads.

  • This service is part of the Google Ad Manager API and uses a specific namespace for identification.

Defines the targeting behavior of an ad spot.


Namespace
https://www.google.com/apis/ads/publisher/v202411
Enumeration Description
NOT_REQUIRED Line items not targeting this ad spot explicitly may serve in it.
EXPLICITLY_TARGETED Only line items targeting this ad spots explicitly may serve in it
EXPLICITLY_TARGETED_EXCEPT_HOUSE If house ads are an allowed reservation type, they may serve in the ad spot regardless of whether they explicitly target it. Ads of other reservation types (whose type is allowed in the ad spot), may serve in the ad spot only if explicitly targeted.
UNKNOWN The value returned if the actual value is not exposed by the requested API version.