View Source GoogleApi.DisplayVideo.V1.Model.GenerateDefaultLineItemRequest (google_api_display_video v0.35.0)

Request message for LineItemService.GenerateDefaultLineItem.

Attributes

  • 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.
  • insertionOrderId (type: String.t, default: nil) - Required. The unique ID of the insertion order that the line item belongs to.
  • lineItemType (type: String.t, default: nil) - Required. The type of the line item.
  • mobileApp (type: GoogleApi.DisplayVideo.V1.Model.MobileApp.t, default: nil) - 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.DisplayVideo.V1.Model.GenerateDefaultLineItemRequest{
  displayName: String.t() | nil,
  insertionOrderId: String.t() | nil,
  lineItemType: String.t() | nil,
  mobileApp: GoogleApi.DisplayVideo.V1.Model.MobileApp.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.