Class Campaign
A single campaign.
Implements
Inherited Members
Namespace: Google.Apis.DisplayVideo.v1.Data
Assembly: Google.Apis.DisplayVideo.v1.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.
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 |