enum GoalType (v202408)
Stay organized with collections
Save and categorize content based on your preferences.
Specifies the type of the goal for a LineItem.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202408
Enumeration |
Description |
NONE
|
No goal is specified for the number of ads delivered. The
LineItem.lineItemType must be one of:
|
LIFETIME
|
There is a goal on the number of ads delivered for this line item during
its entire lifetime. The LineItem.lineItemType must be
one of:
|
DAILY
|
There is a daily goal on the number of ads delivered for this line item.
The LineItem.lineItemType must be one of:
|
UNKNOWN
|
The value returned if the actual value is not exposed by the requested API version.
|
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 2025-08-06 UTC.
[null,null,["Last updated 2025-08-06 UTC."],[[["\u003cp\u003e\u003ccode\u003eGoalType\u003c/code\u003e specifies the delivery goal type for a \u003ccode\u003eLineItem\u003c/code\u003e, defining whether it's for the lifetime, daily, or none.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eNONE\u003c/code\u003e is used for line item types like \u003ccode\u003ePRICE_PRIORITY\u003c/code\u003e, \u003ccode\u003eAD_EXCHANGE\u003c/code\u003e, and \u003ccode\u003eCLICK_TRACKING\u003c/code\u003e, indicating no delivery goal.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eLIFETIME\u003c/code\u003e applies to line items with a total delivery goal throughout their lifespan, such as \u003ccode\u003eSTANDARD\u003c/code\u003e, \u003ccode\u003eBULK\u003c/code\u003e, or \u003ccode\u003ePRICE_PRIORITY\u003c/code\u003e types.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDAILY\u003c/code\u003e is used for line items with a daily delivery goal, including types like \u003ccode\u003eSPONSORSHIP\u003c/code\u003e, \u003ccode\u003eNETWORK\u003c/code\u003e, or \u003ccode\u003ePRICE_PRIORITY\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eUNKNOWN\u003c/code\u003e is returned when the \u003ccode\u003eGoalType\u003c/code\u003e value isn't available in the requested API version.\u003c/p\u003e\n"]]],["The `GoalType` enumeration specifies the goal for a `LineItem`, related to ad delivery. `NONE` means no goal, applicable to specific `LineItemType`s like `PRICE_PRIORITY`. `LIFETIME` sets a delivery goal for the entire line item duration, suitable for `STANDARD` and other types. `DAILY` establishes a daily delivery goal, used by `SPONSORSHIP` and other `LineItemType`s. `UNKNOWN` indicates the value is not accessible in the API version. These goals are dependent of `ForecastService`, `LineItemService` and `ProposalLineItemService`.\n"],null,["# enum GoalType (v202408)\n\n**Service** \n[ForecastService](/ad-manager/api/reference/v202408/ForecastService.GoalType) **LineItemService** [ProposalLineItemService](/ad-manager/api/reference/v202408/ProposalLineItemService.GoalType) **Dependencies** \n[Goal](/ad-manager/api/reference/v202408/LineItemService.Goal) \n▼\n**GoalType**\n\nSpecifies the type of the goal for a [LineItem](/ad-manager/api/reference/v202408/LineItemService.LineItem).\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202408`\n\n| Enumeration | Description |\n|-------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `NONE` | No goal is specified for the number of ads delivered. The [LineItem.lineItemType](/ad-manager/api/reference/v202408/LineItemService.LineItem#lineItemType) must be one of: - [LineItemType.PRICE_PRIORITY](/ad-manager/api/reference/v202408/LineItemService.LineItemType#PRICE_PRIORITY) - [LineItemType.AD_EXCHANGE](/ad-manager/api/reference/v202408/LineItemService.LineItemType#AD_EXCHANGE) - [LineItemType.CLICK_TRACKING](/ad-manager/api/reference/v202408/LineItemService.LineItemType#CLICK_TRACKING) |\n| `LIFETIME` | There is a goal on the number of ads delivered for this line item during its entire lifetime. The [LineItem.lineItemType](/ad-manager/api/reference/v202408/LineItemService.LineItem#lineItemType) must be one of: - [LineItemType.STANDARD](/ad-manager/api/reference/v202408/LineItemService.LineItemType#STANDARD) - [LineItemType.BULK](/ad-manager/api/reference/v202408/LineItemService.LineItemType#BULK) - [LineItemType.PRICE_PRIORITY](/ad-manager/api/reference/v202408/LineItemService.LineItemType#PRICE_PRIORITY) - [LineItemType.ADSENSE](/ad-manager/api/reference/v202408/LineItemService.LineItemType#ADSENSE) - [LineItemType.AD_EXCHANGE](/ad-manager/api/reference/v202408/LineItemService.LineItemType#AD_EXCHANGE) - [LineItemType.ADMOB](/ad-manager/api/reference/v202408/LineItemService.LineItemType#ADMOB) - [LineItemType.CLICK_TRACKING](/ad-manager/api/reference/v202408/LineItemService.LineItemType#CLICK_TRACKING) |\n| `DAILY` | There is a daily goal on the number of ads delivered for this line item. The [LineItem.lineItemType](/ad-manager/api/reference/v202408/LineItemService.LineItem#lineItemType) must be one of: - [LineItemType.SPONSORSHIP](/ad-manager/api/reference/v202408/LineItemService.LineItemType#SPONSORSHIP) - [LineItemType.NETWORK](/ad-manager/api/reference/v202408/LineItemService.LineItemType#NETWORK) - [LineItemType.PRICE_PRIORITY](/ad-manager/api/reference/v202408/LineItemService.LineItemType#PRICE_PRIORITY) - [LineItemType.HOUSE](/ad-manager/api/reference/v202408/LineItemService.LineItemType#HOUSE) - [LineItemType.ADSENSE](/ad-manager/api/reference/v202408/LineItemService.LineItemType#ADSENSE) - [LineItemType.AD_EXCHANGE](/ad-manager/api/reference/v202408/LineItemService.LineItemType#AD_EXCHANGE) - [LineItemType.ADMOB](/ad-manager/api/reference/v202408/LineItemService.LineItemType#ADMOB) - [LineItemType.BUMPER](/ad-manager/api/reference/v202408/LineItemService.LineItemType#BUMPER) |\n| `UNKNOWN` | The value returned if the actual value is not exposed by the requested API version. |"]]