toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (accountId != null) 'accountId': accountId!,
      if (advertiserId != null) 'advertiserId': advertiserId!,
      if (advertiserIdDimensionValue != null)
        'advertiserIdDimensionValue': advertiserIdDimensionValue!,
      if (dayPartTargeting != null) 'dayPartTargeting': dayPartTargeting!,
      if (geoTargeting != null) 'geoTargeting': geoTargeting!,
      if (id != null) 'id': id!,
      if (keyValueTargetingExpression != null)
        'keyValueTargetingExpression': keyValueTargetingExpression!,
      if (kind != null) 'kind': kind!,
      if (languageTargeting != null) 'languageTargeting': languageTargeting!,
      if (listTargetingExpression != null)
        'listTargetingExpression': listTargetingExpression!,
      if (name != null) 'name': name!,
      if (subaccountId != null) 'subaccountId': subaccountId!,
      if (technologyTargeting != null)
        'technologyTargeting': technologyTargeting!,
    };