lib/Google/Ads/AdWords/v201809/Trial.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/TrafficEstimatorSelector.pm ↑ Summary lib/Google/Ads/AdWords/v201809/TrialAsyncError.pm »
1 package Google::Ads::AdWords::v201809::Trial;
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 %id_of :ATTR(:get<id>);
23 my %baseCampaignId_of :ATTR(:get<baseCampaignId>);
24 my %draftId_of :ATTR(:get<draftId>);
25 my %budgetId_of :ATTR(:get<budgetId>);
26 my %name_of :ATTR(:get<name>);
27 my %startDate_of :ATTR(:get<startDate>);
28 my %endDate_of :ATTR(:get<endDate>);
29 my %trafficSplitPercent_of :ATTR(:get<trafficSplitPercent>);
30 my %trafficSplitType_of :ATTR(:get<trafficSplitType>);
31 my %status_of :ATTR(:get<status>);
32 my %trialCampaignId_of :ATTR(:get<trialCampaignId>);
33  
34 __PACKAGE__->_factory(
35 [ qw( id
36 baseCampaignId
37 draftId
38 budgetId
39 name
40 startDate
41 endDate
42 trafficSplitPercent
43 trafficSplitType
44 status
45 trialCampaignId
46  
47 ) ],
48 {
49 'id' => \%id_of,
50 'baseCampaignId' => \%baseCampaignId_of,
51 'draftId' => \%draftId_of,
52 'budgetId' => \%budgetId_of,
53 'name' => \%name_of,
54 'startDate' => \%startDate_of,
55 'endDate' => \%endDate_of,
56 'trafficSplitPercent' => \%trafficSplitPercent_of,
57 'trafficSplitType' => \%trafficSplitType_of,
58 'status' => \%status_of,
59 'trialCampaignId' => \%trialCampaignId_of,
60 },
61 {
62 'id' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
63 'baseCampaignId' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
64 'draftId' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
65 'budgetId' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
66 'name' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
67 'startDate' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
68 'endDate' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
69 'trafficSplitPercent' => 'SOAP::WSDL::XSD::Typelib::Builtin::int',
70 'trafficSplitType' => 'Google::Ads::AdWords::v201809::CampaignTrialTrafficSplitType',
71 'status' => 'Google::Ads::AdWords::v201809::TrialStatus',
72 'trialCampaignId' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
73 },
74 {
75  
76 'id' => 'id',
77 'baseCampaignId' => 'baseCampaignId',
78 'draftId' => 'draftId',
79 'budgetId' => 'budgetId',
80 'name' => 'name',
81 'startDate' => 'startDate',
82 'endDate' => 'endDate',
83 'trafficSplitPercent' => 'trafficSplitPercent',
84 'trafficSplitType' => 'trafficSplitType',
85 'status' => 'status',
86 'trialCampaignId' => 'trialCampaignId',
87 }
88 );
89  
90 } # end BLOCK
91  
92  
93  
94  
95  
96  
97  
98 1;
99  
100  
101 =pod
102  
103 =head1 NAME
104  
105 Google::Ads::AdWords::v201809::Trial
106  
107 =head1 DESCRIPTION
108  
109 Perl data type class for the XML Schema defined complexType
110 Trial from the namespace https://adwords.google.com/api/adwords/cm/v201809.
111  
112 Interface for campaign trial entities. A trial is an experiment created by an advertiser from changes in a draft.
113  
114  
115  
116  
117 =head2 PROPERTIES
118  
119 The following properties may be accessed using get_PROPERTY / set_PROPERTY
120 methods:
121  
122 =over
123  
124 =item * id
125  
126  
127 =item * baseCampaignId
128  
129  
130 =item * draftId
131  
132  
133 =item * budgetId
134  
135  
136 =item * name
137  
138  
139 =item * startDate
140  
141  
142 =item * endDate
143  
144  
145 =item * trafficSplitPercent
146  
147  
148 =item * trafficSplitType
149  
150  
151 =item * status
152  
153  
154 =item * trialCampaignId
155  
156  
157  
158  
159 =back
160  
161  
162 =head1 METHODS
163  
164 =head2 new
165  
166 Constructor. The following data structure may be passed to new():
167  
168  
169  
170  
171  
172  
173 =head1 AUTHOR
174  
175 Generated by SOAP::WSDL
176  
177 =cut
178  
« lib/Google/Ads/AdWords/v201809/TrafficEstimatorSelector.pm ↑ Summary lib/Google/Ads/AdWords/v201809/TrialAsyncError.pm »