blib/lib/Google/Ads/AdWords/v201710/RichMediaAd.pm untested

filter: Statementstmt 0.0% 0 / 49 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 7 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 58 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::v201710::RichMediaAd;
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/v201710' };
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::v201710::Ad);
19 # Variety: sequence
20 use Class::Std::Fast::Storable constructor => 'none';
21 use base qw(Google::Ads::SOAP::Typelib::ComplexType);
22  
23 { # BLOCK to scope variables
24  
25 my %id_of :ATTR(:get<id>);
26 my %url_of :ATTR(:get<url>);
27 my %displayUrl_of :ATTR(:get<displayUrl>);
28 my %finalUrls_of :ATTR(:get<finalUrls>);
29 my %finalMobileUrls_of :ATTR(:get<finalMobileUrls>);
30 my %finalAppUrls_of :ATTR(:get<finalAppUrls>);
31 my %trackingUrlTemplate_of :ATTR(:get<trackingUrlTemplate>);
32 my %urlCustomParameters_of :ATTR(:get<urlCustomParameters>);
33 my %urlData_of :ATTR(:get<urlData>);
34 my %automated_of :ATTR(:get<automated>);
35 my %type_of :ATTR(:get<type>);
36 my %devicePreference_of :ATTR(:get<devicePreference>);
37 my %Ad__Type_of :ATTR(:get<Ad__Type>);
38 my %name_of :ATTR(:get<name>);
39 my %dimensions_of :ATTR(:get<dimensions>);
40 my %snippet_of :ATTR(:get<snippet>);
41 my %impressionBeaconUrl_of :ATTR(:get<impressionBeaconUrl>);
42 my %adDuration_of :ATTR(:get<adDuration>);
43 my %certifiedVendorFormatId_of :ATTR(:get<certifiedVendorFormatId>);
44 my %sourceUrl_of :ATTR(:get<sourceUrl>);
45 my %richMediaAdType_of :ATTR(:get<richMediaAdType>);
46 my %adAttributes_of :ATTR(:get<adAttributes>);
47  
48 __PACKAGE__->_factory(
49 [ qw( id
50 url
51 displayUrl
52 finalUrls
53 finalMobileUrls
54 finalAppUrls
55 trackingUrlTemplate
56 urlCustomParameters
57 urlData
58 automated
59 type
60 devicePreference
61 Ad__Type
62 name
63 dimensions
64 snippet
65 impressionBeaconUrl
66 adDuration
67 certifiedVendorFormatId
68 sourceUrl
69 richMediaAdType
70 adAttributes
71  
72 ) ],
73 {
74 'id' => \%id_of,
75 'url' => \%url_of,
76 'displayUrl' => \%displayUrl_of,
77 'finalUrls' => \%finalUrls_of,
78 'finalMobileUrls' => \%finalMobileUrls_of,
79 'finalAppUrls' => \%finalAppUrls_of,
80 'trackingUrlTemplate' => \%trackingUrlTemplate_of,
81 'urlCustomParameters' => \%urlCustomParameters_of,
82 'urlData' => \%urlData_of,
83 'automated' => \%automated_of,
84 'type' => \%type_of,
85 'devicePreference' => \%devicePreference_of,
86 'Ad__Type' => \%Ad__Type_of,
87 'name' => \%name_of,
88 'dimensions' => \%dimensions_of,
89 'snippet' => \%snippet_of,
90 'impressionBeaconUrl' => \%impressionBeaconUrl_of,
91 'adDuration' => \%adDuration_of,
92 'certifiedVendorFormatId' => \%certifiedVendorFormatId_of,
93 'sourceUrl' => \%sourceUrl_of,
94 'richMediaAdType' => \%richMediaAdType_of,
95 'adAttributes' => \%adAttributes_of,
96 },
97 {
98 'id' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
99 'url' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
100 'displayUrl' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
101 'finalUrls' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
102 'finalMobileUrls' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
103 'finalAppUrls' => 'Google::Ads::AdWords::v201710::AppUrl',
104 'trackingUrlTemplate' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
105 'urlCustomParameters' => 'Google::Ads::AdWords::v201710::CustomParameters',
106 'urlData' => 'Google::Ads::AdWords::v201710::UrlData',
107 'automated' => 'SOAP::WSDL::XSD::Typelib::Builtin::boolean',
108 'type' => 'Google::Ads::AdWords::v201710::Ad::Type',
109 'devicePreference' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
110 'Ad__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
111 'name' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
112 'dimensions' => 'Google::Ads::AdWords::v201710::Dimensions',
113 'snippet' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
114 'impressionBeaconUrl' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
115 'adDuration' => 'SOAP::WSDL::XSD::Typelib::Builtin::int',
116 'certifiedVendorFormatId' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
117 'sourceUrl' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
118 'richMediaAdType' => 'Google::Ads::AdWords::v201710::RichMediaAd::RichMediaAdType',
119 'adAttributes' => 'Google::Ads::AdWords::v201710::RichMediaAd::AdAttribute',
120 },
121 {
122  
123 'id' => 'id',
124 'url' => 'url',
125 'displayUrl' => 'displayUrl',
126 'finalUrls' => 'finalUrls',
127 'finalMobileUrls' => 'finalMobileUrls',
128 'finalAppUrls' => 'finalAppUrls',
129 'trackingUrlTemplate' => 'trackingUrlTemplate',
130 'urlCustomParameters' => 'urlCustomParameters',
131 'urlData' => 'urlData',
132 'automated' => 'automated',
133 'type' => 'type',
134 'devicePreference' => 'devicePreference',
135 'Ad__Type' => 'Ad.Type',
136 'name' => 'name',
137 'dimensions' => 'dimensions',
138 'snippet' => 'snippet',
139 'impressionBeaconUrl' => 'impressionBeaconUrl',
140 'adDuration' => 'adDuration',
141 'certifiedVendorFormatId' => 'certifiedVendorFormatId',
142 'sourceUrl' => 'sourceUrl',
143 'richMediaAdType' => 'richMediaAdType',
144 'adAttributes' => 'adAttributes',
145 }
146 );
147  
148 } # end BLOCK
149  
150  
151  
152  
153  
154  
155  
156 1;
157  
158  
159 =pod
160  
161 =head1 NAME
162  
163 Google::Ads::AdWords::v201710::RichMediaAd
164  
165 =head1 DESCRIPTION
166  
167 Perl data type class for the XML Schema defined complexType
168 RichMediaAd from the namespace https://adwords.google.com/api/adwords/cm/v201710.
169  
170 Data associated with a rich media ad. <span class="constraint AdxEnabled">This is disabled for AdX when it is contained within Operators: ADD, SET.</span>
171  
172  
173  
174  
175 =head2 PROPERTIES
176  
177 The following properties may be accessed using get_PROPERTY / set_PROPERTY
178 methods:
179  
180 =over
181  
182 =item * name
183  
184  
185 =item * dimensions
186  
187  
188 =item * snippet
189  
190  
191 =item * impressionBeaconUrl
192  
193  
194 =item * adDuration
195  
196  
197 =item * certifiedVendorFormatId
198  
199  
200 =item * sourceUrl
201  
202  
203 =item * richMediaAdType
204  
205  
206 =item * adAttributes
207  
208  
209  
210  
211 =back
212  
213  
214 =head1 METHODS
215  
216 =head2 new
217  
218 Constructor. The following data structure may be passed to new():
219  
220  
221  
222  
223  
224  
225 =head1 AUTHOR
226  
227 Generated by SOAP::WSDL
228  
229 =cut
230