blib/lib/Google/Ads/AdWords/v201309/BulkMutateJob.pm untested

filter: Statementstmt 0.0% 0 / 40 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 7 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 49 CC 1 SCAR 6.9
CC
1
Cov
0%
get_xmlns
2.0
__get_attr_class
2.0
BEGIN
2.0
CRAP 2.0
1 package Google::Ads::AdWords::v201309::BulkMutateJob;
2 use strict;
3 use warnings;
4  
5  
6 __PACKAGE__->_set_element_form_qualified(1);
7  
8 sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201309' };
9  
10 our $XML_ATTRIBUTE_CLASS;
11 undef $XML_ATTRIBUTE_CLASS;
12  
13 sub __get_attr_class {
14 return $XML_ATTRIBUTE_CLASS;
15 }
16  
17  
18 use base qw(Google::Ads::AdWords::v201309::Job);
19 # Variety: sequence
20 use Class::Std::Fast::Storable constructor => 'none';
21 use base qw(Google::Ads::SOAP::Typelib::ComplexType);
22  
23 Class::Std::initialize();
24  
25 { # BLOCK to scope variables
26  
27 my %failureReason_of :ATTR(:get<failureReason>);
28 my %stats_of :ATTR(:get<stats>);
29 my %billingSummary_of :ATTR(:get<billingSummary>);
30 my %Job__Type_of :ATTR(:get<Job__Type>);
31 my %id_of :ATTR(:get<id>);
32 my %policy_of :ATTR(:get<policy>);
33 my %request_of :ATTR(:get<request>);
34 my %status_of :ATTR(:get<status>);
35 my %history_of :ATTR(:get<history>);
36 my %result_of :ATTR(:get<result>);
37 my %numRequestParts_of :ATTR(:get<numRequestParts>);
38 my %numRequestPartsReceived_of :ATTR(:get<numRequestPartsReceived>);
39  
40 __PACKAGE__->_factory(
41 [ qw( failureReason
42 stats
43 billingSummary
44 Job__Type
45 id
46 policy
47 request
48 status
49 history
50 result
51 numRequestParts
52 numRequestPartsReceived
53  
54 ) ],
55 {
56 'failureReason' => \%failureReason_of,
57 'stats' => \%stats_of,
58 'billingSummary' => \%billingSummary_of,
59 'Job__Type' => \%Job__Type_of,
60 'id' => \%id_of,
61 'policy' => \%policy_of,
62 'request' => \%request_of,
63 'status' => \%status_of,
64 'history' => \%history_of,
65 'result' => \%result_of,
66 'numRequestParts' => \%numRequestParts_of,
67 'numRequestPartsReceived' => \%numRequestPartsReceived_of,
68 },
69 {
70 'failureReason' => 'Google::Ads::AdWords::v201309::ApiErrorReason',
71 'stats' => 'Google::Ads::AdWords::v201309::JobStats',
72 'billingSummary' => 'Google::Ads::AdWords::v201309::BillingSummary',
73 'Job__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
74 'id' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
75 'policy' => 'Google::Ads::AdWords::v201309::BulkMutateJobPolicy',
76 'request' => 'Google::Ads::AdWords::v201309::BulkMutateRequest',
77 'status' => 'Google::Ads::AdWords::v201309::BasicJobStatus',
78 'history' => 'Google::Ads::AdWords::v201309::BulkMutateJobEvent',
79 'result' => 'Google::Ads::AdWords::v201309::BulkMutateResult',
80 'numRequestParts' => 'SOAP::WSDL::XSD::Typelib::Builtin::int',
81 'numRequestPartsReceived' => 'SOAP::WSDL::XSD::Typelib::Builtin::int',
82 },
83 {
84  
85 'failureReason' => 'failureReason',
86 'stats' => 'stats',
87 'billingSummary' => 'billingSummary',
88 'Job__Type' => 'Job.Type',
89 'id' => 'id',
90 'policy' => 'policy',
91 'request' => 'request',
92 'status' => 'status',
93 'history' => 'history',
94 'result' => 'result',
95 'numRequestParts' => 'numRequestParts',
96 'numRequestPartsReceived' => 'numRequestPartsReceived',
97 }
98 );
99  
100 } # end BLOCK
101  
102  
103  
104  
105  
106  
107  
108 1;
109  
110  
111 =pod
112  
113 =head1 NAME
114  
115 Google::Ads::AdWords::v201309::BulkMutateJob
116  
117 =head1 DESCRIPTION
118  
119 Perl data type class for the XML Schema defined complexType
120 BulkMutateJob from the namespace https://adwords.google.com/api/adwords/cm/v201309.
121  
122 A {@code BulkMutateJob} is essentially a mixed collection of mutate operations from the following AdWords API campaign management services: <ul> <li>{@link CampaignService}</li> <li>{@link CampaignTargetService}</li> <li>{@link CampaignCriterionService}</li> <li>{@link AdGroupService}</li> <li>{@link AdGroupAdService}</li> <li>{@link AdGroupCriterionService}</li> </ul> <p>The mutate operations in a job's request are constructed in exactly the same way as they are for synchronous calls to these services.</p> <p>The mutate operations are grouped by their scoping entity in the AdWords customer tree. Currently, mutate operations can be grouped either by the customer or by their parent campaign. However, they cannot be grouped both ways - some by customer and others by campaigns - in the same job.</p> <p class="note"><b>Note:</b> A job may have no more than 500,000 mutate operations in total, and no more than 10 different scoping campaigns.</p> <p>The mutate operations must be packaged into containers called {@code Operation Streams}, each tagged with the ID of the scoping entity of its operations.</p> <p>To facilitate the building of very large bulk mutate jobs, the operation streams of a job can be submitted using multiple request parts. A job is queued for processing as soon as it can be determined that all of its request parts have been received.</p> <p class="note"><b>Note:</b> A job may have no more than 100 request parts. Each part may have no more than 25 operation streams and no more than 10,000 operations in total.</p>
123  
124  
125  
126  
127 =head2 PROPERTIES
128  
129 The following properties may be accessed using get_PROPERTY / set_PROPERTY
130 methods:
131  
132 =over
133  
134 =item * id
135  
136  
137 =item * policy
138  
139  
140 =item * request
141  
142  
143 =item * status
144  
145  
146 =item * history
147  
148  
149 =item * result
150  
151  
152 =item * numRequestParts
153  
154  
155 =item * numRequestPartsReceived
156  
157  
158  
159  
160 =back
161  
162  
163 =head1 METHODS
164  
165 =head2 new
166  
167 Constructor. The following data structure may be passed to new():
168  
169  
170  
171  
172  
173  
174 =head1 AUTHOR
175  
176 Generated by SOAP::WSDL
177  
178 =cut
179