lib/Google/Ads/AdWords/v201809/ExpandedTextAd.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/ExpandedDynamicSearchAd.pm ↑ Summary lib/Google/Ads/AdWords/v201809/ExplorerAutoOptimizerSetting.pm »
1 package Google::Ads::AdWords::v201809::ExpandedTextAd;
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::Ad);
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 %headlinePart1_of :ATTR(:get<headlinePart1>);
41 my %headlinePart2_of :ATTR(:get<headlinePart2>);
42 my %headlinePart3_of :ATTR(:get<headlinePart3>);
43 my %description_of :ATTR(:get<description>);
44 my %description2_of :ATTR(:get<description2>);
45 my %path1_of :ATTR(:get<path1>);
46 my %path2_of :ATTR(:get<path2>);
47  
48 __PACKAGE__->_factory(
49 [ qw( id
50 url
51 displayUrl
52 finalUrls
53 finalMobileUrls
54 finalAppUrls
55 trackingUrlTemplate
56 finalUrlSuffix
57 urlCustomParameters
58 urlData
59 automated
60 type
61 devicePreference
62 systemManagedEntitySource
63 Ad__Type
64 headlinePart1
65 headlinePart2
66 headlinePart3
67 description
68 description2
69 path1
70 path2
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 'finalUrlSuffix' => \%finalUrlSuffix_of,
82 'urlCustomParameters' => \%urlCustomParameters_of,
83 'urlData' => \%urlData_of,
84 'automated' => \%automated_of,
85 'type' => \%type_of,
86 'devicePreference' => \%devicePreference_of,
87 'systemManagedEntitySource' => \%systemManagedEntitySource_of,
88 'Ad__Type' => \%Ad__Type_of,
89 'headlinePart1' => \%headlinePart1_of,
90 'headlinePart2' => \%headlinePart2_of,
91 'headlinePart3' => \%headlinePart3_of,
92 'description' => \%description_of,
93 'description2' => \%description2_of,
94 'path1' => \%path1_of,
95 'path2' => \%path2_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::v201809::AppUrl',
104 'trackingUrlTemplate' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
105 'finalUrlSuffix' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
106 'urlCustomParameters' => 'Google::Ads::AdWords::v201809::CustomParameters',
107 'urlData' => 'Google::Ads::AdWords::v201809::UrlData',
108 'automated' => 'SOAP::WSDL::XSD::Typelib::Builtin::boolean',
109 'type' => 'Google::Ads::AdWords::v201809::Ad::Type',
110 'devicePreference' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
111 'systemManagedEntitySource' => 'Google::Ads::AdWords::v201809::SystemManagedEntitySource',
112 'Ad__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
113 'headlinePart1' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
114 'headlinePart2' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
115 'headlinePart3' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
116 'description' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
117 'description2' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
118 'path1' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
119 'path2' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
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 'finalUrlSuffix' => 'finalUrlSuffix',
131 'urlCustomParameters' => 'urlCustomParameters',
132 'urlData' => 'urlData',
133 'automated' => 'automated',
134 'type' => 'type',
135 'devicePreference' => 'devicePreference',
136 'systemManagedEntitySource' => 'systemManagedEntitySource',
137 'Ad__Type' => 'Ad.Type',
138 'headlinePart1' => 'headlinePart1',
139 'headlinePart2' => 'headlinePart2',
140 'headlinePart3' => 'headlinePart3',
141 'description' => 'description',
142 'description2' => 'description2',
143 'path1' => 'path1',
144 'path2' => 'path2',
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::v201809::ExpandedTextAd
164  
165 =head1 DESCRIPTION
166  
167 Perl data type class for the XML Schema defined complexType
168 ExpandedTextAd from the namespace https://adwords.google.com/api/adwords/cm/v201809.
169  
170 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>
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 * headlinePart1
183  
184  
185 =item * headlinePart2
186  
187  
188 =item * headlinePart3
189  
190  
191 =item * description
192  
193  
194 =item * description2
195  
196  
197 =item * path1
198  
199  
200 =item * path2
201  
202  
203  
204  
205 =back
206  
207  
208 =head1 METHODS
209  
210 =head2 new
211  
212 Constructor. The following data structure may be passed to new():
213  
214  
215  
216  
217  
218  
219 =head1 AUTHOR
220  
221 Generated by SOAP::WSDL
222  
223 =cut
224  
« lib/Google/Ads/AdWords/v201809/ExpandedDynamicSearchAd.pm ↑ Summary lib/Google/Ads/AdWords/v201809/ExplorerAutoOptimizerSetting.pm »