GoogleAdsSearchads360V23ResourcesAdGroupSimulation.fromJson constructor

GoogleAdsSearchads360V23ResourcesAdGroupSimulation.fromJson(
  1. Map json_
)

Implementation

GoogleAdsSearchads360V23ResourcesAdGroupSimulation.fromJson(core.Map json_)
  : this(
      adGroupId: json_['adGroupId'] as core.String?,
      cpcBidPointList: json_.containsKey('cpcBidPointList')
          ? GoogleAdsSearchads360V23CommonCpcBidSimulationPointList.fromJson(
              json_['cpcBidPointList'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      cpvBidPointList: json_.containsKey('cpvBidPointList')
          ? GoogleAdsSearchads360V23CommonCpvBidSimulationPointList.fromJson(
              json_['cpvBidPointList'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      endDate: json_['endDate'] as core.String?,
      modificationMethod: json_['modificationMethod'] as core.String?,
      resourceName: json_['resourceName'] as core.String?,
      startDate: json_['startDate'] as core.String?,
      targetCpaPointList: json_.containsKey('targetCpaPointList')
          ? GoogleAdsSearchads360V23CommonTargetCpaSimulationPointList.fromJson(
              json_['targetCpaPointList']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
      targetRoasPointList: json_.containsKey('targetRoasPointList')
          ? GoogleAdsSearchads360V23CommonTargetRoasSimulationPointList.fromJson(
              json_['targetRoasPointList']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
      type: json_['type'] as core.String?,
    );