Show / Hide Table of Contents

Class LineItemTemplate

The LineItemTemplate resource.

Inheritance
object
LineItemTemplate
Implements
IMessage<LineItemTemplate>
IEquatable<LineItemTemplate>
IDeepCloneable<LineItemTemplate>
IBufferMessage
IMessage
Inherited Members
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class LineItemTemplate : IMessage<LineItemTemplate>, IEquatable<LineItemTemplate>, IDeepCloneable<LineItemTemplate>, IBufferMessage, IMessage

Constructors

LineItemTemplate()

Declaration
public LineItemTemplate()

LineItemTemplate(LineItemTemplate)

Declaration
public LineItemTemplate(LineItemTemplate other)
Parameters
Type Name Description
LineItemTemplate other

Properties

CreativeRotationType

Required. The default [creative_rotation_type][google.ads.admanager.v1.LineItem.creative_rotation_type] of a new [LineItem][google.ads.admanager.v1.LineItem].

Declaration
public CreativeRotationTypeEnum.Types.CreativeRotationType CreativeRotationType { get; set; }
Property Value
Type Description
CreativeRotationTypeEnum.Types.CreativeRotationType

DefaultTemplate

Output only. Whether or not the LineItemTemplate represents the default choices for creating a [LineItem][google.ads.admanager.v1.LineItem]. Only one default LineItemTemplate is allowed per [Network][google.ads.admanager.v1.Network].

Declaration
public bool DefaultTemplate { get; set; }
Property Value
Type Description
bool

DeliveryRateType

Required. The default [delivery_rate_type][google.ads.admanager.v1.LineItem.delivery_rate_type] of a new [LineItem][google.ads.admanager.v1.LineItem].

Declaration
public LineItemDeliveryRateTypeEnum.Types.LineItemDeliveryRateType DeliveryRateType { get; set; }
Property Value
Type Description
LineItemDeliveryRateTypeEnum.Types.LineItemDeliveryRateType

DisplayName

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

Declaration
public string DisplayName { get; set; }
Property Value
Type Description
string

HasCreativeRotationType

Gets whether the "creative_rotation_type" field is set

Declaration
public bool HasCreativeRotationType { get; }
Property Value
Type Description
bool

HasDefaultTemplate

Gets whether the "default_template" field is set

Declaration
public bool HasDefaultTemplate { get; }
Property Value
Type Description
bool

HasDeliveryRateType

Gets whether the "delivery_rate_type" field is set

Declaration
public bool HasDeliveryRateType { get; }
Property Value
Type Description
bool

HasDisplayName

Gets whether the "display_name" field is set

Declaration
public bool HasDisplayName { get; }
Property Value
Type Description
bool

HasLineItemDisplayName

Gets whether the "line_item_display_name" field is set

Declaration
public bool HasLineItemDisplayName { get; }
Property Value
Type Description
bool

HasLineItemType

Gets whether the "line_item_type" field is set

Declaration
public bool HasLineItemType { get; }
Property Value
Type Description
bool

HasNotes

Gets whether the "notes" field is set

Declaration
public bool HasNotes { get; }
Property Value
Type Description
bool

HasRoadblockingType

Gets whether the "roadblocking_type" field is set

Declaration
public bool HasRoadblockingType { get; }
Property Value
Type Description
bool

HasSameAdvertiserExceptionEnabled

Gets whether the "same_advertiser_exception_enabled" field is set

Declaration
public bool HasSameAdvertiserExceptionEnabled { get; }
Property Value
Type Description
bool

LineItemDisplayName

Optional. The default [display_name][google.ads.admanager.v1.LineItem.display_name] of a new [LineItem][google.ads.admanager.v1.LineItem]. This attribute has a maximum length of 127 characters.

Declaration
public string LineItemDisplayName { get; set; }
Property Value
Type Description
string

LineItemTemplateName

LineItemTemplateName-typed view over the Name resource name property.

Declaration
public LineItemTemplateName LineItemTemplateName { get; set; }
Property Value
Type Description
LineItemTemplateName

LineItemType

Required. The default [line_item_type][google.ads.admanager.v1.LineItem.line_item_type] of a new [LineItem][google.ads.admanager.v1.LineItem].

Declaration
public LineItemTypeEnum.Types.LineItemType LineItemType { get; set; }
Property Value
Type Description
LineItemTypeEnum.Types.LineItemType

Name

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

Declaration
public string Name { get; set; }
Property Value
Type Description
string

Notes

Optional. The default [notes][google.ads.admanager.v1.LineItem.notes] of a new [LineItem][google.ads.admanager.v1.LineItem]. This attribute has a maximum length of 65,535 characters.

Declaration
public string Notes { get; set; }
Property Value
Type Description
string

RoadblockingType

Required. The default [roadblocking_type][google.ads.admanager.v1.LineItem.roadblocking_type] of a new [LineItem][google.ads.admanager.v1.LineItem].

Declaration
public RoadblockingTypeEnum.Types.RoadblockingType RoadblockingType { get; set; }
Property Value
Type Description
RoadblockingTypeEnum.Types.RoadblockingType

SameAdvertiserExceptionEnabled

Optional. The default value for [same_advertiser_exception_enabled][google.ads.admanager.v1.LineItem.same_advertiser_exception_enabled] of a new [LineItem][google.ads.admanager.v1.LineItem].

Declaration
public bool SameAdvertiserExceptionEnabled { get; set; }
Property Value
Type Description
bool
In this article
Back to top Generated by DocFX