google_api_display_video v0.4.0 GoogleApi.DisplayVideo.V1.Model.LineItem View Source

A single line item.

Attributes

  • advertiserId (type: String.t, default: nil) - Output only. The unique ID of the advertiser the line item belongs to.

  • bidStrategy (type: GoogleApi.DisplayVideo.V1.Model.BiddingStrategy.t, default: nil) - Required. The bidding strategy of the line item.

  • budget (type: GoogleApi.DisplayVideo.V1.Model.LineItemBudget.t, default: nil) - Required. The budget allocation setting of the line item.

  • campaignId (type: String.t, default: nil) - Output only. The unique ID of the campaign that the line item belongs to.

  • conversionCounting (type: GoogleApi.DisplayVideo.V1.Model.ConversionCountingConfig.t, default: nil) - The conversion tracking setting of the line item.

  • creativeIds (type: list(String.t), default: nil) - The IDs of the creatives associated with the line item.

  • displayName (type: String.t, default: nil) - Required. The display name of the line item.

    Must be UTF-8 encoded with a maximum size of 240 bytes.

  • entityStatus (type: String.t, default: nil) - 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.
  • flight (type: GoogleApi.DisplayVideo.V1.Model.LineItemFlight.t, default: nil) - Required. The start and end time of the line item's flight.

  • frequencyCap (type: GoogleApi.DisplayVideo.V1.Model.FrequencyCap.t, default: nil) - Required. The frequency capping setting of the line item.

  • insertionOrderId (type: String.t, default: nil) - Required. Immutable. The unique ID of the insertion order that the line item belongs to.

  • integrationDetails (type: GoogleApi.DisplayVideo.V1.Model.IntegrationDetails.t, default: nil) - Integration details of the line item.

  • inventorySourceIds (type: list(String.t), default: nil) - The IDs of the private inventory sources assigned to the line item.

  • lineItemId (type: String.t, default: nil) - Output only. The unique ID of the line item. Assigned by the system.

  • lineItemType (type: String.t, default: nil) - Required. Immutable. The type of the line item.

  • name (type: String.t, default: nil) - Output only. The resource name of the line item.

  • pacing (type: GoogleApi.DisplayVideo.V1.Model.Pacing.t, default: nil) - Required. The budget spending speed setting of the line item.

  • partnerCosts (type: list(GoogleApi.DisplayVideo.V1.Model.PartnerCost.t), default: nil) - 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.

  • partnerRevenueModel (type: GoogleApi.DisplayVideo.V1.Model.PartnerRevenueModel.t, default: nil) - Required. The partner revenue model setting of the line item.

  • updateTime (type: DateTime.t, default: nil) - Output only. The timestamp when the line item was last updated. Assigned by the system.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.DisplayVideo.V1.Model.LineItem{
  advertiserId: String.t(),
  bidStrategy: GoogleApi.DisplayVideo.V1.Model.BiddingStrategy.t(),
  budget: GoogleApi.DisplayVideo.V1.Model.LineItemBudget.t(),
  campaignId: String.t(),
  conversionCounting:
    GoogleApi.DisplayVideo.V1.Model.ConversionCountingConfig.t(),
  creativeIds: [String.t()],
  displayName: String.t(),
  entityStatus: String.t(),
  flight: GoogleApi.DisplayVideo.V1.Model.LineItemFlight.t(),
  frequencyCap: GoogleApi.DisplayVideo.V1.Model.FrequencyCap.t(),
  insertionOrderId: String.t(),
  integrationDetails: GoogleApi.DisplayVideo.V1.Model.IntegrationDetails.t(),
  inventorySourceIds: [String.t()],
  lineItemId: String.t(),
  lineItemType: String.t(),
  name: String.t(),
  pacing: GoogleApi.DisplayVideo.V1.Model.Pacing.t(),
  partnerCosts: [GoogleApi.DisplayVideo.V1.Model.PartnerCost.t()],
  partnerRevenueModel: GoogleApi.DisplayVideo.V1.Model.PartnerRevenueModel.t(),
  updateTime: DateTime.t()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.