V26/Resources/Campaign.pm

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