enum AdUnit.TargetWindow (v202502)
Stay organized with collections
Save and categorize content based on your preferences.
Corresponds to an HTML link's target
attribute.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202502
Enumeration |
Description |
TOP
|
Specifies that the link should open in the full body of the page.
|
BLANK
|
Specifies that the link should open in a new window.
|
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 content defines `AdUnit.TargetWindow`, which relates to an HTML link's `target` attribute, found within the `InventoryService`. Two enumeration values are provided: `TOP`, which opens the link in the page's full body, and `BLANK`, which opens the link in a new window. This information is within the `https://www.google.com/apis/ads/publisher/v202502` namespace and has `SuggestedAdUnitService` as a dependency.\n"],null,["# enum AdUnit.TargetWindow (v202502)\n\n**Service** \n[InventoryService](/ad-manager/api/reference/v202502/InventoryService.AdUnit.TargetWindow) **SuggestedAdUnitService** **Dependencies** \n[SuggestedAdUnit](/ad-manager/api/reference/v202502/SuggestedAdUnitService.SuggestedAdUnit) \n▼\n**AdUnit.TargetWindow**\n\nCorresponds to an HTML link's `target` attribute.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202502`\n\n| Enumeration | Description |\n|-------------|-------------------------------------------------------------------|\n| `TOP` | Specifies that the link should open in the full body of the page. |\n| `BLANK` | Specifies that the link should open in a new window. |"]]