google_api_display_video v0.3.1 GoogleApi.DisplayVideo.V1.Model.Campaign View Source

A single campaign.

Attributes

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

  • campaignFlight (type: GoogleApi.DisplayVideo.V1.Model.CampaignFlight.t, default: nil) - Required. The planned spend and duration of the campaign.

  • campaignGoal (type: GoogleApi.DisplayVideo.V1.Model.CampaignGoal.t, default: nil) - Required. The goal of the campaign.

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

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

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

  • entityStatus (type: String.t, default: nil) - Required. Controls whether or not the insertion orders under this campaign can spend their budgets and bid on inventory.

    • Accepted values are ENTITY_STATUS_ACTIVE, ENTITY_STATUS_ARCHIVED, and ENTITY_STATUS_PAUSED.
    • For CreateCampaign method, ENTITY_STATUS_ARCHIVED is not allowed.
  • frequencyCap (type: GoogleApi.DisplayVideo.V1.Model.FrequencyCap.t, default: nil) - Required. The frequency cap setting of the campaign.

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

  • updateTime (type: DateTime.t, default: nil) - Output only. The timestamp when the campaign 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.Campaign{
  advertiserId: String.t(),
  campaignFlight: GoogleApi.DisplayVideo.V1.Model.CampaignFlight.t(),
  campaignGoal: GoogleApi.DisplayVideo.V1.Model.CampaignGoal.t(),
  campaignId: String.t(),
  displayName: String.t(),
  entityStatus: String.t(),
  frequencyCap: GoogleApi.DisplayVideo.V1.Model.FrequencyCap.t(),
  name: String.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.