YoutubeAdGroup.fromJson constructor
YoutubeAdGroup.fromJson(
- Map json_
Implementation
YoutubeAdGroup.fromJson(core.Map json_)
: this(
adGroupFormat: json_.containsKey('adGroupFormat')
? json_['adGroupFormat'] as core.String
: null,
adGroupId: json_.containsKey('adGroupId')
? json_['adGroupId'] as core.String
: null,
advertiserId: json_.containsKey('advertiserId')
? json_['advertiserId'] as core.String
: null,
biddingStrategy: json_.containsKey('biddingStrategy')
? YoutubeAndPartnersBiddingStrategy.fromJson(
json_['biddingStrategy']
as core.Map<core.String, core.dynamic>)
: null,
displayName: json_.containsKey('displayName')
? json_['displayName'] as core.String
: null,
entityStatus: json_.containsKey('entityStatus')
? json_['entityStatus'] as core.String
: null,
lineItemId: json_.containsKey('lineItemId')
? json_['lineItemId'] as core.String
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
productFeedData: json_.containsKey('productFeedData')
? ProductFeedData.fromJson(json_['productFeedData']
as core.Map<core.String, core.dynamic>)
: null,
targetingExpansion: json_.containsKey('targetingExpansion')
? TargetingExpansionConfig.fromJson(json_['targetingExpansion']
as core.Map<core.String, core.dynamic>)
: null,
youtubeAdIds: json_.containsKey('youtubeAdIds')
? (json_['youtubeAdIds'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
);