lib/Google/Ads/AdWords/v201809/ThirdPartyRedirectAd.pm

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