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."],[[["\u003cp\u003eThis document details the \u003ccode\u003eGoalOrBuilder\u003c/code\u003e interface within the Google Ad Manager Java library, specifically version 0.6.0, which extends \u003ccode\u003eMessageOrBuilder\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGoalOrBuilder\u003c/code\u003e interface is utilized to define goals for a \u003ccode\u003eLineItem\u003c/code\u003e, indicating the duration to reach the goal, and the document outlines the different versions available from 0.1.0 up to 0.19.0.\u003c/p\u003e\n"],["\u003cp\u003eThe interface includes methods such as \u003ccode\u003egetGoalType()\u003c/code\u003e and \u003ccode\u003egetGoalTypeValue()\u003c/code\u003e to determine the type of goal for the \u003ccode\u003eLineItem\u003c/code\u003e, defining the period over which the goal should be reached, and these values are represented by a \u003ccode\u003eGoalTypeEnum.GoalType\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eMethods \u003ccode\u003egetUnitType()\u003c/code\u003e and \u003ccode\u003egetUnitTypeValue()\u003c/code\u003e determine the goal unit type, and these values are represented by a \u003ccode\u003eUnitTypeEnum.UnitType\u003c/code\u003e, and \u003ccode\u003egetUnits()\u003c/code\u003e represents the number of impressions, clicks, or percentage reserved, depending on the \u003ccode\u003eLineItem\u003c/code\u003e type.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple documented return types for each method, including both custom types, such as \u003ccode\u003eGoalTypeEnum.GoalType\u003c/code\u003e, and primitive types, such as int and long, each with specific descriptions and explanations of what they represent.\u003c/p\u003e\n"]]],[],null,[]]