V25/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
« V25/Resources/AdGroupCreativeAssetCombinationData.pm ↑ Summary V25/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::V25::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 entityBid => $args->{entityBid},
52 extendedDemographic => $args->{extendedDemographic},
53 finalMobileUrls => $args->{finalMobileUrls},
54 finalUrlSuffix => $args->{finalUrlSuffix},
55 finalUrls => $args->{finalUrls},
56 gender => $args->{gender},
57 incomeRange => $args->{incomeRange},
58 keyword => $args->{keyword},
59 labels => $args->{labels},
60 language => $args->{language},
61 lifeEvent => $args->{lifeEvent},
62 listingGroup => $args->{listingGroup},
63 location => $args->{location},
64 mobileAppCategory => $args->{mobileAppCategory},
65 mobileApplication => $args->{mobileApplication},
66 negative => $args->{negative},
67 parentalStatus => $args->{parentalStatus},
68 percentCpcBidMicros => $args->{percentCpcBidMicros},
69 placement => $args->{placement},
70 positionEstimates => $args->{positionEstimates},
71 primaryStatus => $args->{primaryStatus},
72 primaryStatusReasons => $args->{primaryStatusReasons},
73 qualityInfo => $args->{qualityInfo},
74 resourceName => $args->{resourceName},
75 retailFilterBundle => $args->{retailFilterBundle},
76 status => $args->{status},
77 systemServingStatus => $args->{systemServingStatus},
78 topic => $args->{topic},
79 trackingUrlTemplate => $args->{trackingUrlTemplate},
80 type => $args->{type},
81 urlCustomParameters => $args->{urlCustomParameters},
82 userInterest => $args->{userInterest},
83 userList => $args->{userList},
84 verticalAdsItemGroupRuleList => $args->{verticalAdsItemGroupRuleList},
85 videoLineup => $args->{videoLineup},
86 webpage => $args->{webpage},
87 youtubeChannel => $args->{youtubeChannel},
88 youtubeVideo => $args->{youtubeVideo}
89 0 };
90  
91 # Delete the unassigned fields in this object for a more concise JSON payload
92 0 remove_unassigned_fields($self, $args);
93  
94 0 bless $self, $class;
95 0 return $self;
96 }
97  
98 1 1;
« V25/Resources/AdGroupCreativeAssetCombinationData.pm ↑ Summary V25/Resources/AdGroupCriterionCustomizer.pm »