Class LineItem
A LineItem contains information about how specific ad creatives are intended
to serve to your website or app along with pricing and other delivery
details.
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class LineItem : IMessage<LineItem>, IEquatable<LineItem>, IDeepCloneable<LineItem>, IBufferMessage, IMessage
Constructors
LineItem()
Declaration
LineItem(LineItem)
Declaration
public LineItem(LineItem other)
Parameters
Properties
Budget
Output only. The amount of money allocated to the LineItem. This attribute
is readonly and is populated by Google. The currency code is readonly.
Declaration
public Money Budget { get; set; }
Property Value
CustomFieldValues
Optional. The values of the custom fields associated with this line item.
Declaration
public RepeatedField<CustomFieldValue> CustomFieldValues { get; }
Property Value
DisplayName
Required. The name of the line item. This attribute is required and has a
maximum length of 255 characters.
Declaration
public string DisplayName { get; set; }
Property Value
EndTime
Output only. The timestamp when the LineItem will stop serving. This
attribute is read-only and includes auto extension days.
Declaration
public Timestamp EndTime { get; set; }
Property Value
Goal
Optional. The primary goal that this LineItem is associated with, which is
used in its pacing and budgeting.
Declaration
public Goal Goal { get; set; }
Property Value
HasDisplayName
Gets whether the "display_name" field is set
Declaration
public bool HasDisplayName { get; }
Property Value
HasLineItemType
Gets whether the "line_item_type" field is set
Declaration
public bool HasLineItemType { get; }
Property Value
HasOrder
Gets whether the "order" field is set
Declaration
public bool HasOrder { get; }
Property Value
LineItemName
Declaration
public LineItemName LineItemName { get; set; }
Property Value
LineItemType
Declaration
public LineItemTypeEnum.Types.LineItemType LineItemType { get; set; }
Property Value
Name
Identifier. The resource name of the LineItem.
Format: networks/{network_code}/lineItems/{line_item_id}
Declaration
public string Name { get; set; }
Property Value
Order
Output only. The ID of the Order to which the LineItem belongs. This
attribute is required. Format: networks/{network_code}/orders/{order}
Declaration
public string Order { get; set; }
Property Value
OrderAsOrderName
Declaration
public OrderName OrderAsOrderName { get; set; }
Property Value
Rate
Required. The amount of money to spend per impression or click.
Declaration
public Money Rate { get; set; }
Property Value
StartTime
Required. The date and time on which the LineItem is enabled to begin
serving. This attribute is required and must be in the future.
Declaration
public Timestamp StartTime { get; set; }
Property Value