lib/Google/Ads/AdWords/v201809/ConstantDataService/ConstantDataServiceInterfacePort.pm

filter: Statementstmt 100% 15 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 100% 20 / 20 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« lib/Google/Ads/AdWords/v201809/ConstantData.pm ↑ Summary lib/Google/Ads/AdWords/v201809/ConversionTrackerService/ConversionTrackerServiceInterfacePort.pm »
1 package Google::Ads::AdWords::v201809::ConstantDataService::ConstantDataServiceInterfacePort;
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 1 ▶use Class::Std::Fast::Storable;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶use Scalar::Util qw(blessed);
Subroutine BEGIN: called CC=1 SCAR=0.0
6 1 ▶use base qw(SOAP::WSDL::Client::Base);
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 # only load if it hasn't been loaded before
9 require Google::Ads::AdWords::v201809::TypeMaps::ConstantDataService
10 if not Google::Ads::AdWords::v201809::TypeMaps::ConstantDataService->can('get_class');
11  
12 sub START {
13 $_[0]->set_proxy('https://adwords.google.com/api/adwords/cm/v201809/ConstantDataService') if not $_[2]->{proxy};
14 $_[0]->set_class_resolver('Google::Ads::AdWords::v201809::TypeMaps::ConstantDataService')
15 if not $_[2]->{class_resolver};
16  
17 $_[0]->set_prefix($_[2]->{use_prefix}) if exists $_[2]->{use_prefix};
18 }
19  
20 sub getAgeRangeCriterion {
21 my ($self, $body, $header) = @_;
22 die "getAgeRangeCriterion must be called as object method (\$self is <$self>)" if not blessed($self);
23 return $self->SUPER::call({
24 operation => 'getAgeRangeCriterion',
25 soap_action => '',
26 style => 'document',
27 body => {
28
29  
30 'use' => 'literal',
31 namespace => 'http://schemas.xmlsoap.org/wsdl/soap/',
32 encodingStyle => '',
33 parts => [qw( Google::Ads::AdWords::v201809::ConstantDataService::getAgeRangeCriterion )],
34 },
35 header => {
36
37  
38  
39 'use' => 'literal',
40 namespace => 'http://schemas.xmlsoap.org/wsdl/soap/',
41 encodingStyle => '',
42 parts => [qw( Google::Ads::AdWords::v201809::ConstantDataService::RequestHeader )],
43 },
44 headerfault => {
45
46 }
47 }, $body, $header);
48 }
49  
50  
51 sub getCarrierCriterion {
52 my ($self, $body, $header) = @_;
53 die "getCarrierCriterion must be called as object method (\$self is <$self>)" if not blessed($self);
54 return $self->SUPER::call({
55 operation => 'getCarrierCriterion',
56 soap_action => '',
57 style => 'document',
58 body => {
59
60  
61 'use' => 'literal',
62 namespace => 'http://schemas.xmlsoap.org/wsdl/soap/',
63 encodingStyle => '',
64 parts => [qw( Google::Ads::AdWords::v201809::ConstantDataService::getCarrierCriterion )],
65 },
66 header => {
67
68  
69  
70 'use' => 'literal',
71 namespace => 'http://schemas.xmlsoap.org/wsdl/soap/',
72 encodingStyle => '',
73 parts => [qw( Google::Ads::AdWords::v201809::ConstantDataService::RequestHeader )],
74 },
75 headerfault => {
76
77 }
78 }, $body, $header);
79 }
80  
81  
82 sub getGenderCriterion {
83 my ($self, $body, $header) = @_;
84 die "getGenderCriterion must be called as object method (\$self is <$self>)" if not blessed($self);
85 return $self->SUPER::call({
86 operation => 'getGenderCriterion',
87 soap_action => '',
88 style => 'document',
89 body => {
90
91  
92 'use' => 'literal',
93 namespace => 'http://schemas.xmlsoap.org/wsdl/soap/',
94 encodingStyle => '',
95 parts => [qw( Google::Ads::AdWords::v201809::ConstantDataService::getGenderCriterion )],
96 },
97 header => {
98
99  
100  
101 'use' => 'literal',
102 namespace => 'http://schemas.xmlsoap.org/wsdl/soap/',
103 encodingStyle => '',
104 parts => [qw( Google::Ads::AdWords::v201809::ConstantDataService::RequestHeader )],
105 },
106 headerfault => {
107
108 }
109 }, $body, $header);
110 }
111  
112  
113 sub getLanguageCriterion {
114 my ($self, $body, $header) = @_;
115 die "getLanguageCriterion must be called as object method (\$self is <$self>)" if not blessed($self);
116 return $self->SUPER::call({
117 operation => 'getLanguageCriterion',
118 soap_action => '',
119 style => 'document',
120 body => {
121
122  
123 'use' => 'literal',
124 namespace => 'http://schemas.xmlsoap.org/wsdl/soap/',
125 encodingStyle => '',
126 parts => [qw( Google::Ads::AdWords::v201809::ConstantDataService::getLanguageCriterion )],
127 },
128 header => {
129
130  
131  
132 'use' => 'literal',
133 namespace => 'http://schemas.xmlsoap.org/wsdl/soap/',
134 encodingStyle => '',
135 parts => [qw( Google::Ads::AdWords::v201809::ConstantDataService::RequestHeader )],
136 },
137 headerfault => {
138
139 }
140 }, $body, $header);
141 }
142  
143  
144 sub getMobileAppCategoryCriterion {
145 my ($self, $body, $header) = @_;
146 die "getMobileAppCategoryCriterion must be called as object method (\$self is <$self>)" if not blessed($self);
147 return $self->SUPER::call({
148 operation => 'getMobileAppCategoryCriterion',
149 soap_action => '',
150 style => 'document',
151 body => {
152
153  
154 'use' => 'literal',
155 namespace => 'http://schemas.xmlsoap.org/wsdl/soap/',
156 encodingStyle => '',
157 parts => [qw( Google::Ads::AdWords::v201809::ConstantDataService::getMobileAppCategoryCriterion )],
158 },
159 header => {
160
161  
162  
163 'use' => 'literal',
164 namespace => 'http://schemas.xmlsoap.org/wsdl/soap/',
165 encodingStyle => '',
166 parts => [qw( Google::Ads::AdWords::v201809::ConstantDataService::RequestHeader )],
167 },
168 headerfault => {
169
170 }
171 }, $body, $header);
172 }
173  
174  
175 sub getMobileDeviceCriterion {
176 my ($self, $body, $header) = @_;
177 die "getMobileDeviceCriterion must be called as object method (\$self is <$self>)" if not blessed($self);
178 return $self->SUPER::call({
179 operation => 'getMobileDeviceCriterion',
180 soap_action => '',
181 style => 'document',
182 body => {
183
184  
185 'use' => 'literal',
186 namespace => 'http://schemas.xmlsoap.org/wsdl/soap/',
187 encodingStyle => '',
188 parts => [qw( Google::Ads::AdWords::v201809::ConstantDataService::getMobileDeviceCriterion )],
189 },
190 header => {
191
192  
193  
194 'use' => 'literal',
195 namespace => 'http://schemas.xmlsoap.org/wsdl/soap/',
196 encodingStyle => '',
197 parts => [qw( Google::Ads::AdWords::v201809::ConstantDataService::RequestHeader )],
198 },
199 headerfault => {
200
201 }
202 }, $body, $header);
203 }
204  
205  
206 sub getOperatingSystemVersionCriterion {
207 my ($self, $body, $header) = @_;
208 die "getOperatingSystemVersionCriterion must be called as object method (\$self is <$self>)" if not blessed($self);
209 return $self->SUPER::call({
210 operation => 'getOperatingSystemVersionCriterion',
211 soap_action => '',
212 style => 'document',
213 body => {
214
215  
216 'use' => 'literal',
217 namespace => 'http://schemas.xmlsoap.org/wsdl/soap/',
218 encodingStyle => '',
219 parts => [qw( Google::Ads::AdWords::v201809::ConstantDataService::getOperatingSystemVersionCriterion )],
220 },
221 header => {
222
223  
224  
225 'use' => 'literal',
226 namespace => 'http://schemas.xmlsoap.org/wsdl/soap/',
227 encodingStyle => '',
228 parts => [qw( Google::Ads::AdWords::v201809::ConstantDataService::RequestHeader )],
229 },
230 headerfault => {
231
232 }
233 }, $body, $header);
234 }
235  
236  
237 sub getProductBiddingCategoryData {
238 my ($self, $body, $header) = @_;
239 die "getProductBiddingCategoryData must be called as object method (\$self is <$self>)" if not blessed($self);
240 return $self->SUPER::call({
241 operation => 'getProductBiddingCategoryData',
242 soap_action => '',
243 style => 'document',
244 body => {
245
246  
247 'use' => 'literal',
248 namespace => 'http://schemas.xmlsoap.org/wsdl/soap/',
249 encodingStyle => '',
250 parts => [qw( Google::Ads::AdWords::v201809::ConstantDataService::getProductBiddingCategoryData )],
251 },
252 header => {
253
254  
255  
256 'use' => 'literal',
257 namespace => 'http://schemas.xmlsoap.org/wsdl/soap/',
258 encodingStyle => '',
259 parts => [qw( Google::Ads::AdWords::v201809::ConstantDataService::RequestHeader )],
260 },
261 headerfault => {
262
263 }
264 }, $body, $header);
265 }
266  
267  
268 sub getUserInterestCriterion {
269 my ($self, $body, $header) = @_;
270 die "getUserInterestCriterion must be called as object method (\$self is <$self>)" if not blessed($self);
271 return $self->SUPER::call({
272 operation => 'getUserInterestCriterion',
273 soap_action => '',
274 style => 'document',
275 body => {
276
277  
278 'use' => 'literal',
279 namespace => 'http://schemas.xmlsoap.org/wsdl/soap/',
280 encodingStyle => '',
281 parts => [qw( Google::Ads::AdWords::v201809::ConstantDataService::getUserInterestCriterion )],
282 },
283 header => {
284
285  
286  
287 'use' => 'literal',
288 namespace => 'http://schemas.xmlsoap.org/wsdl/soap/',
289 encodingStyle => '',
290 parts => [qw( Google::Ads::AdWords::v201809::ConstantDataService::RequestHeader )],
291 },
292 headerfault => {
293
294 }
295 }, $body, $header);
296 }
297  
298  
299 sub getVerticalCriterion {
300 my ($self, $body, $header) = @_;
301 die "getVerticalCriterion must be called as object method (\$self is <$self>)" if not blessed($self);
302 return $self->SUPER::call({
303 operation => 'getVerticalCriterion',
304 soap_action => '',
305 style => 'document',
306 body => {
307
308  
309 'use' => 'literal',
310 namespace => 'http://schemas.xmlsoap.org/wsdl/soap/',
311 encodingStyle => '',
312 parts => [qw( Google::Ads::AdWords::v201809::ConstantDataService::getVerticalCriterion )],
313 },
314 header => {
315
316  
317  
318 'use' => 'literal',
319 namespace => 'http://schemas.xmlsoap.org/wsdl/soap/',
320 encodingStyle => '',
321 parts => [qw( Google::Ads::AdWords::v201809::ConstantDataService::RequestHeader )],
322 },
323 headerfault => {
324
325 }
326 }, $body, $header);
327 }
328  
329  
330  
331  
332 1;
333  
334  
335  
336 __END__
337  
338 =pod
339  
340 =head1 NAME
341  
342 Google::Ads::AdWords::v201809::ConstantDataService::ConstantDataServiceInterfacePort - SOAP Interface for the ConstantDataService Web Service
343  
344 =head1 SYNOPSIS
345  
346 use Google::Ads::AdWords::v201809::ConstantDataService::ConstantDataServiceInterfacePort;
347 my $interface = Google::Ads::AdWords::v201809::ConstantDataService::ConstantDataServiceInterfacePort->new();
348  
349 my $response;
350 $response = $interface->getAgeRangeCriterion();
351 $response = $interface->getCarrierCriterion();
352 $response = $interface->getGenderCriterion();
353 $response = $interface->getLanguageCriterion();
354 $response = $interface->getMobileAppCategoryCriterion();
355 $response = $interface->getMobileDeviceCriterion();
356 $response = $interface->getOperatingSystemVersionCriterion();
357 $response = $interface->getProductBiddingCategoryData();
358 $response = $interface->getUserInterestCriterion();
359 $response = $interface->getVerticalCriterion();
360  
361  
362  
363 =head1 DESCRIPTION
364  
365 SOAP Interface for the ConstantDataService web service
366 located at https://adwords.google.com/api/adwords/cm/v201809/ConstantDataService.
367  
368 =head1 SERVICE ConstantDataService
369  
370  
371  
372 =head2 Port ConstantDataServiceInterfacePort
373  
374  
375  
376 =head1 METHODS
377  
378 =head2 General methods
379  
380 =head3 new
381  
382 Constructor.
383  
384 All arguments are forwarded to L<SOAP::WSDL::Client|SOAP::WSDL::Client>.
385  
386 =head2 SOAP Service methods
387  
388 Method synopsis is displayed with hash refs as parameters.
389  
390 The commented class names in the method's parameters denote that objects
391 of the corresponding class can be passed instead of the marked hash ref.
392  
393 You may pass any combination of objects, hash and list refs to these
394 methods, as long as you meet the structure.
395  
396 List items (i.e. multiple occurences) are not displayed in the synopsis.
397 You may generally pass a list ref of hash refs (or objects) instead of a hash
398 ref - this may result in invalid XML if used improperly, though. Note that
399 SOAP::WSDL always expects list references at maximum depth position.
400  
401 XML attributes are not displayed in this synopsis and cannot be set using
402 hash refs. See the respective class' documentation for additional information.
403  
404  
405  
406 =head3 getAgeRangeCriterion
407  
408 Returns a list of all age range criteria. @return A list of age ranges. @throws ApiException when there is at least one error with the request.
409  
410 Returns a L<Google::Ads::AdWords::v201809::ConstantDataService::getAgeRangeCriterionResponse|Google::Ads::AdWords::v201809::ConstantDataService::getAgeRangeCriterionResponse> object.
411  
412 $response = $interface->getAgeRangeCriterion( {
413 },,
414 );
415  
416 =head3 getCarrierCriterion
417  
418 Returns a list of all carrier criteria. @return A list of carriers. @throws ApiException when there is at least one error with the request.
419  
420 Returns a L<Google::Ads::AdWords::v201809::ConstantDataService::getCarrierCriterionResponse|Google::Ads::AdWords::v201809::ConstantDataService::getCarrierCriterionResponse> object.
421  
422 $response = $interface->getCarrierCriterion( {
423 },,
424 );
425  
426 =head3 getGenderCriterion
427  
428 Returns a list of all gender criteria. @return A list of genders. @throws ApiException when there is at least one error with the request.
429  
430 Returns a L<Google::Ads::AdWords::v201809::ConstantDataService::getGenderCriterionResponse|Google::Ads::AdWords::v201809::ConstantDataService::getGenderCriterionResponse> object.
431  
432 $response = $interface->getGenderCriterion( {
433 },,
434 );
435  
436 =head3 getLanguageCriterion
437  
438 Returns a list of all language criteria. @return A list of languages. @throws ApiException when there is at least one error with the request.
439  
440 Returns a L<Google::Ads::AdWords::v201809::ConstantDataService::getLanguageCriterionResponse|Google::Ads::AdWords::v201809::ConstantDataService::getLanguageCriterionResponse> object.
441  
442 $response = $interface->getLanguageCriterion( {
443 },,
444 );
445  
446 =head3 getMobileAppCategoryCriterion
447  
448 Returns a list of all mobile app category criteria. @return A list of mobile app categories. @throws ApiException when there is at least one error with the request.
449  
450 Returns a L<Google::Ads::AdWords::v201809::ConstantDataService::getMobileAppCategoryCriterionResponse|Google::Ads::AdWords::v201809::ConstantDataService::getMobileAppCategoryCriterionResponse> object.
451  
452 $response = $interface->getMobileAppCategoryCriterion( {
453 },,
454 );
455  
456 =head3 getMobileDeviceCriterion
457  
458 Returns a list of all mobile devices. @return A list of mobile devices. @throws ApiException when there is at least one error with the request.
459  
460 Returns a L<Google::Ads::AdWords::v201809::ConstantDataService::getMobileDeviceCriterionResponse|Google::Ads::AdWords::v201809::ConstantDataService::getMobileDeviceCriterionResponse> object.
461  
462 $response = $interface->getMobileDeviceCriterion( {
463 },,
464 );
465  
466 =head3 getOperatingSystemVersionCriterion
467  
468 Returns a list of all operating system version criteria. @return A list of operating system versions. @throws ApiException when there is at least one error with the request.
469  
470 Returns a L<Google::Ads::AdWords::v201809::ConstantDataService::getOperatingSystemVersionCriterionResponse|Google::Ads::AdWords::v201809::ConstantDataService::getOperatingSystemVersionCriterionResponse> object.
471  
472 $response = $interface->getOperatingSystemVersionCriterion( {
473 },,
474 );
475  
476 =head3 getProductBiddingCategoryData
477  
478 Returns a list of shopping bidding categories. A country predicate must be included in the selector, only {@link Predicate.Operator#EQUALS} and {@link Predicate.Operator#IN} with a single value are supported in the country predicate. An empty parentDimensionType predicate will filter for root categories. @return A list of shopping bidding categories. @throws ApiException when there is at least one error with the request.
479  
480 Returns a L<Google::Ads::AdWords::v201809::ConstantDataService::getProductBiddingCategoryDataResponse|Google::Ads::AdWords::v201809::ConstantDataService::getProductBiddingCategoryDataResponse> object.
481  
482 $response = $interface->getProductBiddingCategoryData( {
483 selector => $a_reference_to, # see Google::Ads::AdWords::v201809::Selector
484 },,
485 );
486  
487 =head3 getUserInterestCriterion
488  
489 Returns a list of user interests. @param userInterestTaxonomyType The type of taxonomy to use when requesting user interests. @return A list of user interests. @throws ApiException when there is at least one error with the request.
490  
491 Returns a L<Google::Ads::AdWords::v201809::ConstantDataService::getUserInterestCriterionResponse|Google::Ads::AdWords::v201809::ConstantDataService::getUserInterestCriterionResponse> object.
492  
493 $response = $interface->getUserInterestCriterion( {
494 userInterestTaxonomyType => $some_value, # ConstantDataService.UserInterestTaxonomyType
495 },,
496 );
497  
498 =head3 getVerticalCriterion
499  
500 Returns a list of content verticals. @return A list of verticals. @throws ApiException when there is at least one error with the request.
501  
502 Returns a L<Google::Ads::AdWords::v201809::ConstantDataService::getVerticalCriterionResponse|Google::Ads::AdWords::v201809::ConstantDataService::getVerticalCriterionResponse> object.
503  
504 $response = $interface->getVerticalCriterion( {
505 },,
506 );
507  
508  
509  
510 =head1 AUTHOR
511  
512 Generated by SOAP::WSDL on Thu Sep 20 11:08:56 2018
513  
514 =cut
« lib/Google/Ads/AdWords/v201809/ConstantData.pm ↑ Summary lib/Google/Ads/AdWords/v201809/ConversionTrackerService/ConversionTrackerServiceInterfacePort.pm »