lib/Google/Ads/AdWords/v201809/NegativeAdGroupCriterion.pm

filter: Statementstmt 81.8% 9 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 60.0% 3 / 5 Podpod n/a totaltotal 75.0% 12 / 16 CC 1 SCAR 3.4
CC
1
Cov
82%
get_xmlns
2.0
__get_attr_class
2.0
BEGIN
1.0
CRAP 1.4
« lib/Google/Ads/AdWords/v201809/MutateMembersOperation.pm ↑ Summary lib/Google/Ads/AdWords/v201809/NegativeCampaignCriterion.pm »
1 package Google::Ads::AdWords::v201809::NegativeAdGroupCriterion;
2 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5  
6 __PACKAGE__->_set_element_form_qualified(1);
7  
8 0 ▶sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201809' };
Subroutine get_xmlns: not called CC=1 SCAR=6.9
9  
10 our $XML_ATTRIBUTE_CLASS;
11 undef $XML_ATTRIBUTE_CLASS;
12  
13 0 ▶sub __get_attr_class {
Subroutine __get_attr_class: not called CC=1 SCAR=6.9
14 0 return $XML_ATTRIBUTE_CLASS;
15 }
16  
17  
18 1 ▶use base qw(Google::Ads::AdWords::v201809::AdGroupCriterion);
Subroutine BEGIN: called CC=1 SCAR=0.0
19 # Variety: sequence
20 use Class::Std::Fast::Storable constructor => 'none';
21 use base qw(Google::Ads::SOAP::Typelib::ComplexType);
22  
23 { # BLOCK to scope variables
24  
25 my %adGroupId_of :ATTR(:get<adGroupId>);
26 my %criterionUse_of :ATTR(:get<criterionUse>);
27 my %criterion_of :ATTR(:get<criterion>);
28 my %labels_of :ATTR(:get<labels>);
29 my %forwardCompatibilityMap_of :ATTR(:get<forwardCompatibilityMap>);
30 my %baseCampaignId_of :ATTR(:get<baseCampaignId>);
31 my %baseAdGroupId_of :ATTR(:get<baseAdGroupId>);
32 my %AdGroupCriterion__Type_of :ATTR(:get<AdGroupCriterion__Type>);
33  
34 __PACKAGE__->_factory(
35 [ qw( adGroupId
36 criterionUse
37 criterion
38 labels
39 forwardCompatibilityMap
40 baseCampaignId
41 baseAdGroupId
42 AdGroupCriterion__Type
43  
44 ) ],
45 {
46 'adGroupId' => \%adGroupId_of,
47 'criterionUse' => \%criterionUse_of,
48 'criterion' => \%criterion_of,
49 'labels' => \%labels_of,
50 'forwardCompatibilityMap' => \%forwardCompatibilityMap_of,
51 'baseCampaignId' => \%baseCampaignId_of,
52 'baseAdGroupId' => \%baseAdGroupId_of,
53 'AdGroupCriterion__Type' => \%AdGroupCriterion__Type_of,
54 },
55 {
56 'adGroupId' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
57 'criterionUse' => 'Google::Ads::AdWords::v201809::CriterionUse',
58 'criterion' => 'Google::Ads::AdWords::v201809::Criterion',
59 'labels' => 'Google::Ads::AdWords::v201809::Label',
60 'forwardCompatibilityMap' => 'Google::Ads::AdWords::v201809::String_StringMapEntry',
61 'baseCampaignId' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
62 'baseAdGroupId' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
63 'AdGroupCriterion__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
64 },
65 {
66  
67 'adGroupId' => 'adGroupId',
68 'criterionUse' => 'criterionUse',
69 'criterion' => 'criterion',
70 'labels' => 'labels',
71 'forwardCompatibilityMap' => 'forwardCompatibilityMap',
72 'baseCampaignId' => 'baseCampaignId',
73 'baseAdGroupId' => 'baseAdGroupId',
74 'AdGroupCriterion__Type' => 'AdGroupCriterion.Type',
75 }
76 );
77  
78 } # end BLOCK
79  
80  
81  
82  
83  
84  
85  
86 1;
87  
88  
89 =pod
90  
91 =head1 NAME
92  
93 Google::Ads::AdWords::v201809::NegativeAdGroupCriterion
94  
95 =head1 DESCRIPTION
96  
97 Perl data type class for the XML Schema defined complexType
98 NegativeAdGroupCriterion from the namespace https://adwords.google.com/api/adwords/cm/v201809.
99  
100 A negative criterion in an adgroup.
101  
102  
103  
104  
105 =head2 PROPERTIES
106  
107 The following properties may be accessed using get_PROPERTY / set_PROPERTY
108 methods:
109  
110 =over
111  
112  
113  
114 =back
115  
116  
117 =head1 METHODS
118  
119 =head2 new
120  
121 Constructor. The following data structure may be passed to new():
122  
123  
124  
125  
126  
127  
128 =head1 AUTHOR
129  
130 Generated by SOAP::WSDL
131  
132 =cut
133  
« lib/Google/Ads/AdWords/v201809/MutateMembersOperation.pm ↑ Summary lib/Google/Ads/AdWords/v201809/NegativeCampaignCriterion.pm »