V24/Resources/AdGroupCriterion.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
« V24/Resources/AdGroupCreativeAssetCombinationData.pm ↑ Summary V24/Resources/AdGroupCriterionCustomizer.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::V24::Resources::AdGroupCriterion;
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 adGroup => $args->{adGroup},
27 ageRange => $args->{ageRange},
28 appPaymentModel => $args->{appPaymentModel},
29 approvalStatus => $args->{approvalStatus},
30 audience => $args->{audience},
31 bidModifier => $args->{bidModifier},
32 brandList => $args->{brandList},
33 combinedAudience => $args->{combinedAudience},
34 cpcBidMicros => $args->{cpcBidMicros},
35 cpmBidMicros => $args->{cpmBidMicros},
36 cpvBidMicros => $args->{cpvBidMicros},
37 criterionId => $args->{criterionId},
38 customAffinity => $args->{customAffinity},
39 customAudience => $args->{customAudience},
40 customIntent => $args->{customIntent},
41 disapprovalReasons => $args->{disapprovalReasons},
42 displayName => $args->{displayName},
43 effectiveCpcBidMicros => $args->{effectiveCpcBidMicros},
44 effectiveCpcBidSource => $args->{effectiveCpcBidSource},
45 effectiveCpmBidMicros => $args->{effectiveCpmBidMicros},
46 effectiveCpmBidSource => $args->{effectiveCpmBidSource},
47 effectiveCpvBidMicros => $args->{effectiveCpvBidMicros},
48 effectiveCpvBidSource => $args->{effectiveCpvBidSource},
49 effectivePercentCpcBidMicros => $args->{effectivePercentCpcBidMicros},
50 effectivePercentCpcBidSource => $args->{effectivePercentCpcBidSource},
51 extendedDemographic => $args->{extendedDemographic},
52 finalMobileUrls => $args->{finalMobileUrls},
53 finalUrlSuffix => $args->{finalUrlSuffix},
54 finalUrls => $args->{finalUrls},
55 gender => $args->{gender},
56 incomeRange => $args->{incomeRange},
57 keyword => $args->{keyword},
58 labels => $args->{labels},
59 language => $args->{language},
60 lifeEvent => $args->{lifeEvent},
61 listingGroup => $args->{listingGroup},
62 location => $args->{location},
63 mobileAppCategory => $args->{mobileAppCategory},
64 mobileApplication => $args->{mobileApplication},
65 negative => $args->{negative},
66 parentalStatus => $args->{parentalStatus},
67 percentCpcBidMicros => $args->{percentCpcBidMicros},
68 placement => $args->{placement},
69 positionEstimates => $args->{positionEstimates},
70 primaryStatus => $args->{primaryStatus},
71 primaryStatusReasons => $args->{primaryStatusReasons},
72 qualityInfo => $args->{qualityInfo},
73 resourceName => $args->{resourceName},
74 retailFilterBundle => $args->{retailFilterBundle},
75 status => $args->{status},
76 systemServingStatus => $args->{systemServingStatus},
77 topic => $args->{topic},
78 trackingUrlTemplate => $args->{trackingUrlTemplate},
79 type => $args->{type},
80 urlCustomParameters => $args->{urlCustomParameters},
81 userInterest => $args->{userInterest},
82 userList => $args->{userList},
83 verticalAdsItemGroupRuleList => $args->{verticalAdsItemGroupRuleList},
84 videoLineup => $args->{videoLineup},
85 webpage => $args->{webpage},
86 youtubeChannel => $args->{youtubeChannel},
87 0 youtubeVideo => $args->{youtubeVideo}};
88  
89 # Delete the unassigned fields in this object for a more concise JSON payload
90 0 remove_unassigned_fields($self, $args);
91  
92 0 bless $self, $class;
93 0 return $self;
94 }
95  
96 1 1;
« V24/Resources/AdGroupCreativeAssetCombinationData.pm ↑ Summary V24/Resources/AdGroupCriterionCustomizer.pm »