File Coverage

lib/Google/Ads/AdWords/v201708/PerformanceTarget.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::v201708::PerformanceTarget;
2 1     1   5868 use strict;
  1         2  
  1         31  
3 1     1   7 use warnings;
  1         2  
  1         93  
4              
5              
6             __PACKAGE__->_set_element_form_qualified(1);
7              
8 0     0     sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201708' };
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 1     1   5 use Class::Std::Fast::Storable constructor => 'none';
  1         3  
  1         10  
18 1     1   144 use base qw(Google::Ads::SOAP::Typelib::ComplexType);
  1         2  
  1         88  
19              
20             { # BLOCK to scope variables
21              
22             my %volumeGoalType_of :ATTR(:get);
23             my %volumeTargetValue_of :ATTR(:get);
24             my %efficiencyTargetType_of :ATTR(:get);
25             my %efficiencyTargetValue_of :ATTR(:get);
26             my %spendTarget_of :ATTR(:get);
27             my %spendTargetType_of :ATTR(:get);
28             my %forecastStatus_of :ATTR(:get);
29             my %hasPromotedSuggestions_of :ATTR(:get);
30             my %startDate_of :ATTR(:get);
31             my %endDate_of :ATTR(:get);
32              
33             __PACKAGE__->_factory(
34             [ qw( volumeGoalType
35             volumeTargetValue
36             efficiencyTargetType
37             efficiencyTargetValue
38             spendTarget
39             spendTargetType
40             forecastStatus
41             hasPromotedSuggestions
42             startDate
43             endDate
44              
45             ) ],
46             {
47             'volumeGoalType' => \%volumeGoalType_of,
48             'volumeTargetValue' => \%volumeTargetValue_of,
49             'efficiencyTargetType' => \%efficiencyTargetType_of,
50             'efficiencyTargetValue' => \%efficiencyTargetValue_of,
51             'spendTarget' => \%spendTarget_of,
52             'spendTargetType' => \%spendTargetType_of,
53             'forecastStatus' => \%forecastStatus_of,
54             'hasPromotedSuggestions' => \%hasPromotedSuggestions_of,
55             'startDate' => \%startDate_of,
56             'endDate' => \%endDate_of,
57             },
58             {
59             'volumeGoalType' => 'Google::Ads::AdWords::v201708::VolumeGoalType',
60             'volumeTargetValue' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
61             'efficiencyTargetType' => 'Google::Ads::AdWords::v201708::EfficiencyTargetType',
62             'efficiencyTargetValue' => 'SOAP::WSDL::XSD::Typelib::Builtin::double',
63             'spendTarget' => 'Google::Ads::AdWords::v201708::Money',
64             'spendTargetType' => 'Google::Ads::AdWords::v201708::SpendTargetType',
65             'forecastStatus' => 'Google::Ads::AdWords::v201708::PerformanceTargetStatus',
66             'hasPromotedSuggestions' => 'SOAP::WSDL::XSD::Typelib::Builtin::boolean',
67             'startDate' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
68             'endDate' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
69             },
70             {
71              
72             'volumeGoalType' => 'volumeGoalType',
73             'volumeTargetValue' => 'volumeTargetValue',
74             'efficiencyTargetType' => 'efficiencyTargetType',
75             'efficiencyTargetValue' => 'efficiencyTargetValue',
76             'spendTarget' => 'spendTarget',
77             'spendTargetType' => 'spendTargetType',
78             'forecastStatus' => 'forecastStatus',
79             'hasPromotedSuggestions' => 'hasPromotedSuggestions',
80             'startDate' => 'startDate',
81             'endDate' => 'endDate',
82             }
83             );
84              
85             } # end BLOCK
86              
87              
88              
89              
90              
91              
92              
93             1;
94              
95              
96             =pod
97              
98             =head1 NAME
99              
100             Google::Ads::AdWords::v201708::PerformanceTarget
101              
102             =head1 DESCRIPTION
103              
104             Perl data type class for the XML Schema defined complexType
105             PerformanceTarget from the namespace https://adwords.google.com/api/adwords/cm/v201708.
106              
107             This class is used to configure various Performance Targets.
108              
109              
110              
111              
112             =head2 PROPERTIES
113              
114             The following properties may be accessed using get_PROPERTY / set_PROPERTY
115             methods:
116              
117             =over
118              
119             =item * volumeGoalType
120              
121              
122             =item * volumeTargetValue
123              
124              
125             =item * efficiencyTargetType
126              
127              
128             =item * efficiencyTargetValue
129              
130              
131             =item * spendTarget
132              
133              
134             =item * spendTargetType
135              
136              
137             =item * forecastStatus
138              
139              
140             =item * hasPromotedSuggestions
141              
142              
143             =item * startDate
144              
145              
146             =item * endDate
147              
148              
149              
150              
151             =back
152              
153              
154             =head1 METHODS
155              
156             =head2 new
157              
158             Constructor. The following data structure may be passed to new():
159              
160              
161              
162              
163              
164              
165             =head1 AUTHOR
166              
167             Generated by SOAP::WSDL
168              
169             =cut
170