Show / Hide Table of Contents

Class Campaign

Contains properties of a Campaign Manager 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.Dfareporting.v5.Data
Assembly: Google.Apis.Dfareporting.v5.dll
Syntax
public class Campaign : IDirectResponseSchema

Properties

AccountId

Account ID of this campaign. This is a read-only field that can be left blank.

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

AdBlockingConfiguration

Ad blocking settings for this campaign.

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

AdditionalCreativeOptimizationConfigurations

Additional creative optimization configurations for the campaign.

Declaration
[JsonProperty("additionalCreativeOptimizationConfigurations")]
public virtual IList<CreativeOptimizationConfiguration> AdditionalCreativeOptimizationConfigurations { get; set; }
Property Value
Type Description
IList<CreativeOptimizationConfiguration>

AdvertiserGroupId

Advertiser group ID of the associated advertiser.

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

AdvertiserId

Advertiser ID of this campaign. This is a required field.

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

AdvertiserIdDimensionValue

Dimension value for the advertiser ID of this campaign. This is a read-only, auto-generated field.

Declaration
[JsonProperty("advertiserIdDimensionValue")]
public virtual DimensionValue AdvertiserIdDimensionValue { get; set; }
Property Value
Type Description
DimensionValue

Archived

Whether this campaign has been archived.

Declaration
[JsonProperty("archived")]
public virtual bool? Archived { get; set; }
Property Value
Type Description
bool?

AudienceSegmentGroups

Audience segment groups assigned to this campaign. Cannot have more than 300 segment groups.

Declaration
[JsonProperty("audienceSegmentGroups")]
public virtual IList<AudienceSegmentGroup> AudienceSegmentGroups { get; set; }
Property Value
Type Description
IList<AudienceSegmentGroup>

BillingInvoiceCode

Billing invoice code included in the Campaign Manager client billing invoices associated with the campaign.

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

ClickThroughUrlSuffixProperties

Click-through URL suffix override properties for this campaign.

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

Comment

Arbitrary comments about this campaign. Must be less than 256 characters long.

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

CreateInfo

Information about the creation of this campaign. This is a read-only field.

Declaration
[JsonProperty("createInfo")]
public virtual LastModifiedInfo CreateInfo { get; set; }
Property Value
Type Description
LastModifiedInfo

CreativeGroupIds

List of creative group IDs that are assigned to the campaign.

Declaration
[JsonProperty("creativeGroupIds")]
public virtual IList<long?> CreativeGroupIds { get; set; }
Property Value
Type Description
IList<long?>

CreativeOptimizationConfiguration

Creative optimization configuration for the campaign.

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

DefaultClickThroughEventTagProperties

Click-through event tag ID override properties for this campaign.

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

DefaultLandingPageId

The default landing page ID for this campaign.

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

ETag

The ETag of the item.

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

EndDate

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

EuPoliticalAdsDeclaration

Optional. Whether the campaign has EU political ads. Campaign Manager 360 doesn't allow campaigns with EU political ads to serve in the EU. They can still serve in other regions.

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

EventTagOverrides

Overrides that can be used to activate or deactivate advertiser event tags.

Declaration
[JsonProperty("eventTagOverrides")]
public virtual IList<EventTagOverride> EventTagOverrides { get; set; }
Property Value
Type Description
IList<EventTagOverride>

ExternalId

External ID for this campaign.

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

Id

ID of this campaign. This is a read-only auto-generated field.

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

IdDimensionValue

Dimension value for the ID of this campaign. This is a read-only, auto-generated field.

Declaration
[JsonProperty("idDimensionValue")]
public virtual DimensionValue IdDimensionValue { get; set; }
Property Value
Type Description
DimensionValue

Kind

Identifies what kind of resource this is. Value: the fixed string "dfareporting#campaign".

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

LastModifiedInfo

Information about the most recent modification of this campaign. This is a read-only field.

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

MeasurementPartnerLink

Measurement partner campaign link for tag wrapping.

Declaration
[JsonProperty("measurementPartnerLink")]
public virtual MeasurementPartnerCampaignLink MeasurementPartnerLink { get; set; }
Property Value
Type Description
MeasurementPartnerCampaignLink

Name

Name of this campaign. This is a required field and must be less than 512 characters long and unique among campaigns of the same advertiser.

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

StartDate

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

SubaccountId

Subaccount ID of this campaign. This is a read-only field that can be left blank.

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

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX