toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (accountId != null) 'accountId': accountId!,
if (adBlockingConfiguration != null)
'adBlockingConfiguration': adBlockingConfiguration!,
if (additionalCreativeOptimizationConfigurations != null)
'additionalCreativeOptimizationConfigurations':
additionalCreativeOptimizationConfigurations!,
if (advertiserGroupId != null) 'advertiserGroupId': advertiserGroupId!,
if (advertiserId != null) 'advertiserId': advertiserId!,
if (advertiserIdDimensionValue != null)
'advertiserIdDimensionValue': advertiserIdDimensionValue!,
if (archived != null) 'archived': archived!,
if (audienceSegmentGroups != null)
'audienceSegmentGroups': audienceSegmentGroups!,
if (billingInvoiceCode != null)
'billingInvoiceCode': billingInvoiceCode!,
if (clickThroughUrlSuffixProperties != null)
'clickThroughUrlSuffixProperties': clickThroughUrlSuffixProperties!,
if (comment != null) 'comment': comment!,
if (createInfo != null) 'createInfo': createInfo!,
if (creativeGroupIds != null) 'creativeGroupIds': creativeGroupIds!,
if (creativeOptimizationConfiguration != null)
'creativeOptimizationConfiguration':
creativeOptimizationConfiguration!,
if (defaultClickThroughEventTagProperties != null)
'defaultClickThroughEventTagProperties':
defaultClickThroughEventTagProperties!,
if (defaultLandingPageId != null)
'defaultLandingPageId': defaultLandingPageId!,
if (endDate != null)
'endDate':
"${endDate!.year.toString().padLeft(4, '0')}-${endDate!.month.toString().padLeft(2, '0')}-${endDate!.day.toString().padLeft(2, '0')}",
if (eventTagOverrides != null) 'eventTagOverrides': eventTagOverrides!,
if (externalId != null) 'externalId': externalId!,
if (id != null) 'id': id!,
if (idDimensionValue != null) 'idDimensionValue': idDimensionValue!,
if (kind != null) 'kind': kind!,
if (lastModifiedInfo != null) 'lastModifiedInfo': lastModifiedInfo!,
if (measurementPartnerLink != null)
'measurementPartnerLink': measurementPartnerLink!,
if (name != null) 'name': name!,
if (startDate != null)
'startDate':
"${startDate!.year.toString().padLeft(4, '0')}-${startDate!.month.toString().padLeft(2, '0')}-${startDate!.day.toString().padLeft(2, '0')}",
if (subaccountId != null) 'subaccountId': subaccountId!,
};