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

A single campaign.

Attributes

  • advertiserId (type: String.t, default: nil) - Output only. The unique ID of the advertiser the campaign belongs to.
  • campaignBudgets (type: list(GoogleApi.DisplayVideo.V1.Model.CampaignBudget.t), default: nil) - The list of budgets available to this campaign. If this field is not set, the campaign uses an unlimited budget.
  • 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.DisplayVideo.V1.Model.Campaign{
  advertiserId: String.t() | nil,
  campaignBudgets: [GoogleApi.DisplayVideo.V1.Model.CampaignBudget.t()] | nil,
  campaignFlight: GoogleApi.DisplayVideo.V1.Model.CampaignFlight.t() | nil,
  campaignGoal: GoogleApi.DisplayVideo.V1.Model.CampaignGoal.t() | nil,
  campaignId: String.t() | nil,
  displayName: String.t() | nil,
  entityStatus: String.t() | nil,
  frequencyCap: GoogleApi.DisplayVideo.V1.Model.FrequencyCap.t() | nil,
  name: String.t() | nil,
  updateTime: DateTime.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.