GoogleAdsSearchads360V23ServicesGenerateAudienceOverlapInsightsRequest.fromJson constructor

GoogleAdsSearchads360V23ServicesGenerateAudienceOverlapInsightsRequest.fromJson(
  1. Map json_
)

Implementation

GoogleAdsSearchads360V23ServicesGenerateAudienceOverlapInsightsRequest.fromJson(
  core.Map json_,
) : this(
      countryLocation: json_.containsKey('countryLocation')
          ? GoogleAdsSearchads360V23CommonLocationInfo.fromJson(
              json_['countryLocation'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      customerInsightsGroup: json_['customerInsightsGroup'] as core.String?,
      dimensions: (json_['dimensions'] as core.List?)
          ?.map((value) => value as core.String)
          .toList(),
      insightsApplicationInfo: json_.containsKey('insightsApplicationInfo')
          ? GoogleAdsSearchads360V23CommonAdditionalApplicationInfo.fromJson(
              json_['insightsApplicationInfo']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
      primaryAttribute: json_.containsKey('primaryAttribute')
          ? GoogleAdsSearchads360V23CommonAudienceInsightsAttribute.fromJson(
              json_['primaryAttribute']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
    );