toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (adGroupCriteriaCount != null)
        'adGroupCriteriaCount': adGroupCriteriaCount!,
      if (campaignCriteriaCount != null)
        'campaignCriteriaCount': campaignCriteriaCount!,
      if (channelsCount != null) 'channelsCount': channelsCount!,
      if (negativeKeywordListsCount != null)
        'negativeKeywordListsCount': negativeKeywordListsCount!,
      if (negativelyTargetedChannelsCount != null)
        'negativelyTargetedChannelsCount': negativelyTargetedChannelsCount!,
      if (usedCampaignsCount != null)
        'usedCampaignsCount': usedCampaignsCount!,
      if (usedInsertionOrdersCount != null)
        'usedInsertionOrdersCount': usedInsertionOrdersCount!,
      if (usedLineItemsCount != null)
        'usedLineItemsCount': usedLineItemsCount!,
    };