File Coverage

lib/Google/Ads/AdWords/v201702/AdGroupCriterion.pm
Criterion Covered Total %
statement 12 14 85.7
branch n/a
condition n/a
subroutine 4 6 66.6
pod n/a
total 16 20 80.0


line stmt bran cond sub pod time code
1             package Google::Ads::AdWords::v201702::AdGroupCriterion;
2 2     2   1793 use strict;
  2         8  
  2         67  
3 2     2   12 use warnings;
  2         6  
  2         233  
4              
5              
6             __PACKAGE__->_set_element_form_qualified(1);
7              
8 0     0     sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201702' };
9              
10             our $XML_ATTRIBUTE_CLASS;
11             undef $XML_ATTRIBUTE_CLASS;
12              
13             sub __get_attr_class {
14 0     0     return $XML_ATTRIBUTE_CLASS;
15             }
16              
17 2     2   17 use Class::Std::Fast::Storable constructor => 'none';
  2         6  
  2         24  
18 2     2   417 use base qw(Google::Ads::SOAP::Typelib::ComplexType);
  2         6  
  2         393  
19              
20             { # BLOCK to scope variables
21              
22             my %adGroupId_of :ATTR(:get);
23             my %criterionUse_of :ATTR(:get);
24             my %criterion_of :ATTR(:get);
25             my %labels_of :ATTR(:get);
26             my %forwardCompatibilityMap_of :ATTR(:get);
27             my %baseCampaignId_of :ATTR(:get);
28             my %baseAdGroupId_of :ATTR(:get);
29             my %AdGroupCriterion__Type_of :ATTR(:get);
30              
31             __PACKAGE__->_factory(
32             [ qw( adGroupId
33             criterionUse
34             criterion
35             labels
36             forwardCompatibilityMap
37             baseCampaignId
38             baseAdGroupId
39             AdGroupCriterion__Type
40              
41             ) ],
42             {
43             'adGroupId' => \%adGroupId_of,
44             'criterionUse' => \%criterionUse_of,
45             'criterion' => \%criterion_of,
46             'labels' => \%labels_of,
47             'forwardCompatibilityMap' => \%forwardCompatibilityMap_of,
48             'baseCampaignId' => \%baseCampaignId_of,
49             'baseAdGroupId' => \%baseAdGroupId_of,
50             'AdGroupCriterion__Type' => \%AdGroupCriterion__Type_of,
51             },
52             {
53             'adGroupId' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
54             'criterionUse' => 'Google::Ads::AdWords::v201702::CriterionUse',
55             'criterion' => 'Google::Ads::AdWords::v201702::Criterion',
56             'labels' => 'Google::Ads::AdWords::v201702::Label',
57             'forwardCompatibilityMap' => 'Google::Ads::AdWords::v201702::String_StringMapEntry',
58             'baseCampaignId' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
59             'baseAdGroupId' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
60             'AdGroupCriterion__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
61             },
62             {
63              
64             'adGroupId' => 'adGroupId',
65             'criterionUse' => 'criterionUse',
66             'criterion' => 'criterion',
67             'labels' => 'labels',
68             'forwardCompatibilityMap' => 'forwardCompatibilityMap',
69             'baseCampaignId' => 'baseCampaignId',
70             'baseAdGroupId' => 'baseAdGroupId',
71             'AdGroupCriterion__Type' => 'AdGroupCriterion.Type',
72             }
73             );
74              
75             } # end BLOCK
76              
77              
78              
79              
80              
81              
82              
83             1;
84              
85              
86             =pod
87              
88             =head1 NAME
89              
90             Google::Ads::AdWords::v201702::AdGroupCriterion
91              
92             =head1 DESCRIPTION
93              
94             Perl data type class for the XML Schema defined complexType
95             AdGroupCriterion from the namespace https://adwords.google.com/api/adwords/cm/v201702.
96              
97             Represents a criterion in an ad group, used with AdGroupCriterionService.
98              
99              
100              
101              
102             =head2 PROPERTIES
103              
104             The following properties may be accessed using get_PROPERTY / set_PROPERTY
105             methods:
106              
107             =over
108              
109             =item * adGroupId
110              
111              
112             =item * criterionUse
113              
114              
115             =item * criterion
116              
117              
118             =item * labels
119              
120              
121             =item * forwardCompatibilityMap
122              
123              
124             =item * baseCampaignId
125              
126              
127             =item * baseAdGroupId
128              
129              
130             =item * AdGroupCriterion__Type
131              
132             Note: The name of this property has been altered, because it didn't match
133             perl's notion of variable/subroutine names. The altered name is used in
134             perl code only, XML output uses the original name:
135              
136             AdGroupCriterion.Type
137              
138              
139              
140              
141             =back
142              
143              
144             =head1 METHODS
145              
146             =head2 new
147              
148             Constructor. The following data structure may be passed to new():
149              
150              
151              
152              
153              
154              
155             =head1 AUTHOR
156              
157             Generated by SOAP::WSDL
158              
159             =cut
160