Show / Hide Table of Contents

Class LineItem

A single line item.

Inheritance
object
LineItem
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
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
long?

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
long?

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<T><long?>

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
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
string

ETag

The ETag of the item.

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

ExcludeNewExchanges

Whether to exclude new exchanges from automatically being targeted by the line item. This field is false by default.

Declaration
[JsonProperty("excludeNewExchanges")]
public virtual bool? ExcludeNewExchanges { get; set; }
Property Value
Type Description
bool?

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 impression frequency cap settings of the line item. The max_impressions field in this settings object must be used if assigning a limited cap.

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
long?

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<T><long?>

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
long?

LineItemType

Required. Immutable. The type of the line item.

Declaration
[JsonProperty("lineItemType")]
public virtual string LineItemType { get; set; }
Property Value
Type Description
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
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<T><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

ReservationType

Output only. The reservation type of the line item.

Declaration
[JsonProperty("reservationType")]
public virtual string ReservationType { get; set; }
Property Value
Type Description
string

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. Beginning March 25, 2023, these settings may represent the optimized targeting feature in place of targeting expansion. This feature will be rolled out to all partners by mid-April 2023.

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
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<T><string>

Implements

IDirectResponseSchema
In This Article
Back to top Generated by DocFX