File Coverage

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