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

filter: Statementstmt 85.7% 12 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 4 / 6 Podpod n/a totaltotal 80.0% 16 / 20 CC 1 SCAR 2.9
CC
1
Cov
86%
get_xmlns
2.0
__get_attr_class
2.0
BEGIN
1.0
CRAP 1.3
« lib/Google/Ads/AdWords/v201809/PendingInvitationSelector.pm ↑ Summary lib/Google/Ads/AdWords/v201809/PlatformCampaignEstimate.pm »
1 package Google::Ads::AdWords::v201809::PerformanceTarget;
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 1 ▶use Class::Std::Fast::Storable constructor => 'none';
Subroutine BEGIN: called CC=1 SCAR=0.0
18 1 ▶use base qw(Google::Ads::SOAP::Typelib::ComplexType);
Subroutine BEGIN: called CC=1 SCAR=0.0
19  
20 { # BLOCK to scope variables
21  
22 my %volumeGoalType_of :ATTR(:get<volumeGoalType>);
23 my %volumeTargetValue_of :ATTR(:get<volumeTargetValue>);
24 my %efficiencyTargetType_of :ATTR(:get<efficiencyTargetType>);
25 my %efficiencyTargetValue_of :ATTR(:get<efficiencyTargetValue>);
26 my %spendTarget_of :ATTR(:get<spendTarget>);
27 my %spendTargetType_of :ATTR(:get<spendTargetType>);
28 my %forecastStatus_of :ATTR(:get<forecastStatus>);
29 my %hasPromotedSuggestions_of :ATTR(:get<hasPromotedSuggestions>);
30 my %startDate_of :ATTR(:get<startDate>);
31 my %endDate_of :ATTR(:get<endDate>);
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::v201809::VolumeGoalType',
60 'volumeTargetValue' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
61 'efficiencyTargetType' => 'Google::Ads::AdWords::v201809::EfficiencyTargetType',
62 'efficiencyTargetValue' => 'SOAP::WSDL::XSD::Typelib::Builtin::double',
63 'spendTarget' => 'Google::Ads::AdWords::v201809::Money',
64 'spendTargetType' => 'Google::Ads::AdWords::v201809::SpendTargetType',
65 'forecastStatus' => 'Google::Ads::AdWords::v201809::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::v201809::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/v201809.
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  
« lib/Google/Ads/AdWords/v201809/PendingInvitationSelector.pm ↑ Summary lib/Google/Ads/AdWords/v201809/PlatformCampaignEstimate.pm »