YoutubeAndPartnersSettings.fromJson constructor
YoutubeAndPartnersSettings.fromJson(
- Map json_
Implementation
YoutubeAndPartnersSettings.fromJson(core.Map json_)
: this(
biddingStrategy: json_.containsKey('biddingStrategy')
? YoutubeAndPartnersBiddingStrategy.fromJson(
json_['biddingStrategy']
as core.Map<core.String, core.dynamic>)
: null,
contentCategory: json_.containsKey('contentCategory')
? json_['contentCategory'] as core.String
: null,
effectiveContentCategory:
json_.containsKey('effectiveContentCategory')
? json_['effectiveContentCategory'] as core.String
: null,
inventorySourceSettings: json_.containsKey('inventorySourceSettings')
? YoutubeAndPartnersInventorySourceConfig.fromJson(
json_['inventorySourceSettings']
as core.Map<core.String, core.dynamic>)
: null,
leadFormId: json_.containsKey('leadFormId')
? json_['leadFormId'] as core.String
: null,
linkedMerchantId: json_.containsKey('linkedMerchantId')
? json_['linkedMerchantId'] as core.String
: null,
relatedVideoIds: json_.containsKey('relatedVideoIds')
? (json_['relatedVideoIds'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
targetFrequency: json_.containsKey('targetFrequency')
? TargetFrequency.fromJson(json_['targetFrequency']
as core.Map<core.String, core.dynamic>)
: null,
thirdPartyMeasurementSettings:
json_.containsKey('thirdPartyMeasurementSettings')
? YoutubeAndPartnersThirdPartyMeasurementSettings.fromJson(
json_['thirdPartyMeasurementSettings']
as core.Map<core.String, core.dynamic>)
: null,
videoAdSequenceSettings: json_.containsKey('videoAdSequenceSettings')
? VideoAdSequenceSettings.fromJson(
json_['videoAdSequenceSettings']
as core.Map<core.String, core.dynamic>)
: null,
viewFrequencyCap: json_.containsKey('viewFrequencyCap')
? FrequencyCap.fromJson(json_['viewFrequencyCap']
as core.Map<core.String, core.dynamic>)
: null,
);