File Coverage

lib/Google/Ads/AdWords/v201710/ThirdPartyRedirectAd.pm
Criterion Covered Total %
statement 9 11 81.8
branch n/a
condition n/a
subroutine 3 5 60.0
pod n/a
total 12 16 75.0


line stmt bran cond sub pod time code
1             package Google::Ads::AdWords::v201710::ThirdPartyRedirectAd;
2 1     1   1766 use strict;
  1         2  
  1         29  
3 1     1   4 use warnings;
  1         2  
  1         77  
4              
5              
6             __PACKAGE__->_set_element_form_qualified(1);
7              
8 0     0     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 0     0     return $XML_ATTRIBUTE_CLASS;
15             }
16              
17              
18 1     1   5 use base qw(Google::Ads::AdWords::v201710::RichMediaAd);
  1         3  
  1         283  
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);
26             my %url_of :ATTR(:get);
27             my %displayUrl_of :ATTR(:get);
28             my %finalUrls_of :ATTR(:get);
29             my %finalMobileUrls_of :ATTR(:get);
30             my %finalAppUrls_of :ATTR(:get);
31             my %trackingUrlTemplate_of :ATTR(:get);
32             my %urlCustomParameters_of :ATTR(:get);
33             my %urlData_of :ATTR(:get);
34             my %automated_of :ATTR(:get);
35             my %type_of :ATTR(:get);
36             my %devicePreference_of :ATTR(:get);
37             my %Ad__Type_of :ATTR(:get);
38             my %name_of :ATTR(:get);
39             my %dimensions_of :ATTR(:get);
40             my %snippet_of :ATTR(:get);
41             my %impressionBeaconUrl_of :ATTR(:get);
42             my %adDuration_of :ATTR(:get);
43             my %certifiedVendorFormatId_of :ATTR(:get);
44             my %sourceUrl_of :ATTR(:get);
45             my %richMediaAdType_of :ATTR(:get);
46             my %adAttributes_of :ATTR(:get);
47             my %isCookieTargeted_of :ATTR(:get);
48             my %isUserInterestTargeted_of :ATTR(:get);
49             my %isTagged_of :ATTR(:get);
50             my %videoTypes_of :ATTR(:get);
51             my %expandingDirections_of :ATTR(:get);
52              
53             __PACKAGE__->_factory(
54             [ qw( id
55             url
56             displayUrl
57             finalUrls
58             finalMobileUrls
59             finalAppUrls
60             trackingUrlTemplate
61             urlCustomParameters
62             urlData
63             automated
64             type
65             devicePreference
66             Ad__Type
67             name
68             dimensions
69             snippet
70             impressionBeaconUrl
71             adDuration
72             certifiedVendorFormatId
73             sourceUrl
74             richMediaAdType
75             adAttributes
76             isCookieTargeted
77             isUserInterestTargeted
78             isTagged
79             videoTypes
80             expandingDirections
81              
82             ) ],
83             {
84             'id' => \%id_of,
85             'url' => \%url_of,
86             'displayUrl' => \%displayUrl_of,
87             'finalUrls' => \%finalUrls_of,
88             'finalMobileUrls' => \%finalMobileUrls_of,
89             'finalAppUrls' => \%finalAppUrls_of,
90             'trackingUrlTemplate' => \%trackingUrlTemplate_of,
91             'urlCustomParameters' => \%urlCustomParameters_of,
92             'urlData' => \%urlData_of,
93             'automated' => \%automated_of,
94             'type' => \%type_of,
95             'devicePreference' => \%devicePreference_of,
96             'Ad__Type' => \%Ad__Type_of,
97             'name' => \%name_of,
98             'dimensions' => \%dimensions_of,
99             'snippet' => \%snippet_of,
100             'impressionBeaconUrl' => \%impressionBeaconUrl_of,
101             'adDuration' => \%adDuration_of,
102             'certifiedVendorFormatId' => \%certifiedVendorFormatId_of,
103             'sourceUrl' => \%sourceUrl_of,
104             'richMediaAdType' => \%richMediaAdType_of,
105             'adAttributes' => \%adAttributes_of,
106             'isCookieTargeted' => \%isCookieTargeted_of,
107             'isUserInterestTargeted' => \%isUserInterestTargeted_of,
108             'isTagged' => \%isTagged_of,
109             'videoTypes' => \%videoTypes_of,
110             'expandingDirections' => \%expandingDirections_of,
111             },
112             {
113             'id' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
114             'url' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
115             'displayUrl' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
116             'finalUrls' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
117             'finalMobileUrls' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
118             'finalAppUrls' => 'Google::Ads::AdWords::v201710::AppUrl',
119             'trackingUrlTemplate' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
120             'urlCustomParameters' => 'Google::Ads::AdWords::v201710::CustomParameters',
121             'urlData' => 'Google::Ads::AdWords::v201710::UrlData',
122             'automated' => 'SOAP::WSDL::XSD::Typelib::Builtin::boolean',
123             'type' => 'Google::Ads::AdWords::v201710::Ad::Type',
124             'devicePreference' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
125             'Ad__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
126             'name' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
127             'dimensions' => 'Google::Ads::AdWords::v201710::Dimensions',
128             'snippet' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
129             'impressionBeaconUrl' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
130             'adDuration' => 'SOAP::WSDL::XSD::Typelib::Builtin::int',
131             'certifiedVendorFormatId' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
132             'sourceUrl' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
133             'richMediaAdType' => 'Google::Ads::AdWords::v201710::RichMediaAd::RichMediaAdType',
134             'adAttributes' => 'Google::Ads::AdWords::v201710::RichMediaAd::AdAttribute',
135             'isCookieTargeted' => 'SOAP::WSDL::XSD::Typelib::Builtin::boolean',
136             'isUserInterestTargeted' => 'SOAP::WSDL::XSD::Typelib::Builtin::boolean',
137             'isTagged' => 'SOAP::WSDL::XSD::Typelib::Builtin::boolean',
138             'videoTypes' => 'Google::Ads::AdWords::v201710::VideoType',
139             'expandingDirections' => 'Google::Ads::AdWords::v201710::ThirdPartyRedirectAd::ExpandingDirection',
140             },
141             {
142              
143             'id' => 'id',
144             'url' => 'url',
145             'displayUrl' => 'displayUrl',
146             'finalUrls' => 'finalUrls',
147             'finalMobileUrls' => 'finalMobileUrls',
148             'finalAppUrls' => 'finalAppUrls',
149             'trackingUrlTemplate' => 'trackingUrlTemplate',
150             'urlCustomParameters' => 'urlCustomParameters',
151             'urlData' => 'urlData',
152             'automated' => 'automated',
153             'type' => 'type',
154             'devicePreference' => 'devicePreference',
155             'Ad__Type' => 'Ad.Type',
156             'name' => 'name',
157             'dimensions' => 'dimensions',
158             'snippet' => 'snippet',
159             'impressionBeaconUrl' => 'impressionBeaconUrl',
160             'adDuration' => 'adDuration',
161             'certifiedVendorFormatId' => 'certifiedVendorFormatId',
162             'sourceUrl' => 'sourceUrl',
163             'richMediaAdType' => 'richMediaAdType',
164             'adAttributes' => 'adAttributes',
165             'isCookieTargeted' => 'isCookieTargeted',
166             'isUserInterestTargeted' => 'isUserInterestTargeted',
167             'isTagged' => 'isTagged',
168             'videoTypes' => 'videoTypes',
169             'expandingDirections' => 'expandingDirections',
170             }
171             );
172              
173             } # end BLOCK
174              
175              
176              
177              
178              
179              
180              
181             1;
182              
183              
184             =pod
185              
186             =head1 NAME
187              
188             Google::Ads::AdWords::v201710::ThirdPartyRedirectAd
189              
190             =head1 DESCRIPTION
191              
192             Perl data type class for the XML Schema defined complexType
193             ThirdPartyRedirectAd from the namespace https://adwords.google.com/api/adwords/cm/v201710.
194              
195             Data associated with rich media extension attributes. This is enabled for AdX.
196              
197              
198              
199              
200             =head2 PROPERTIES
201              
202             The following properties may be accessed using get_PROPERTY / set_PROPERTY
203             methods:
204              
205             =over
206              
207             =item * isCookieTargeted
208              
209              
210             =item * isUserInterestTargeted
211              
212              
213             =item * isTagged
214              
215              
216             =item * videoTypes
217              
218              
219             =item * expandingDirections
220              
221              
222              
223              
224             =back
225              
226              
227             =head1 METHODS
228              
229             =head2 new
230              
231             Constructor. The following data structure may be passed to new():
232              
233              
234              
235              
236              
237              
238             =head1 AUTHOR
239              
240             Generated by SOAP::WSDL
241              
242             =cut
243