Interface LineItemTemplateOrBuilder (0.62.0)

public interface LineItemTemplateOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCreativeRotationType()

public abstract CreativeRotationTypeEnum.CreativeRotationType getCreativeRotationType()

Required. The default creative_rotation_type of a new LineItem.

optional .google.ads.admanager.v1.CreativeRotationTypeEnum.CreativeRotationType creative_rotation_type = 10 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreativeRotationTypeEnum.CreativeRotationType

The creativeRotationType.

getCreativeRotationTypeValue()

public abstract int getCreativeRotationTypeValue()

Required. The default creative_rotation_type of a new LineItem.

optional .google.ads.admanager.v1.CreativeRotationTypeEnum.CreativeRotationType creative_rotation_type = 10 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for creativeRotationType.

getDefaultTemplate()

public abstract boolean getDefaultTemplate()

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

optional bool default_template = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The defaultTemplate.

getDeliveryRateType()

public abstract LineItemDeliveryRateTypeEnum.LineItemDeliveryRateType getDeliveryRateType()

Required. The default delivery_rate_type of a new LineItem.

optional .google.ads.admanager.v1.LineItemDeliveryRateTypeEnum.LineItemDeliveryRateType delivery_rate_type = 8 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
LineItemDeliveryRateTypeEnum.LineItemDeliveryRateType

The deliveryRateType.

getDeliveryRateTypeValue()

public abstract int getDeliveryRateTypeValue()

Required. The default delivery_rate_type of a new LineItem.

optional .google.ads.admanager.v1.LineItemDeliveryRateTypeEnum.LineItemDeliveryRateType delivery_rate_type = 8 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for deliveryRateType.

getDisplayName()

public abstract String getDisplayName()

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

optional string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

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

optional string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for displayName.

getLineItemDisplayName()

public abstract String getLineItemDisplayName()

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

optional string line_item_display_name = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The lineItemDisplayName.

getLineItemDisplayNameBytes()

public abstract ByteString getLineItemDisplayNameBytes()

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

optional string line_item_display_name = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for lineItemDisplayName.

getLineItemType()

public abstract LineItemTypeEnum.LineItemType getLineItemType()

Required. The default line_item_type of a new LineItem.

optional .google.ads.admanager.v1.LineItemTypeEnum.LineItemType line_item_type = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
LineItemTypeEnum.LineItemType

The lineItemType.

getLineItemTypeValue()

public abstract int getLineItemTypeValue()

Required. The default line_item_type of a new LineItem.

optional .google.ads.admanager.v1.LineItemTypeEnum.LineItemType line_item_type = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for lineItemType.

getName()

public abstract String getName()

Identifier. The resource name of the LineItemTemplate. Format: networks/{network_code}/lineItemTemplates/{line_item_template_id}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Identifier. The resource name of the LineItemTemplate. Format: networks/{network_code}/lineItemTemplates/{line_item_template_id}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getNotes()

public abstract String getNotes()

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

optional string notes = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The notes.

getNotesBytes()

public abstract ByteString getNotesBytes()

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

optional string notes = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for notes.

getRoadblockingType()

public abstract RoadblockingTypeEnum.RoadblockingType getRoadblockingType()

Required. The default roadblocking_type of a new LineItem.

optional .google.ads.admanager.v1.RoadblockingTypeEnum.RoadblockingType roadblocking_type = 9 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
RoadblockingTypeEnum.RoadblockingType

The roadblockingType.

getRoadblockingTypeValue()

public abstract int getRoadblockingTypeValue()

Required. The default roadblocking_type of a new LineItem.

optional .google.ads.admanager.v1.RoadblockingTypeEnum.RoadblockingType roadblocking_type = 9 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for roadblockingType.

getSameAdvertiserExceptionEnabled()

public abstract boolean getSameAdvertiserExceptionEnabled()

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

optional bool same_advertiser_exception_enabled = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The sameAdvertiserExceptionEnabled.

hasCreativeRotationType()

public abstract boolean hasCreativeRotationType()

Required. The default creative_rotation_type of a new LineItem.

optional .google.ads.admanager.v1.CreativeRotationTypeEnum.CreativeRotationType creative_rotation_type = 10 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the creativeRotationType field is set.

hasDefaultTemplate()

public abstract boolean hasDefaultTemplate()

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

optional bool default_template = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the defaultTemplate field is set.

hasDeliveryRateType()

public abstract boolean hasDeliveryRateType()

Required. The default delivery_rate_type of a new LineItem.

optional .google.ads.admanager.v1.LineItemDeliveryRateTypeEnum.LineItemDeliveryRateType delivery_rate_type = 8 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the deliveryRateType field is set.

hasDisplayName()

public abstract boolean hasDisplayName()

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

optional string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the displayName field is set.

hasLineItemDisplayName()

public abstract boolean hasLineItemDisplayName()

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

optional string line_item_display_name = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the lineItemDisplayName field is set.

hasLineItemType()

public abstract boolean hasLineItemType()

Required. The default line_item_type of a new LineItem.

optional .google.ads.admanager.v1.LineItemTypeEnum.LineItemType line_item_type = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the lineItemType field is set.

hasNotes()

public abstract boolean hasNotes()

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

optional string notes = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the notes field is set.

hasRoadblockingType()

public abstract boolean hasRoadblockingType()

Required. The default roadblocking_type of a new LineItem.

optional .google.ads.admanager.v1.RoadblockingTypeEnum.RoadblockingType roadblocking_type = 9 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the roadblockingType field is set.

hasSameAdvertiserExceptionEnabled()

public abstract boolean hasSameAdvertiserExceptionEnabled()

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

optional bool same_advertiser_exception_enabled = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the sameAdvertiserExceptionEnabled field is set.