line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# Copyright 2020, Google LLC |
2
|
|
|
|
|
|
|
# |
3
|
|
|
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License"); |
4
|
|
|
|
|
|
|
# you may not use this file except in compliance with the License. |
5
|
|
|
|
|
|
|
# You may obtain a copy of the License at |
6
|
|
|
|
|
|
|
# |
7
|
|
|
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0 |
8
|
|
|
|
|
|
|
# |
9
|
|
|
|
|
|
|
# Unless required by applicable law or agreed to in writing, software |
10
|
|
|
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS, |
11
|
|
|
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
12
|
|
|
|
|
|
|
# See the License for the specific language governing permissions and |
13
|
|
|
|
|
|
|
# limitations under the License. |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
use strict; |
17
|
1
|
|
|
1
|
|
681
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
21
|
|
18
|
1
|
|
|
1
|
|
4
|
use base qw(Google::Ads::GoogleAds::BaseEntity); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
22
|
|
19
|
1
|
|
|
1
|
|
5
|
|
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
51
|
|
20
|
|
|
|
|
|
|
use Google::Ads::GoogleAds::Utils::GoogleAdsHelper; |
21
|
1
|
|
|
1
|
|
5
|
|
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
342
|
|
22
|
|
|
|
|
|
|
my ($class, $args) = @_; |
23
|
|
|
|
|
|
|
my $self = { |
24
|
0
|
|
|
0
|
0
|
|
adGroupAdLabelResult => $args->{adGroupAdLabelResult}, |
25
|
|
|
|
|
|
|
adGroupAdResult => $args->{adGroupAdResult}, |
26
|
|
|
|
|
|
|
adGroupAssetResult => $args->{adGroupAssetResult}, |
27
|
|
|
|
|
|
|
adGroupBidModifierResult => $args->{adGroupBidModifierResult}, |
28
|
|
|
|
|
|
|
adGroupCriterionCustomizerResult => |
29
|
|
|
|
|
|
|
$args->{adGroupCriterionCustomizerResult}, |
30
|
|
|
|
|
|
|
adGroupCriterionLabelResult => $args->{adGroupCriterionLabelResult}, |
31
|
|
|
|
|
|
|
adGroupCriterionResult => $args->{adGroupCriterionResult}, |
32
|
|
|
|
|
|
|
adGroupCustomizerResult => $args->{adGroupCustomizerResult}, |
33
|
|
|
|
|
|
|
adGroupExtensionSettingResult => $args->{adGroupExtensionSettingResult}, |
34
|
|
|
|
|
|
|
adGroupFeedResult => $args->{adGroupFeedResult}, |
35
|
|
|
|
|
|
|
adGroupLabelResult => $args->{adGroupLabelResult}, |
36
|
|
|
|
|
|
|
adGroupResult => $args->{adGroupResult}, |
37
|
|
|
|
|
|
|
adParameterResult => $args->{adParameterResult}, |
38
|
|
|
|
|
|
|
adResult => $args->{adResult}, |
39
|
|
|
|
|
|
|
assetGroupAssetResult => $args->{assetGroupAssetResult}, |
40
|
|
|
|
|
|
|
assetGroupListingGroupFilterResult => |
41
|
|
|
|
|
|
|
$args->{assetGroupListingGroupFilterResult}, |
42
|
|
|
|
|
|
|
assetGroupResult => $args->{assetGroupResult}, |
43
|
|
|
|
|
|
|
assetGroupSignalResult => $args->{assetGroupSignalResult}, |
44
|
|
|
|
|
|
|
assetResult => $args->{assetResult}, |
45
|
|
|
|
|
|
|
assetSetAssetResult => $args->{assetSetAssetResult}, |
46
|
|
|
|
|
|
|
assetSetResult => $args->{assetSetResult}, |
47
|
|
|
|
|
|
|
audienceResult => $args->{audienceResult}, |
48
|
|
|
|
|
|
|
biddingDataExclusionResult => $args->{biddingDataExclusionResult}, |
49
|
|
|
|
|
|
|
biddingSeasonalityAdjustmentResult => |
50
|
|
|
|
|
|
|
$args->{biddingSeasonalityAdjustmentResult}, |
51
|
|
|
|
|
|
|
biddingStrategyResult => $args->{biddingStrategyResult}, |
52
|
|
|
|
|
|
|
campaignAssetResult => $args->{campaignAssetResult}, |
53
|
|
|
|
|
|
|
campaignAssetSetResult => $args->{campaignAssetSetResult}, |
54
|
|
|
|
|
|
|
campaignBidModifierResult => $args->{campaignBidModifierResult}, |
55
|
|
|
|
|
|
|
campaignBudgetResult => $args->{campaignBudgetResult}, |
56
|
|
|
|
|
|
|
campaignConversionGoalResult => $args->{campaignConversionGoalResult}, |
57
|
|
|
|
|
|
|
campaignCriterionResult => $args->{campaignCriterionResult}, |
58
|
|
|
|
|
|
|
campaignCustomizerResult => $args->{campaignCustomizerResult}, |
59
|
|
|
|
|
|
|
campaignDraftResult => $args->{campaignDraftResult}, |
60
|
|
|
|
|
|
|
campaignExperimentResult => $args->{campaignExperimentResult}, |
61
|
|
|
|
|
|
|
campaignExtensionSettingResult => $args->{campaignExtensionSettingResult}, |
62
|
|
|
|
|
|
|
campaignFeedResult => $args->{campaignFeedResult}, |
63
|
|
|
|
|
|
|
campaignGroupResult => $args->{campaignGroupResult}, |
64
|
|
|
|
|
|
|
campaignLabelResult => $args->{campaignLabelResult}, |
65
|
|
|
|
|
|
|
campaignResult => $args->{campaignResult}, |
66
|
|
|
|
|
|
|
campaignSharedSetResult => $args->{campaignSharedSetResult}, |
67
|
|
|
|
|
|
|
conversionActionResult => $args->{conversionActionResult}, |
68
|
|
|
|
|
|
|
conversionCustomVariableResult => $args->{conversionCustomVariableResult}, |
69
|
|
|
|
|
|
|
conversionGoalCampaignConfigResult => |
70
|
|
|
|
|
|
|
$args->{conversionGoalCampaignConfigResult}, |
71
|
|
|
|
|
|
|
conversionValueRuleResult => $args->{conversionValueRuleResult}, |
72
|
|
|
|
|
|
|
conversionValueRuleSetResult => $args->{conversionValueRuleSetResult}, |
73
|
|
|
|
|
|
|
customConversionGoalResult => $args->{customConversionGoalResult}, |
74
|
|
|
|
|
|
|
customerAssetResult => $args->{customerAssetResult}, |
75
|
|
|
|
|
|
|
customerConversionGoalResult => $args->{customerConversionGoalResult}, |
76
|
|
|
|
|
|
|
customerCustomizerResult => $args->{customerCustomizerResult}, |
77
|
|
|
|
|
|
|
customerExtensionSettingResult => $args->{customerExtensionSettingResult}, |
78
|
|
|
|
|
|
|
customerFeedResult => $args->{customerFeedResult}, |
79
|
|
|
|
|
|
|
customerLabelResult => $args->{customerLabelResult}, |
80
|
|
|
|
|
|
|
customerNegativeCriterionResult => $args->{customerNegativeCriterionResult}, |
81
|
|
|
|
|
|
|
customerResult => $args->{customerResult}, |
82
|
|
|
|
|
|
|
customizerAttributeResult => $args->{customizerAttributeResult}, |
83
|
|
|
|
|
|
|
extensionFeedItemResult => $args->{extensionFeedItemResult}, |
84
|
|
|
|
|
|
|
feedItemResult => $args->{feedItemResult}, |
85
|
|
|
|
|
|
|
feedItemSetLinkResult => $args->{feedItemSetLinkResult}, |
86
|
|
|
|
|
|
|
feedItemSetResult => $args->{feedItemSetResult}, |
87
|
|
|
|
|
|
|
feedItemTargetResult => $args->{feedItemTargetResult}, |
88
|
|
|
|
|
|
|
feedMappingResult => $args->{feedMappingResult}, |
89
|
|
|
|
|
|
|
feedResult => $args->{feedResult}, |
90
|
|
|
|
|
|
|
keywordPlanAdGroupKeywordResult => $args->{keywordPlanAdGroupKeywordResult}, |
91
|
|
|
|
|
|
|
keywordPlanAdGroupResult => $args->{keywordPlanAdGroupResult}, |
92
|
|
|
|
|
|
|
keywordPlanCampaignKeywordResult => |
93
|
|
|
|
|
|
|
$args->{keywordPlanCampaignKeywordResult}, |
94
|
|
|
|
|
|
|
keywordPlanCampaignResult => $args->{keywordPlanCampaignResult}, |
95
|
|
|
|
|
|
|
keywordPlanResult => $args->{keywordPlanResult}, |
96
|
|
|
|
|
|
|
labelResult => $args->{labelResult}, |
97
|
|
|
|
|
|
|
mediaFileResult => $args->{mediaFileResult}, |
98
|
|
|
|
|
|
|
remarketingActionResult => $args->{remarketingActionResult}, |
99
|
|
|
|
|
|
|
sharedCriterionResult => $args->{sharedCriterionResult}, |
100
|
|
|
|
|
|
|
sharedSetResult => $args->{sharedSetResult}, |
101
|
|
|
|
|
|
|
smartCampaignSettingResult => $args->{smartCampaignSettingResult}, |
102
|
|
|
|
|
|
|
userListResult => $args->{userListResult}}; |
103
|
|
|
|
|
|
|
|
104
|
0
|
|
|
|
|
|
# Delete the unassigned fields in this object for a more concise JSON payload |
105
|
|
|
|
|
|
|
remove_unassigned_fields($self, $args); |
106
|
|
|
|
|
|
|
|
107
|
0
|
|
|
|
|
|
bless $self, $class; |
108
|
|
|
|
|
|
|
return $self; |
109
|
0
|
|
|
|
|
|
} |
110
|
0
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
1; |