blib/lib/Google/Ads/AdWords/v201806/ExpandedTextAd.pm untested

filter: Statementstmt 0.0% 0 / 47 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 7 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 56 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::v201806::ExpandedTextAd;
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/v201806' };
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::v201806::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 %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 %headlinePart1_of :ATTR(:get<headlinePart1>);
41 my %headlinePart2_of :ATTR(:get<headlinePart2>);
42 my %description_of :ATTR(:get<description>);
43 my %path1_of :ATTR(:get<path1>);
44 my %path2_of :ATTR(:get<path2>);
45  
46 __PACKAGE__->_factory(
47 [ qw( id
48 url
49 displayUrl
50 finalUrls
51 finalMobileUrls
52 finalAppUrls
53 trackingUrlTemplate
54 finalUrlSuffix
55 urlCustomParameters
56 urlData
57 automated
58 type
59 devicePreference
60 systemManagedEntitySource
61 Ad__Type
62 headlinePart1
63 headlinePart2
64 description
65 path1
66 path2
67  
68 ) ],
69 {
70 'id' => \%id_of,
71 'url' => \%url_of,
72 'displayUrl' => \%displayUrl_of,
73 'finalUrls' => \%finalUrls_of,
74 'finalMobileUrls' => \%finalMobileUrls_of,
75 'finalAppUrls' => \%finalAppUrls_of,
76 'trackingUrlTemplate' => \%trackingUrlTemplate_of,
77 'finalUrlSuffix' => \%finalUrlSuffix_of,
78 'urlCustomParameters' => \%urlCustomParameters_of,
79 'urlData' => \%urlData_of,
80 'automated' => \%automated_of,
81 'type' => \%type_of,
82 'devicePreference' => \%devicePreference_of,
83 'systemManagedEntitySource' => \%systemManagedEntitySource_of,
84 'Ad__Type' => \%Ad__Type_of,
85 'headlinePart1' => \%headlinePart1_of,
86 'headlinePart2' => \%headlinePart2_of,
87 'description' => \%description_of,
88 'path1' => \%path1_of,
89 'path2' => \%path2_of,
90 },
91 {
92 'id' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
93 'url' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
94 'displayUrl' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
95 'finalUrls' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
96 'finalMobileUrls' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
97 'finalAppUrls' => 'Google::Ads::AdWords::v201806::AppUrl',
98 'trackingUrlTemplate' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
99 'finalUrlSuffix' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
100 'urlCustomParameters' => 'Google::Ads::AdWords::v201806::CustomParameters',
101 'urlData' => 'Google::Ads::AdWords::v201806::UrlData',
102 'automated' => 'SOAP::WSDL::XSD::Typelib::Builtin::boolean',
103 'type' => 'Google::Ads::AdWords::v201806::Ad::Type',
104 'devicePreference' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
105 'systemManagedEntitySource' => 'Google::Ads::AdWords::v201806::SystemManagedEntitySource',
106 'Ad__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
107 'headlinePart1' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
108 'headlinePart2' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
109 'description' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
110 'path1' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
111 'path2' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
112 },
113 {
114  
115 'id' => 'id',
116 'url' => 'url',
117 'displayUrl' => 'displayUrl',
118 'finalUrls' => 'finalUrls',
119 'finalMobileUrls' => 'finalMobileUrls',
120 'finalAppUrls' => 'finalAppUrls',
121 'trackingUrlTemplate' => 'trackingUrlTemplate',
122 'finalUrlSuffix' => 'finalUrlSuffix',
123 'urlCustomParameters' => 'urlCustomParameters',
124 'urlData' => 'urlData',
125 'automated' => 'automated',
126 'type' => 'type',
127 'devicePreference' => 'devicePreference',
128 'systemManagedEntitySource' => 'systemManagedEntitySource',
129 'Ad__Type' => 'Ad.Type',
130 'headlinePart1' => 'headlinePart1',
131 'headlinePart2' => 'headlinePart2',
132 'description' => 'description',
133 'path1' => 'path1',
134 'path2' => 'path2',
135 }
136 );
137  
138 } # end BLOCK
139  
140  
141  
142  
143  
144  
145  
146 1;
147  
148  
149 =pod
150  
151 =head1 NAME
152  
153 Google::Ads::AdWords::v201806::ExpandedTextAd
154  
155 =head1 DESCRIPTION
156  
157 Perl data type class for the XML Schema defined complexType
158 ExpandedTextAd from the namespace https://adwords.google.com/api/adwords/cm/v201806.
159  
160 Enhanced text ad format. <p class="caution"><b>Caution:</b> Expanded text ads do not use {@link #url url}, {@link #displayUrl displayUrl}, {@link #finalAppUrls finalAppUrls}, or {@link #devicePreference devicePreference}; setting these fields on an expanded text ad will cause an error. <span class="constraint AdxEnabled">This is enabled for AdX.</span>
161  
162  
163  
164  
165 =head2 PROPERTIES
166  
167 The following properties may be accessed using get_PROPERTY / set_PROPERTY
168 methods:
169  
170 =over
171  
172 =item * headlinePart1
173  
174  
175 =item * headlinePart2
176  
177  
178 =item * description
179  
180  
181 =item * path1
182  
183  
184 =item * path2
185  
186  
187  
188  
189 =back
190  
191  
192 =head1 METHODS
193  
194 =head2 new
195  
196 Constructor. The following data structure may be passed to new():
197  
198  
199  
200  
201  
202  
203 =head1 AUTHOR
204  
205 Generated by SOAP::WSDL
206  
207 =cut
208