Join us live on
Discord on the Google Advertising and Measurement Community server and on
YouTube on July 23rd at 10:00 AM EST! We will discuss the new features added in v25 of the Google Ads API.
TargetImpressionShareLocation
Stay organized with collections
Save and categorize content based on your preferences.
outlined_flag
The content provides an enumeration of possible goals related to web page locations for ads.
Possible goals include unspecified, unknown, anywhere on the page, top of the page, and absolute top of the page.
Each enum describes a specific location or state related to ad placement.
Enums
ABSOLUTE_TOP_OF_PAGE
Top slot in the top box of ads.
ANYWHERE_ON_PAGE
Any location on the web page.
TOP_OF_PAGE
Top box of ads.
UNKNOWN
Used for return value only. Represents value unknown in this version.
UNSPECIFIED
Not specified.
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 2026-02-23 UTC.
[null,null,["Last updated 2026-02-23 UTC."],[],[]]