line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Google::Ads::AdWords::v201702::DraftService::DraftServiceInterfacePort; |
2
|
1
|
|
|
1
|
|
12938
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
40
|
|
3
|
1
|
|
|
1
|
|
9
|
use warnings; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
50
|
|
4
|
1
|
|
|
1
|
|
6
|
use Class::Std::Fast::Storable; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
9
|
|
5
|
1
|
|
|
1
|
|
162
|
use Scalar::Util qw(blessed); |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
62
|
|
6
|
1
|
|
|
1
|
|
6
|
use base qw(SOAP::WSDL::Client::Base); |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
82
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
# only load if it hasn't been loaded before |
9
|
|
|
|
|
|
|
require Google::Ads::AdWords::v201702::TypeMaps::DraftService |
10
|
|
|
|
|
|
|
if not Google::Ads::AdWords::v201702::TypeMaps::DraftService->can('get_class'); |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
sub START { |
13
|
|
|
|
|
|
|
$_[0]->set_proxy('https://adwords.google.com/api/adwords/cm/v201702/DraftService') if not $_[2]->{proxy}; |
14
|
|
|
|
|
|
|
$_[0]->set_class_resolver('Google::Ads::AdWords::v201702::TypeMaps::DraftService') |
15
|
|
|
|
|
|
|
if not $_[2]->{class_resolver}; |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
$_[0]->set_prefix($_[2]->{use_prefix}) if exists $_[2]->{use_prefix}; |
18
|
|
|
|
|
|
|
} |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
sub get { |
21
|
|
|
|
|
|
|
my ($self, $body, $header) = @_; |
22
|
|
|
|
|
|
|
die "get must be called as object method (\$self is <$self>)" if not blessed($self); |
23
|
|
|
|
|
|
|
return $self->SUPER::call({ |
24
|
|
|
|
|
|
|
operation => 'get', |
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::v201702::DraftService::get )], |
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::v201702::DraftService::RequestHeader )], |
43
|
|
|
|
|
|
|
}, |
44
|
|
|
|
|
|
|
headerfault => { |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
} |
47
|
|
|
|
|
|
|
}, $body, $header); |
48
|
|
|
|
|
|
|
} |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
sub mutate { |
52
|
|
|
|
|
|
|
my ($self, $body, $header) = @_; |
53
|
|
|
|
|
|
|
die "mutate must be called as object method (\$self is <$self>)" if not blessed($self); |
54
|
|
|
|
|
|
|
return $self->SUPER::call({ |
55
|
|
|
|
|
|
|
operation => 'mutate', |
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::v201702::DraftService::mutate )], |
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::v201702::DraftService::RequestHeader )], |
74
|
|
|
|
|
|
|
}, |
75
|
|
|
|
|
|
|
headerfault => { |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
} |
78
|
|
|
|
|
|
|
}, $body, $header); |
79
|
|
|
|
|
|
|
} |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
sub query { |
83
|
|
|
|
|
|
|
my ($self, $body, $header) = @_; |
84
|
|
|
|
|
|
|
die "query must be called as object method (\$self is <$self>)" if not blessed($self); |
85
|
|
|
|
|
|
|
return $self->SUPER::call({ |
86
|
|
|
|
|
|
|
operation => 'query', |
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::v201702::DraftService::query )], |
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::v201702::DraftService::RequestHeader )], |
105
|
|
|
|
|
|
|
}, |
106
|
|
|
|
|
|
|
headerfault => { |
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
} |
109
|
|
|
|
|
|
|
}, $body, $header); |
110
|
|
|
|
|
|
|
} |
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
1; |
116
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
__END__ |