Show / Hide Table of Contents

Class Campaign

A single campaign.

Inheritance
object
Campaign
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.DisplayVideo.v4.Data
Assembly: Google.Apis.DisplayVideo.v4.dll
Syntax
public class Campaign : IDirectResponseSchema

Properties

AdvertiserId

Output only. The unique ID of the advertiser the campaign belongs to.

Declaration
[JsonProperty("advertiserId")]
public virtual long? AdvertiserId { get; set; }
Property Value
Type Description
long?

CampaignBudgets

The list of budgets available to this campaign. If this field is not set, the campaign uses an unlimited budget.

Declaration
[JsonProperty("campaignBudgets")]
public virtual IList<CampaignBudget> CampaignBudgets { get; set; }
Property Value
Type Description
IList<CampaignBudget>

CampaignFlight

Required. The planned spend and duration of the campaign.

Declaration
[JsonProperty("campaignFlight")]
public virtual CampaignFlight CampaignFlight { get; set; }
Property Value
Type Description
CampaignFlight

CampaignGoal

Required. The goal of the campaign.

Declaration
[JsonProperty("campaignGoal")]
public virtual CampaignGoal CampaignGoal { get; set; }
Property Value
Type Description
CampaignGoal

CampaignId

Output only. The unique ID of the campaign. Assigned by the system.

Declaration
[JsonProperty("campaignId")]
public virtual long? CampaignId { get; set; }
Property Value
Type Description
long?

DisplayName

Required. The display name of the campaign. Must be UTF-8 encoded with a maximum size of 240 bytes.

Declaration
[JsonProperty("displayName")]
public virtual string DisplayName { get; set; }
Property Value
Type Description
string

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

EntityStatus

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.

Declaration
[JsonProperty("entityStatus")]
public virtual string EntityStatus { get; set; }
Property Value
Type Description
string

FrequencyCap

Required. The frequency cap setting of the campaign. Warning: On February 28, 2025, frequency cap time periods greater than 30 days will no longer be accepted. Read more about this announced change

Declaration
[JsonProperty("frequencyCap")]
public virtual FrequencyCap FrequencyCap { get; set; }
Property Value
Type Description
FrequencyCap

Name

Output only. The resource name of the campaign.

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
string

UpdateTime

object representation of UpdateTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual object UpdateTime { get; set; }
Property Value
Type Description
object

UpdateTimeDateTimeOffset

DateTimeOffset representation of UpdateTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

UpdateTimeRaw

Output only. The timestamp when the campaign was last updated. Assigned by the system.

Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX