line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
package Google::Ads::AdWords::v201710::MediaService::upload; |
3
|
1
|
|
|
1
|
|
1711
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
30
|
|
4
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
68
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
{ # BLOCK to scope variables |
7
|
|
|
|
|
|
|
|
8
|
0
|
|
|
0
|
|
|
sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201710' } |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
__PACKAGE__->__set_name('upload'); |
11
|
|
|
|
|
|
|
__PACKAGE__->__set_nillable(); |
12
|
|
|
|
|
|
|
__PACKAGE__->__set_minOccurs(); |
13
|
|
|
|
|
|
|
__PACKAGE__->__set_maxOccurs(); |
14
|
|
|
|
|
|
|
__PACKAGE__->__set_ref(); |
15
|
|
|
|
|
|
|
|
16
|
1
|
|
|
|
|
88
|
use base qw( |
17
|
|
|
|
|
|
|
SOAP::WSDL::XSD::Typelib::Element |
18
|
|
|
|
|
|
|
Google::Ads::SOAP::Typelib::ComplexType |
19
|
1
|
|
|
1
|
|
5
|
); |
|
1
|
|
|
|
|
3
|
|
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
our $XML_ATTRIBUTE_CLASS; |
22
|
|
|
|
|
|
|
undef $XML_ATTRIBUTE_CLASS; |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
sub __get_attr_class { |
25
|
|
|
|
|
|
|
return $XML_ATTRIBUTE_CLASS; |
26
|
|
|
|
|
|
|
} |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
use Class::Std::Fast::Storable constructor => 'none'; |
29
|
|
|
|
|
|
|
use base qw(Google::Ads::SOAP::Typelib::ComplexType); |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
{ # BLOCK to scope variables |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
my %media_of :ATTR(:get); |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
__PACKAGE__->_factory( |
36
|
|
|
|
|
|
|
[ qw( media |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
) ], |
39
|
|
|
|
|
|
|
{ |
40
|
|
|
|
|
|
|
'media' => \%media_of, |
41
|
|
|
|
|
|
|
}, |
42
|
|
|
|
|
|
|
{ |
43
|
|
|
|
|
|
|
'media' => 'Google::Ads::AdWords::v201710::Media', |
44
|
|
|
|
|
|
|
}, |
45
|
|
|
|
|
|
|
{ |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
'media' => 'media', |
48
|
|
|
|
|
|
|
} |
49
|
|
|
|
|
|
|
); |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
} # end BLOCK |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
} # end of BLOCK |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
1; |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
=pod |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
=head1 NAME |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
Google::Ads::AdWords::v201710::MediaService::upload |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
=head1 DESCRIPTION |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
Perl data type class for the XML Schema defined element |
74
|
|
|
|
|
|
|
upload from the namespace https://adwords.google.com/api/adwords/cm/v201710. |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
Uploads new media. Currently, you can upload {@link Image} files and {@link MediaBundle}s. @param media A list of {@code Media} objects, each containing the data to be uploaded. @return A list of uploaded media in the same order as the argument list. |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
=head1 PROPERTIES |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
The following properties may be accessed using get_PROPERTY / set_PROPERTY |
85
|
|
|
|
|
|
|
methods: |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
=over |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
=item * media |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
$element->set_media($data); |
92
|
|
|
|
|
|
|
$element->get_media(); |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
=back |
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
=head1 METHODS |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
=head2 new |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
my $element = Google::Ads::AdWords::v201710::MediaService::upload->new($data); |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
Constructor. The following data structure may be passed to new(): |
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
{ |
110
|
|
|
|
|
|
|
media => $a_reference_to, # see Google::Ads::AdWords::v201710::Media |
111
|
|
|
|
|
|
|
}, |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
=head1 AUTHOR |
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
Generated by SOAP::WSDL |
116
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
=cut |
118
|
|
|
|
|
|
|
|