V23/Resources/Campaign.pm

filter: Statementstmt 72.2% 13 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 80.0% 4 / 5 Podpod 0.0% 0 / 1 totaltotal 70.8% 17 / 24 CC 1 SCAR 1.8
CC
1
Cov
72%
new
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« V23/Resources/CalloutAssetRecommendation.pm ↑ Summary V23/Resources/CampaignAggregateAssetView.pm »
1 # Copyright 2026, 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 package Google::Ads::GoogleAds::V23::Resources::Campaign;
16  
17 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
18 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
19 1 ▶use base qw(Google::Ads::GoogleAds::BaseEntity);
Subroutine BEGIN: called CC=1 SCAR=0.0
20  
21 1 ▶use Google::Ads::GoogleAds::Utils::GoogleAdsHelper;
Subroutine BEGIN: called CC=1 SCAR=0.0
22  
23 0 ▶sub new {
Subroutine new: not called CC=1 SCAR=6.9
Pod undocumented
24 0 my ($class, $args) = @_;
25 my $self = {
26 accessibleBiddingStrategy => $args->{accessibleBiddingStrategy},
27 adServingOptimizationStatus => $args->{adServingOptimizationStatus},
28 advertisingChannelSubType => $args->{advertisingChannelSubType},
29 advertisingChannelType => $args->{advertisingChannelType},
30 aiMaxSetting => $args->{aiMaxSetting},
31 appCampaignSetting => $args->{appCampaignSetting},
32 assetAutomationSettings => $args->{assetAutomationSettings},
33 audienceSetting => $args->{audienceSetting},
34 baseCampaign => $args->{baseCampaign},
35 biddingStrategy => $args->{biddingStrategy},
36 biddingStrategySystemStatus => $args->{biddingStrategySystemStatus},
37 biddingStrategyType => $args->{biddingStrategyType},
38 brandGuidelines => $args->{brandGuidelines},
39 brandGuidelinesEnabled => $args->{brandGuidelinesEnabled},
40 campaignBudget => $args->{campaignBudget},
41 campaignGroup => $args->{campaignGroup},
42 commission => $args->{commission},
43 containsEuPoliticalAdvertising => $args->{containsEuPoliticalAdvertising},
44 demandGenCampaignSettings => $args->{demandGenCampaignSettings},
45 dynamicSearchAdsSetting => $args->{dynamicSearchAdsSetting},
46 endDateTime => $args->{endDateTime},
47 excludedParentAssetFieldTypes => $args->{excludedParentAssetFieldTypes},
48 excludedParentAssetSetTypes => $args->{excludedParentAssetSetTypes},
49 experimentType => $args->{experimentType},
50 feedTypes => $args->{feedTypes},
51 finalUrlSuffix => $args->{finalUrlSuffix},
52 fixedCpm => $args->{fixedCpm},
53 frequencyCaps => $args->{frequencyCaps},
54 geoTargetTypeSetting => $args->{geoTargetTypeSetting},
55 hotelPropertyAssetSet => $args->{hotelPropertyAssetSet},
56 hotelSetting => $args->{hotelSetting},
57 id => $args->{id},
58 keywordMatchType => $args->{keywordMatchType},
59 labels => $args->{labels},
60 listingType => $args->{listingType},
61 localCampaignSetting => $args->{localCampaignSetting},
62 localServicesCampaignSettings => $args->{localServicesCampaignSettings},
63 manualCpa => $args->{manualCpa},
64 manualCpc => $args->{manualCpc},
65 manualCpm => $args->{manualCpm},
66 manualCpv => $args->{manualCpv},
67 maximizeConversionValue => $args->{maximizeConversionValue},
68 maximizeConversions => $args->{maximizeConversions},
69 missingEuPoliticalAdvertisingDeclaration =>
70 $args->{missingEuPoliticalAdvertisingDeclaration},
71 name => $args->{name},
72 networkSettings => $args->{networkSettings},
73 optimizationGoalSetting => $args->{optimizationGoalSetting},
74 optimizationScore => $args->{optimizationScore},
75 paymentMode => $args->{paymentMode},
76 percentCpc => $args->{percentCpc},
77 performanceMaxUpgrade => $args->{performanceMaxUpgrade},
78 pmaxCampaignSettings => $args->{pmaxCampaignSettings},
79 primaryStatus => $args->{primaryStatus},
80 primaryStatusReasons => $args->{primaryStatusReasons},
81 realTimeBiddingSetting => $args->{realTimeBiddingSetting},
82 resourceName => $args->{resourceName},
83 selectiveOptimization => $args->{selectiveOptimization},
84 servingStatus => $args->{servingStatus},
85 shoppingSetting => $args->{shoppingSetting},
86 startDateTime => $args->{startDateTime},
87 status => $args->{status},
88 targetCpa => $args->{targetCpa},
89 targetCpc => $args->{targetCpc},
90 targetCpm => $args->{targetCpm},
91 targetCpv => $args->{targetCpv},
92 targetImpressionShare => $args->{targetImpressionShare},
93 targetRoas => $args->{targetRoas},
94 targetSpend => $args->{targetSpend},
95 targetingSetting => $args->{targetingSetting},
96 textGuidelines => $args->{textGuidelines},
97 thirdPartyIntegrationPartners => $args->{thirdPartyIntegrationPartners},
98 trackingSetting => $args->{trackingSetting},
99 trackingUrlTemplate => $args->{trackingUrlTemplate},
100 travelCampaignSettings => $args->{travelCampaignSettings},
101 urlCustomParameters => $args->{urlCustomParameters},
102 vanityPharma => $args->{vanityPharma},
103 videoBrandSafetySuitability => $args->{videoBrandSafetySuitability},
104 0 videoCampaignSettings => $args->{videoCampaignSettings}};
105  
106 # Delete the unassigned fields in this object for a more concise JSON payload
107 0 remove_unassigned_fields($self, $args);
108  
109 0 bless $self, $class;
110 0 return $self;
111 }
112  
113 1 1;
« V23/Resources/CalloutAssetRecommendation.pm ↑ Summary V23/Resources/CampaignAggregateAssetView.pm »