Show / Hide Table of Contents

Class LineItem

A single line item.

Inheritance
System.Object
LineItem
Implements
Google.Apis.Requests.IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.DisplayVideo.v1.Data
Assembly: Google.Apis.DisplayVideo.v1.dll
Syntax
public class LineItem : IDirectResponseSchema

Properties

AdvertiserId

Output only. The unique ID of the advertiser the line item belongs to.

Declaration
[JsonProperty("advertiserId")]
public virtual long? AdvertiserId { get; set; }
Property Value
Type Description
System.Nullable<System.Int64>

BidStrategy

Required. The bidding strategy of the line item.

Declaration
[JsonProperty("bidStrategy")]
public virtual BiddingStrategy BidStrategy { get; set; }
Property Value
Type Description
BiddingStrategy

Budget

Required. The budget allocation setting of the line item.

Declaration
[JsonProperty("budget")]
public virtual LineItemBudget Budget { get; set; }
Property Value
Type Description
LineItemBudget

CampaignId

Output only. The unique ID of the campaign that the line item belongs to.

Declaration
[JsonProperty("campaignId")]
public virtual long? CampaignId { get; set; }
Property Value
Type Description
System.Nullable<System.Int64>

ConversionCounting

The conversion tracking setting of the line item.

Declaration
[JsonProperty("conversionCounting")]
public virtual ConversionCountingConfig ConversionCounting { get; set; }
Property Value
Type Description
ConversionCountingConfig

CreativeIds

The IDs of the creatives associated with the line item.

Declaration
[JsonProperty("creativeIds")]
public virtual IList<long?> CreativeIds { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<System.Nullable<System.Int64>>

DisplayName

Required. The display name of the line item. Must be UTF-8 encoded with a maximum size of 240 bytes.

Declaration
[JsonProperty("displayName")]
public virtual string DisplayName { get; set; }
Property Value
Type Description
System.String

EntityStatus

Required. Controls whether or not the line item can spend its budget and bid on inventory. * For CreateLineItem method, only ENTITY_STATUS_DRAFT is allowed. To activate a line item, use UpdateLineItem method and update the status to ENTITY_STATUS_ACTIVE after creation. * A line item cannot be changed back to ENTITY_STATUS_DRAFT status from any other status. * If the line item's parent insertion order is not active, the line item can't spend its budget even if its own status is ENTITY_STATUS_ACTIVE.

Declaration
[JsonProperty("entityStatus")]
public virtual string EntityStatus { get; set; }
Property Value
Type Description
System.String

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.String

Flight

Required. The start and end time of the line item's flight.

Declaration
[JsonProperty("flight")]
public virtual LineItemFlight Flight { get; set; }
Property Value
Type Description
LineItemFlight

FrequencyCap

Required. The frequency capping setting of the line item.

Declaration
[JsonProperty("frequencyCap")]
public virtual FrequencyCap FrequencyCap { get; set; }
Property Value
Type Description
FrequencyCap

InsertionOrderId

Required. Immutable. The unique ID of the insertion order that the line item belongs to.

Declaration
[JsonProperty("insertionOrderId")]
public virtual long? InsertionOrderId { get; set; }
Property Value
Type Description
System.Nullable<System.Int64>

IntegrationDetails

Integration details of the line item.

Declaration
[JsonProperty("integrationDetails")]
public virtual IntegrationDetails IntegrationDetails { get; set; }
Property Value
Type Description
IntegrationDetails

InventorySourceIds

The IDs of the private inventory sources assigned to the line item.

Declaration
[JsonProperty("inventorySourceIds")]
public virtual IList<long?> InventorySourceIds { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<System.Nullable<System.Int64>>

LineItemId

Output only. The unique ID of the line item. Assigned by the system.

Declaration
[JsonProperty("lineItemId")]
public virtual long? LineItemId { get; set; }
Property Value
Type Description
System.Nullable<System.Int64>

LineItemType

Required. Immutable. The type of the line item.

Declaration
[JsonProperty("lineItemType")]
public virtual string LineItemType { get; set; }
Property Value
Type Description
System.String

MobileApp

The mobile app promoted by the line item. This is applicable only when line_item_type is either LINE_ITEM_TYPE_DISPLAY_MOBILE_APP_INSTALL or LINE_ITEM_TYPE_VIDEO_MOBILE_APP_INSTALL.

Declaration
[JsonProperty("mobileApp")]
public virtual MobileApp MobileApp { get; set; }
Property Value
Type Description
MobileApp

Name

Output only. The resource name of the line item.

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
System.String

Pacing

Required. The budget spending speed setting of the line item.

Declaration
[JsonProperty("pacing")]
public virtual Pacing Pacing { get; set; }
Property Value
Type Description
Pacing

PartnerCosts

The partner costs associated with the line item. If absent or empty in CreateLineItem method, the newly created line item will inherit partner costs from its parent insertion order.

Declaration
[JsonProperty("partnerCosts")]
public virtual IList<PartnerCost> PartnerCosts { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<PartnerCost>

PartnerRevenueModel

Required. The partner revenue model setting of the line item.

Declaration
[JsonProperty("partnerRevenueModel")]
public virtual PartnerRevenueModel PartnerRevenueModel { get; set; }
Property Value
Type Description
PartnerRevenueModel

TargetingExpansion

The targeting expansion settings of the line item. This config is only applicable when eligible audience list targeting is assigned to the line item.

Declaration
[JsonProperty("targetingExpansion")]
public virtual TargetingExpansionConfig TargetingExpansion { get; set; }
Property Value
Type Description
TargetingExpansionConfig

UpdateTime

Output only. The timestamp when the line item was last updated. Assigned by the system.

Declaration
[JsonProperty("updateTime")]
public virtual object UpdateTime { get; set; }
Property Value
Type Description
System.Object

WarningMessages

Output only. The warning messages generated by the line item. These warnings do not block saving the line item, but some may block the line item from running.

Declaration
[JsonProperty("warningMessages")]
public virtual IList<string> WarningMessages { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<System.String>

Implements

Google.Apis.Requests.IDirectResponseSchema
In This Article
Back to top