The number of click-through Cost-Per-Action (CPA) conversions from creatives
associated with the line item. This is only supported as secondary goal and the
LineItem.costType must be CostType.CPA.
VIEW_THROUGH_CPA_CONVERSIONS
The number of view-through Cost-Per-Action (CPA) conversions from creatives
associated with the line item. This is only supported as secondary goal and the
LineItem.costType must be CostType.CPA.
TOTAL_CPA_CONVERSIONS
The number of total Cost-Per-Action (CPA) conversions from creatives
associated with the line item. This is only supported as secondary goal and the
LineItem.costType must be CostType.CPA.
The value returned if the actual value is not exposed by the requested API version.
units
xsd:long
If this is a primary goal, it represents the number or percentage
of impressions or clicks that will be reserved for the
LineItem. If the line item is of
type LineItemType.SPONSORSHIP, it represents the percentage of available
impressions reserved. If the line item is of type
LineItemType.BULK or LineItemType.PRICE_PRIORITY, it represents the number
of remaining impressions reserved. If the line item is of type
LineItemType.NETWORK or LineItemType.HOUSE, it represents the
percentage of remaining impressions reserved.
If this is a secondary 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.secondaryGoals.
[[["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 2024-05-15 UTC."],[[["A Goal defines the delivery criteria a LineItem must meet, such as impressions or clicks, over a specific period like its lifetime or daily."],["Goals can be primary, setting reservation targets, or secondary, acting as delivery limits, with unit types like impressions, clicks, or conversions."],["Goal types include NONE (no goal), LIFETIME, DAILY, and are tied to compatible LineItem types, influencing how units are interpreted."],["The 'units' field represents either the reserved amount (for primary goals) or the stopping point (for secondary goals), depending on the goal and line item type."],["Different UnitTypes like IMPRESSIONS, CLICKS, or CPA conversions are available and have specific requirements based on the line item's settings."]]],["The `Goal` within the `ForecastService` defines the delivery criteria for a `LineItem`. Key actions include setting the `goalType` (`NONE`, `LIFETIME`, `DAILY`), which dictates the goal's timeframe and accepted `LineItemType`. The `unitType` (`IMPRESSIONS`, `CLICKS`, conversions) determines the metric being measured. The `units` field specifies the quantity or percentage of the goal, such as the number of impressions, clicks or conversions, depending on the type of `LineItem`.\n"]]