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-07-18 UTC."],[[["The document details the `Goal` class in version 0.8.0 of the Google Ad Manager API for Java, which extends `GeneratedMessageV3` and implements `GoalOrBuilder`."],["`Goal` defines the criteria a `LineItem` must meet to fulfill its delivery objectives, representing the number or percentage of impressions or clicks that will be reserved."],["The document lists several static methods for creating, parsing, and managing `Goal` objects, including methods to parse from various data types like byte arrays, ByteString, CodedInputStream, and InputStreams."],["The class includes methods to get the `GoalType`, `UnitType`, and the number of units, along with other utility methods such as `equals`, `hashCode`, `getSerializedSize`, and methods related to builders and parsers."],["The document provides details on the inheritance hierarchy of the `Goal` class and the static field numbers for `GOAL_TYPE`, `UNITS`, and `UNIT_TYPE`."]]],[]]