toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (accountId != null) 'accountId': accountId!,
if (active != null) 'active': active!,
if (advertiserId != null) 'advertiserId': advertiserId!,
if (advertiserIdDimensionValue != null)
'advertiserIdDimensionValue': advertiserIdDimensionValue!,
if (archived != null) 'archived': archived!,
if (audienceSegmentId != null) 'audienceSegmentId': audienceSegmentId!,
if (campaignId != null) 'campaignId': campaignId!,
if (campaignIdDimensionValue != null)
'campaignIdDimensionValue': campaignIdDimensionValue!,
if (clickThroughUrl != null) 'clickThroughUrl': clickThroughUrl!,
if (clickThroughUrlSuffixProperties != null)
'clickThroughUrlSuffixProperties': clickThroughUrlSuffixProperties!,
if (comments != null) 'comments': comments!,
if (compatibility != null) 'compatibility': compatibility!,
if (createInfo != null) 'createInfo': createInfo!,
if (creativeGroupAssignments != null)
'creativeGroupAssignments': creativeGroupAssignments!,
if (creativeRotation != null) 'creativeRotation': creativeRotation!,
if (dayPartTargeting != null) 'dayPartTargeting': dayPartTargeting!,
if (defaultClickThroughEventTagProperties != null)
'defaultClickThroughEventTagProperties':
defaultClickThroughEventTagProperties!,
if (deliverySchedule != null) 'deliverySchedule': deliverySchedule!,
if (dynamicClickTracker != null)
'dynamicClickTracker': dynamicClickTracker!,
if (endTime != null) 'endTime': endTime!.toUtc().toIso8601String(),
if (eventTagOverrides != null) 'eventTagOverrides': eventTagOverrides!,
if (geoTargeting != null) 'geoTargeting': geoTargeting!,
if (id != null) 'id': id!,
if (idDimensionValue != null) 'idDimensionValue': idDimensionValue!,
if (keyValueTargetingExpression != null)
'keyValueTargetingExpression': keyValueTargetingExpression!,
if (kind != null) 'kind': kind!,
if (languageTargeting != null) 'languageTargeting': languageTargeting!,
if (lastModifiedInfo != null) 'lastModifiedInfo': lastModifiedInfo!,
if (name != null) 'name': name!,
if (placementAssignments != null)
'placementAssignments': placementAssignments!,
if (remarketingListExpression != null)
'remarketingListExpression': remarketingListExpression!,
if (size != null) 'size': size!,
if (sslCompliant != null) 'sslCompliant': sslCompliant!,
if (sslRequired != null) 'sslRequired': sslRequired!,
if (startTime != null)
'startTime': startTime!.toUtc().toIso8601String(),
if (subaccountId != null) 'subaccountId': subaccountId!,
if (targetingTemplateId != null)
'targetingTemplateId': targetingTemplateId!,
if (technologyTargeting != null)
'technologyTargeting': technologyTargeting!,
if (type != null) 'type': type!,
};