enum AdSpotTargetingType (v202502)
Stay organized with collections
Save and categorize content based on your preferences.
Defines the targeting behavior of an ad spot.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202502
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.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-06 UTC.
[null,null,["Last updated 2025-08-06 UTC."],[],["The `AdSpotTargetingType` enumeration defines how ad spots are targeted. `NOT_REQUIRED` allows line items without explicit targeting to serve. `EXPLICITLY_TARGETED` permits only explicitly targeted line items. `EXPLICITLY_TARGETED_EXCEPT_HOUSE` allows house ads regardless of targeting, but requires other reservation types to be explicitly targeted. `UNKNOWN` is for cases where the API version doesn't expose the actual value. This functionality is within the `AdRuleService` and relates to the `AdSpot`.\n"],null,["# enum AdSpotTargetingType (v202502)\n\n**Service** \n**AdRuleService** **Dependencies** \n[AdSpot](/ad-manager/api/reference/v202502/AdRuleService.AdSpot) \n▼\n**AdSpotTargetingType**\n\nDefines the targeting behavior of an ad spot.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202502`\n\n| Enumeration | Description |\n|------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `NOT_REQUIRED` | Line items not targeting this ad spot explicitly may serve in it. |\n| `EXPLICITLY_TARGETED` | Only line items targeting this ad spots explicitly may serve in it |\n| `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. |\n| `UNKNOWN` | The value returned if the actual value is not exposed by the requested API version. |"]]