toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (adGroupFormat != null) 'adGroupFormat': adGroupFormat!,
      if (adGroupId != null) 'adGroupId': adGroupId!,
      if (advertiserId != null) 'advertiserId': advertiserId!,
      if (bidStrategy != null) 'bidStrategy': bidStrategy!,
      if (displayName != null) 'displayName': displayName!,
      if (entityStatus != null) 'entityStatus': entityStatus!,
      if (lineItemId != null) 'lineItemId': lineItemId!,
      if (name != null) 'name': name!,
      if (productFeedData != null) 'productFeedData': productFeedData!,
      if (targetingExpansion != null)
        'targetingExpansion': targetingExpansion!,
    };