REST Resource: networks.lineItemTemplates

Resource: LineItemTemplate

The LineItemTemplate resource.

JSON representation
{
  "name": string,
  "displayName": string,
  "defaultTemplate": boolean,
  "sameAdvertiserExceptionEnabled": boolean,
  "lineItemDisplayName": string,
  "lineItemType": enum (LineItemType),
  "notes": string,
  "deliveryRateType": enum (LineItemDeliveryRateType),
  "roadblockingType": enum (RoadblockingType),
  "creativeRotationType": enum (CreativeRotationType)
}
Fields
name

string

Identifier. The resource name of the LineItemTemplate. Format: networks/{networkCode}/lineItemTemplates/{lineItemTemplateId}

displayName

string

Required. Display name of the LineItemTemplate. This attribute has a maximum length of 255 characters.

defaultTemplate

boolean

Output only. Whether or not the LineItemTemplate represents the default choices for creating a LineItem. Only one default LineItemTemplate is allowed per Network.

sameAdvertiserExceptionEnabled

boolean

Optional. The default value for sameAdvertiserExceptionEnabled of a new LineItem.

lineItemDisplayName

string

Optional. The default displayName of a new LineItem. This attribute has a maximum length of 127 characters.

lineItemType

enum (LineItemType)

Required. The default lineItemType of a new LineItem.

notes

string

Optional. The default notes of a new LineItem. This attribute has a maximum length of 65,535 characters.

deliveryRateType

enum (LineItemDeliveryRateType)

Required. The default deliveryRateType of a new LineItem.

roadblockingType

enum (RoadblockingType)

Required. The default roadblockingType of a new LineItem.

creativeRotationType

enum (CreativeRotationType)

Required. The default creativeRotationType of a new LineItem.

Methods

get

Retrieves a LineItemTemplate object.

list

Lists LineItemTemplate objects.