# type LineItemTemplate (v202508)

**Service** **LineItemTemplateService** **Dependencies** [LineItemTemplatePage](https://developers.google.com/ad-manager/api/reference/v202508/LineItemTemplateService.LineItemTemplatePage) ▼ **LineItemTemplate**

Represents the template that populates the fields of a new line item being created.

*** ** * ** ***

Namespace
:
    `https://www.google.com/apis/ads/publisher/v202508`

| ## Field ||
|---|---|
| ### `id` | ` xsd:long` Uniquely identifies the `LineItemTemplate`. This attribute is read-only and is assigned by Google when a template is created. |
| ### `name` | ` xsd:string` The name of the `LineItemTemplate`. This attribute is required. |
| ### `isDefault` | ` xsd:boolean` Whether or not the `LineItemTemplate` represents the default choices for creating a `LineItem`. Only one default `LineItemTemplate` is allowed per `Network`. This attribute is readonly. |
| ### `lineItemName` | ` xsd:string` The default [name](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.LineItem#name) of a new `LineItem`. This attribute is optional and has a maximum length of 127 characters. |
| ### `enabledForSameAdvertiserException` | ` xsd:boolean` The default value for the [LineItem.enabledForSameAdvertiserException](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.LineItem#enabledForSameAdvertiserException) field of a new `LineItem`. This attribute is required. |
| ### `notes` | ` xsd:string` The default [notes](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.LineItem#notes) for a new `LineItem`. This attribute is optional and has a maximum length of 65,535 characters. |
| ### `lineItemType` | ` https://developers.google.com/ad-manager/api/reference/v202508/LineItemTemplateService.LineItemType ` The default [type](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.LineItem#lineItemType) of a new `LineItem`. This attribute is required. *** ** * ** *** **Enumerations** `SPONSORSHIP` :   The type of [LineItem](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.LineItem) for which a percentage of all the impressions that are being sold are reserved. `STANDARD` :   The type of [LineItem](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.LineItem) for which a fixed quantity of impressions or clicks are reserved. `NETWORK` :   The type of [LineItem](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.LineItem) most commonly used to fill a site's unsold inventory if not contractually obligated to deliver a requested number of impressions. Users specify the daily percentage of unsold impressions or clicks when creating this line item. `BULK` :   The type of [LineItem](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.LineItem) for which a fixed quantity of impressions or clicks will be delivered at a priority lower than the [LineItemType.STANDARD](https://developers.google.com/ad-manager/api/reference/v202508/LineItemTemplateService.LineItemType#STANDARD) type. `PRICE_PRIORITY` :   The type of [LineItem](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.LineItem) most commonly used to fill a site's unsold inventory if not contractually obligated to deliver a requested number of impressions. Users specify the fixed quantity of unsold impressions or clicks when creating this line item. `HOUSE` :   The type of [LineItem](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.LineItem) typically used for ads that promote products and services chosen by the publisher. These usually do not generate revenue and have the lowest delivery priority. `LEGACY_DFP` :   Represents a legacy [LineItem](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.LineItem) that has been migrated from the DFP system. Such line items cannot be created any more. Also, these line items cannot be activated or resumed. `CLICK_TRACKING` :   The type of [LineItem](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.LineItem) used for ads that track ads being served externally of Ad Manager, for example an email newsletter. The click through would reference this ad, and the click would be tracked via this ad. `ADSENSE` :   A [LineItem](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.LineItem) using dynamic allocation backed by AdSense. `AD_EXCHANGE` :   A [LineItem](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.LineItem) using dynamic allocation backed by the Google Ad Exchange. `BUMPER` :   Represents a non-monetizable video [LineItem](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.LineItem) that targets one or more bumper positions, which are short house video messages used by publishers to separate content from ad breaks. `ADMOB` :   A [LineItem](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.LineItem) using dynamic allocation backed by AdMob. `PREFERRED_DEAL` :   The type of [LineItem](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.LineItem) for which there are no impressions reserved, and will serve for a second price bid. All [LineItem](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.LineItem)s of type [LineItemType.PREFERRED_DEAL](https://developers.google.com/ad-manager/api/reference/v202508/LineItemTemplateService.LineItemType#PREFERRED_DEAL) should be created via a [ProposalLineItem](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.ProposalLineItem) with a matching type. When creating a [LineItem](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.LineItem) of type [LineItemType.PREFERRED_DEAL](https://developers.google.com/ad-manager/api/reference/v202508/LineItemTemplateService.LineItemType#PREFERRED_DEAL), the [ProposalLineItem.estimatedMinimumImpressions](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.ProposalLineItem#estimatedMinimumImpressions) field is required. `UNKNOWN` :   The value returned if the actual value is not exposed by the requested API version. <br /> |
| ### `deliveryRateType` | ` https://developers.google.com/ad-manager/api/reference/v202508/LineItemTemplateService.DeliveryRateType ` The default [delivery strategy](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.LineItem#deliveryRateType) for a new `LineItem`. This attribute is required. *** ** * ** *** **Enumerations** `EVENLY` :   Line items are served as evenly as possible across the number of days specified in a line item's [LineItem.duration](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.LineItem#duration). `FRONTLOADED` :   Line items are served more aggressively in the beginning of the flight date. `AS_FAST_AS_POSSIBLE` :   The booked impressions for a line item may be delivered well before the [LineItem.endDateTime](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.LineItem#endDateTime). Other lower-priority or lower-value line items will be stopped from delivering until this line item meets the number of impressions or clicks it is booked for. <br /> |
| ### `roadblockingType` | ` https://developers.google.com/ad-manager/api/reference/v202508/LineItemTemplateService.RoadblockingType ` The default [roadblocking strategy](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.LineItem#roadblockingType) for a new `LineItem`. This attribute is required. *** ** * ** *** **Enumerations** `ONLY_ONE` :   Only one creative from a line item can serve at a time. `ONE_OR_MORE` :   Any number of creatives from a line item can serve together at a time. `AS_MANY_AS_POSSIBLE` :   As many creatives from a line item as can fit on a page will serve. This could mean anywhere from one to all of a line item's creatives given the size constraints of ad slots on a page. `ALL_ROADBLOCK` :   All or none of the creatives from a line item will serve. This option will only work if served to a GPT tag using SRA (single request architecture mode). `CREATIVE_SET` :   A master/companion [CreativeSet](https://developers.google.com/ad-manager/api/reference/v202508/CreativeSetService.CreativeSet) roadblocking type. A [LineItem.creativePlaceholders](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.LineItem#creativePlaceholders) must be set accordingly. <br /> |
| ### `creativeRotationType` | ` https://developers.google.com/ad-manager/api/reference/v202508/LineItemTemplateService.CreativeRotationType ` The default [creative rotation strategy](https://developers.google.com/ad-manager/api/reference/v202508/ForecastService.LineItem#creativeRotationType) for a new `LineItem`. This attribute is required. *** ** * ** *** **Enumerations** `EVEN` :   Creatives are displayed roughly the same number of times over the duration of the line item. `OPTIMIZED` :   Creatives are served roughly proportionally to their performance. `MANUAL` :   Creatives are served roughly proportionally to their weights, set on the [LineItemCreativeAssociation](https://developers.google.com/ad-manager/api/reference/v202508/LineItemCreativeAssociationService.LineItemCreativeAssociation). `SEQUENTIAL` :   Creatives are served exactly in sequential order, aka Storyboarding. Set on the [LineItemCreativeAssociation](https://developers.google.com/ad-manager/api/reference/v202508/LineItemCreativeAssociationService.LineItemCreativeAssociation). <br /> |