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
|
|
760
|
use warnings; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
24
|
|
18
|
1
|
|
|
1
|
|
5
|
use base qw(Google::Ads::GoogleAds::BaseEntity); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
34
|
|
19
|
1
|
|
|
1
|
|
6
|
|
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
58
|
|
20
|
|
|
|
|
|
|
use Google::Ads::GoogleAds::Utils::GoogleAdsHelper; |
21
|
1
|
|
|
1
|
|
7
|
|
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
400
|
|
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
|
|
|
|
|
|
|
experimentArmResult => $args->{experimentArmResult}, |
84
|
|
|
|
|
|
|
experimentResult => $args->{experimentResult}, |
85
|
|
|
|
|
|
|
extensionFeedItemResult => $args->{extensionFeedItemResult}, |
86
|
|
|
|
|
|
|
feedItemResult => $args->{feedItemResult}, |
87
|
|
|
|
|
|
|
feedItemSetLinkResult => $args->{feedItemSetLinkResult}, |
88
|
|
|
|
|
|
|
feedItemSetResult => $args->{feedItemSetResult}, |
89
|
|
|
|
|
|
|
feedItemTargetResult => $args->{feedItemTargetResult}, |
90
|
|
|
|
|
|
|
feedMappingResult => $args->{feedMappingResult}, |
91
|
|
|
|
|
|
|
feedResult => $args->{feedResult}, |
92
|
|
|
|
|
|
|
keywordPlanAdGroupKeywordResult => $args->{keywordPlanAdGroupKeywordResult}, |
93
|
|
|
|
|
|
|
keywordPlanAdGroupResult => $args->{keywordPlanAdGroupResult}, |
94
|
|
|
|
|
|
|
keywordPlanCampaignKeywordResult => |
95
|
|
|
|
|
|
|
$args->{keywordPlanCampaignKeywordResult}, |
96
|
|
|
|
|
|
|
keywordPlanCampaignResult => $args->{keywordPlanCampaignResult}, |
97
|
|
|
|
|
|
|
keywordPlanResult => $args->{keywordPlanResult}, |
98
|
|
|
|
|
|
|
labelResult => $args->{labelResult}, |
99
|
|
|
|
|
|
|
mediaFileResult => $args->{mediaFileResult}, |
100
|
|
|
|
|
|
|
remarketingActionResult => $args->{remarketingActionResult}, |
101
|
|
|
|
|
|
|
sharedCriterionResult => $args->{sharedCriterionResult}, |
102
|
|
|
|
|
|
|
sharedSetResult => $args->{sharedSetResult}, |
103
|
|
|
|
|
|
|
smartCampaignSettingResult => $args->{smartCampaignSettingResult}, |
104
|
|
|
|
|
|
|
userListResult => $args->{userListResult}}; |
105
|
|
|
|
|
|
|
|
106
|
0
|
|
|
|
|
|
# Delete the unassigned fields in this object for a more concise JSON payload |
107
|
|
|
|
|
|
|
remove_unassigned_fields($self, $args); |
108
|
|
|
|
|
|
|
|
109
|
0
|
|
|
|
|
|
bless $self, $class; |
110
|
|
|
|
|
|
|
return $self; |
111
|
0
|
|
|
|
|
|
} |
112
|
0
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
1; |