If this is a primary goal, it represents the number or percentage of
impressions or clicks that will be reserved. If the line item is of type
LineItemTypeEnum.LineItemType.SPONSORSHIP,
it represents the percentage of available impressions reserved. If the line
item is of type
LineItemTypeEnum.LineItemType.BULK
or
LineItemTypeEnum.LineItemType.PRICE_PRIORITY,
it represents the number of remaining impressions reserved. If the line
item is of type
LineItemTypeEnum.LineItemType.NETWORK
or
LineItemTypeEnum.LineItemType.HOUSE,
it represents the percentage of remaining impressions reserved. <p>If this
is an impression cap goal, it represents the number of impressions or
conversions that the line item will stop serving at if reached. For valid
line item types, see [LineItem.impressions_cap][].
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-15 UTC."],[[["This page details the `Goal` class within version 0.4.0 of the Google Ad Manager API for Java, which extends `GeneratedMessageV3` and is used to define delivery criteria for `LineItem` objects."],["The `Goal` class allows users to specify the `goal_type` and `unit_type`, as well as the number of `units` needed to meet delivery objectives."],["The content outlines a variety of methods available for the `Goal` class, including parsing data from various input sources, and provides static methods for creating instances and getting default configurations."],["The document lists the available versions of the `Goal` class, ranging from version 0.1.0 to 0.19.0, with 0.19.0 marked as the latest version."],["The page describes the `Goal` object's inheritance hierarchy and the various inherited methods and functionality it brings from `Object`, `AbstractMessageLite`, `AbstractMessage`, and `GeneratedMessageV3`."]]],[]]