Campaign class

Contains properties of a Campaign Manager campaign.

Constructors

Campaign({String? accountId, AdBlockingConfiguration? adBlockingConfiguration, List<CreativeOptimizationConfiguration>? additionalCreativeOptimizationConfigurations, String? advertiserGroupId, String? advertiserId, DimensionValue? advertiserIdDimensionValue, bool? archived, List<AudienceSegmentGroup>? audienceSegmentGroups, String? billingInvoiceCode, ClickThroughUrlSuffixProperties? clickThroughUrlSuffixProperties, String? comment, LastModifiedInfo? createInfo, List<String>? creativeGroupIds, CreativeOptimizationConfiguration? creativeOptimizationConfiguration, DefaultClickThroughEventTagProperties? defaultClickThroughEventTagProperties, String? defaultLandingPageId, DateTime? endDate, String? euPoliticalAdsDeclaration, List<EventTagOverride>? eventTagOverrides, String? externalId, String? id, DimensionValue? idDimensionValue, String? kind, LastModifiedInfo? lastModifiedInfo, MeasurementPartnerCampaignLink? measurementPartnerLink, String? name, DateTime? startDate, String? subaccountId})
Campaign.fromJson(Map json_)

Properties

accountId ↔ String?
Account ID of this campaign.
getter/setter pair
adBlockingConfiguration ↔ AdBlockingConfiguration?
Ad blocking settings for this campaign.
getter/setter pair
additionalCreativeOptimizationConfigurations ↔ List<CreativeOptimizationConfiguration>?
Additional creative optimization configurations for the campaign.
getter/setter pair
advertiserGroupId ↔ String?
Advertiser group ID of the associated advertiser.
getter/setter pair
advertiserId ↔ String?
Advertiser ID of this campaign.
getter/setter pair
advertiserIdDimensionValue ↔ DimensionValue?
Dimension value for the advertiser ID of this campaign.
getter/setter pair
archived ↔ bool?
Whether this campaign has been archived.
getter/setter pair
audienceSegmentGroups ↔ List<AudienceSegmentGroup>?
Audience segment groups assigned to this campaign.
getter/setter pair
billingInvoiceCode ↔ String?
Billing invoice code included in the Campaign Manager client billing invoices associated with the campaign.
getter/setter pair
clickThroughUrlSuffixProperties ↔ ClickThroughUrlSuffixProperties?
Click-through URL suffix override properties for this campaign.
getter/setter pair
comment ↔ String?
Arbitrary comments about this campaign.
getter/setter pair
createInfo ↔ LastModifiedInfo?
Information about the creation of this campaign.
getter/setter pair
creativeGroupIds ↔ List<String>?
List of creative group IDs that are assigned to the campaign.
getter/setter pair
creativeOptimizationConfiguration ↔ CreativeOptimizationConfiguration?
Creative optimization configuration for the campaign.
getter/setter pair
defaultClickThroughEventTagProperties ↔ DefaultClickThroughEventTagProperties?
Click-through event tag ID override properties for this campaign.
getter/setter pair
defaultLandingPageId ↔ String?
The default landing page ID for this campaign.
getter/setter pair
endDate ↔ DateTime?
getter/setter pair
euPoliticalAdsDeclaration ↔ String?
Whether the campaign has EU political ads.
getter/setter pair
eventTagOverrides ↔ List<EventTagOverride>?
Overrides that can be used to activate or deactivate advertiser event tags.
getter/setter pair
externalId ↔ String?
External ID for this campaign.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
id ↔ String?
ID of this campaign.
getter/setter pair
idDimensionValue ↔ DimensionValue?
Dimension value for the ID of this campaign.
getter/setter pair
kind ↔ String?
Identifies what kind of resource this is.
getter/setter pair
lastModifiedInfo ↔ LastModifiedInfo?
Information about the most recent modification of this campaign.
getter/setter pair
Measurement partner campaign link for tag wrapping.
getter/setter pair
name ↔ String?
Name of this campaign.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
startDate ↔ DateTime?
getter/setter pair
subaccountId ↔ String?
Subaccount ID of this campaign.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited