blib/lib/Google/Ads/AdWords/v201710/CallOnlyAd.pm untested

filter: Statementstmt 0.0% 0 / 49 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 7 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 58 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::v201710::CallOnlyAd;
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/v201710' };
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::v201710::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 %urlCustomParameters_of :ATTR(:get<urlCustomParameters>);
33 my %urlData_of :ATTR(:get<urlData>);
34 my %automated_of :ATTR(:get<automated>);
35 my %type_of :ATTR(:get<type>);
36 my %devicePreference_of :ATTR(:get<devicePreference>);
37 my %Ad__Type_of :ATTR(:get<Ad__Type>);
38 my %countryCode_of :ATTR(:get<countryCode>);
39 my %phoneNumber_of :ATTR(:get<phoneNumber>);
40 my %businessName_of :ATTR(:get<businessName>);
41 my %description1_of :ATTR(:get<description1>);
42 my %description2_of :ATTR(:get<description2>);
43 my %callTracked_of :ATTR(:get<callTracked>);
44 my %disableCallConversion_of :ATTR(:get<disableCallConversion>);
45 my %conversionTypeId_of :ATTR(:get<conversionTypeId>);
46 my %phoneNumberVerificationUrl_of :ATTR(:get<phoneNumberVerificationUrl>);
47  
48 __PACKAGE__->_factory(
49 [ qw( id
50 url
51 displayUrl
52 finalUrls
53 finalMobileUrls
54 finalAppUrls
55 trackingUrlTemplate
56 urlCustomParameters
57 urlData
58 automated
59 type
60 devicePreference
61 Ad__Type
62 countryCode
63 phoneNumber
64 businessName
65 description1
66 description2
67 callTracked
68 disableCallConversion
69 conversionTypeId
70 phoneNumberVerificationUrl
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 'urlCustomParameters' => \%urlCustomParameters_of,
82 'urlData' => \%urlData_of,
83 'automated' => \%automated_of,
84 'type' => \%type_of,
85 'devicePreference' => \%devicePreference_of,
86 'Ad__Type' => \%Ad__Type_of,
87 'countryCode' => \%countryCode_of,
88 'phoneNumber' => \%phoneNumber_of,
89 'businessName' => \%businessName_of,
90 'description1' => \%description1_of,
91 'description2' => \%description2_of,
92 'callTracked' => \%callTracked_of,
93 'disableCallConversion' => \%disableCallConversion_of,
94 'conversionTypeId' => \%conversionTypeId_of,
95 'phoneNumberVerificationUrl' => \%phoneNumberVerificationUrl_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::v201710::AppUrl',
104 'trackingUrlTemplate' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
105 'urlCustomParameters' => 'Google::Ads::AdWords::v201710::CustomParameters',
106 'urlData' => 'Google::Ads::AdWords::v201710::UrlData',
107 'automated' => 'SOAP::WSDL::XSD::Typelib::Builtin::boolean',
108 'type' => 'Google::Ads::AdWords::v201710::Ad::Type',
109 'devicePreference' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
110 'Ad__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
111 'countryCode' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
112 'phoneNumber' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
113 'businessName' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
114 'description1' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
115 'description2' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
116 'callTracked' => 'SOAP::WSDL::XSD::Typelib::Builtin::boolean',
117 'disableCallConversion' => 'SOAP::WSDL::XSD::Typelib::Builtin::boolean',
118 'conversionTypeId' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
119 'phoneNumberVerificationUrl' => '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 'urlCustomParameters' => 'urlCustomParameters',
131 'urlData' => 'urlData',
132 'automated' => 'automated',
133 'type' => 'type',
134 'devicePreference' => 'devicePreference',
135 'Ad__Type' => 'Ad.Type',
136 'countryCode' => 'countryCode',
137 'phoneNumber' => 'phoneNumber',
138 'businessName' => 'businessName',
139 'description1' => 'description1',
140 'description2' => 'description2',
141 'callTracked' => 'callTracked',
142 'disableCallConversion' => 'disableCallConversion',
143 'conversionTypeId' => 'conversionTypeId',
144 'phoneNumberVerificationUrl' => 'phoneNumberVerificationUrl',
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::v201710::CallOnlyAd
164  
165 =head1 DESCRIPTION
166  
167 Perl data type class for the XML Schema defined complexType
168 CallOnlyAd from the namespace https://adwords.google.com/api/adwords/cm/v201710.
169  
170 Represents a CallOnlyAd. <p class="caution"><b>Caution:</b> Call only ads do not use {@link #url url}, {@link #finalUrls finalUrls}, {@link #finalMobileUrls finalMobileUrls}, {@link #finalAppUrls finalAppUrls}, {@link #urlCustomParameters urlCustomParameters}, or {@link #trackingUrlTemplate trackingUrlTemplate}; setting these fields on a call only 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 * countryCode
183  
184  
185 =item * phoneNumber
186  
187  
188 =item * businessName
189  
190  
191 =item * description1
192  
193  
194 =item * description2
195  
196  
197 =item * callTracked
198  
199  
200 =item * disableCallConversion
201  
202  
203 =item * conversionTypeId
204  
205  
206 =item * phoneNumberVerificationUrl
207  
208  
209  
210  
211 =back
212  
213  
214 =head1 METHODS
215  
216 =head2 new
217  
218 Constructor. The following data structure may be passed to new():
219  
220  
221  
222  
223  
224  
225 =head1 AUTHOR
226  
227 Generated by SOAP::WSDL
228  
229 =cut
230