blib/lib/Google/Ads/AdWords/v201402/DataService/DataServiceInterfacePort.pm untested

filter: Statementstmt 0.0% 0 / 54 Branchbran 0.0% 0 / 16 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 11 Podpod 0.0% 0 / 5 totaltotal 0.0% 0 / 86 CC 8 SCAR 20.5
CC
8
Cov
0%
START
20.0
getAdGroupBidLandscape
6.0
getCriterionBidLandscape
6.0
CRAP 7.8
1 package Google::Ads::AdWords::v201402::DataService::DataServiceInterfacePort;
2 use strict;
3 use warnings;
4 use Class::Std::Fast::Storable;
5 use Scalar::Util qw(blessed);
6 use base qw(SOAP::WSDL::Client::Base);
7  
8 # only load if it hasn't been loaded before
9 require Google::Ads::AdWords::v201402::TypeMaps::DataService
10 if not Google::Ads::AdWords::v201402::TypeMaps::DataService->can('get_class');
11  
12 sub START {
13 $_[0]->set_proxy('https://adwords.google.com/api/adwords/cm/v201402/DataService') if not $_[2]->{proxy};
14 $_[0]->set_class_resolver('Google::Ads::AdWords::v201402::TypeMaps::DataService')
15 if not $_[2]->{class_resolver};
16  
17 $_[0]->set_prefix($_[2]->{use_prefix}) if exists $_[2]->{use_prefix};
18 }
19  
20 sub getAdGroupBidLandscape {
21 my ($self, $body, $header) = @_;
22 die "getAdGroupBidLandscape must be called as object method (\$self is <$self>)" if not blessed($self);
23 return $self->SUPER::call({
24 operation => 'getAdGroupBidLandscape',
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::v201402::DataService::getAdGroupBidLandscape )],
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::v201402::DataService::RequestHeader )],
43 },
44 headerfault => {
45
46 }
47 }, $body, $header);
48 }
49  
50  
51 sub getCriterionBidLandscape {
52 my ($self, $body, $header) = @_;
53 die "getCriterionBidLandscape must be called as object method (\$self is <$self>)" if not blessed($self);
54 return $self->SUPER::call({
55 operation => 'getCriterionBidLandscape',
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::v201402::DataService::getCriterionBidLandscape )],
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::v201402::DataService::RequestHeader )],
74 },
75 headerfault => {
76
77 }
78 }, $body, $header);
79 }
80  
81  
82 sub queryAdGroupBidLandscape {
83 my ($self, $body, $header) = @_;
84 die "queryAdGroupBidLandscape must be called as object method (\$self is <$self>)" if not blessed($self);
85 return $self->SUPER::call({
86 operation => 'queryAdGroupBidLandscape',
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::v201402::DataService::queryAdGroupBidLandscape )],
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::v201402::DataService::RequestHeader )],
105 },
106 headerfault => {
107
108 }
109 }, $body, $header);
110 }
111  
112  
113 sub queryCriterionBidLandscape {
114 my ($self, $body, $header) = @_;
115 die "queryCriterionBidLandscape must be called as object method (\$self is <$self>)" if not blessed($self);
116 return $self->SUPER::call({
117 operation => 'queryCriterionBidLandscape',
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::v201402::DataService::queryCriterionBidLandscape )],
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::v201402::DataService::RequestHeader )],
136 },
137 headerfault => {
138
139 }
140 }, $body, $header);
141 }
142  
143  
144  
145  
146 1;
147  
148  
149  
150 __END__