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

Settings that control how partner revenue is calculated.

Attributes

  • markupAmount (type: String.t, default: nil) - Required. The markup amount of the partner revenue model. Must be greater than or equal to 0.

    • When the markup_type is set to be PARTNER_REVENUE_MODEL_MARKUP_TYPE_CPM, this field represents the CPM markup in micros of advertiser's currency. For example, 1500000 represents 1.5 standard units of the currency.
    • When the markup_type is set to be PARTNER_REVENUE_MODEL_MARKUP_TYPE_MEDIA_COST_MARKUP, this field represents the media cost percent markup in millis. For example, 100 represents 0.1% (decimal 0.001).
    • When the markup_type is set to be PARTNER_REVENUE_MODEL_MARKUP_TYPE_TOTAL_MEDIA_COST_MARKUP, this field represents the total media cost percent markup in millis. For example, 100 represents 0.1% (decimal 0.001).
  • markupType (type: String.t, default: nil) - Required. The markup type of the partner revenue model.

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.PartnerRevenueModel{
  markupAmount: String.t(),
  markupType: String.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.