lib/Google/Ads/AdWords/v201809/CallOnlyAd.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/CallFeedItem.pm ↑ Summary lib/Google/Ads/AdWords/v201809/CalloutFeedItem.pm »
1 package Google::Ads::AdWords::v201809::CallOnlyAd;
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 %countryCode_of :ATTR(:get<countryCode>);
41 my %phoneNumber_of :ATTR(:get<phoneNumber>);
42 my %businessName_of :ATTR(:get<businessName>);
43 my %description1_of :ATTR(:get<description1>);
44 my %description2_of :ATTR(:get<description2>);
45 my %callTracked_of :ATTR(:get<callTracked>);
46 my %disableCallConversion_of :ATTR(:get<disableCallConversion>);
47 my %conversionTypeId_of :ATTR(:get<conversionTypeId>);
48 my %phoneNumberVerificationUrl_of :ATTR(:get<phoneNumberVerificationUrl>);
49  
50 __PACKAGE__->_factory(
51 [ qw( id
52 url
53 displayUrl
54 finalUrls
55 finalMobileUrls
56 finalAppUrls
57 trackingUrlTemplate
58 finalUrlSuffix
59 urlCustomParameters
60 urlData
61 automated
62 type
63 devicePreference
64 systemManagedEntitySource
65 Ad__Type
66 countryCode
67 phoneNumber
68 businessName
69 description1
70 description2
71 callTracked
72 disableCallConversion
73 conversionTypeId
74 phoneNumberVerificationUrl
75  
76 ) ],
77 {
78 'id' => \%id_of,
79 'url' => \%url_of,
80 'displayUrl' => \%displayUrl_of,
81 'finalUrls' => \%finalUrls_of,
82 'finalMobileUrls' => \%finalMobileUrls_of,
83 'finalAppUrls' => \%finalAppUrls_of,
84 'trackingUrlTemplate' => \%trackingUrlTemplate_of,
85 'finalUrlSuffix' => \%finalUrlSuffix_of,
86 'urlCustomParameters' => \%urlCustomParameters_of,
87 'urlData' => \%urlData_of,
88 'automated' => \%automated_of,
89 'type' => \%type_of,
90 'devicePreference' => \%devicePreference_of,
91 'systemManagedEntitySource' => \%systemManagedEntitySource_of,
92 'Ad__Type' => \%Ad__Type_of,
93 'countryCode' => \%countryCode_of,
94 'phoneNumber' => \%phoneNumber_of,
95 'businessName' => \%businessName_of,
96 'description1' => \%description1_of,
97 'description2' => \%description2_of,
98 'callTracked' => \%callTracked_of,
99 'disableCallConversion' => \%disableCallConversion_of,
100 'conversionTypeId' => \%conversionTypeId_of,
101 'phoneNumberVerificationUrl' => \%phoneNumberVerificationUrl_of,
102 },
103 {
104 'id' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
105 'url' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
106 'displayUrl' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
107 'finalUrls' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
108 'finalMobileUrls' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
109 'finalAppUrls' => 'Google::Ads::AdWords::v201809::AppUrl',
110 'trackingUrlTemplate' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
111 'finalUrlSuffix' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
112 'urlCustomParameters' => 'Google::Ads::AdWords::v201809::CustomParameters',
113 'urlData' => 'Google::Ads::AdWords::v201809::UrlData',
114 'automated' => 'SOAP::WSDL::XSD::Typelib::Builtin::boolean',
115 'type' => 'Google::Ads::AdWords::v201809::Ad::Type',
116 'devicePreference' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
117 'systemManagedEntitySource' => 'Google::Ads::AdWords::v201809::SystemManagedEntitySource',
118 'Ad__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
119 'countryCode' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
120 'phoneNumber' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
121 'businessName' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
122 'description1' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
123 'description2' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
124 'callTracked' => 'SOAP::WSDL::XSD::Typelib::Builtin::boolean',
125 'disableCallConversion' => 'SOAP::WSDL::XSD::Typelib::Builtin::boolean',
126 'conversionTypeId' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
127 'phoneNumberVerificationUrl' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
128 },
129 {
130  
131 'id' => 'id',
132 'url' => 'url',
133 'displayUrl' => 'displayUrl',
134 'finalUrls' => 'finalUrls',
135 'finalMobileUrls' => 'finalMobileUrls',
136 'finalAppUrls' => 'finalAppUrls',
137 'trackingUrlTemplate' => 'trackingUrlTemplate',
138 'finalUrlSuffix' => 'finalUrlSuffix',
139 'urlCustomParameters' => 'urlCustomParameters',
140 'urlData' => 'urlData',
141 'automated' => 'automated',
142 'type' => 'type',
143 'devicePreference' => 'devicePreference',
144 'systemManagedEntitySource' => 'systemManagedEntitySource',
145 'Ad__Type' => 'Ad.Type',
146 'countryCode' => 'countryCode',
147 'phoneNumber' => 'phoneNumber',
148 'businessName' => 'businessName',
149 'description1' => 'description1',
150 'description2' => 'description2',
151 'callTracked' => 'callTracked',
152 'disableCallConversion' => 'disableCallConversion',
153 'conversionTypeId' => 'conversionTypeId',
154 'phoneNumberVerificationUrl' => 'phoneNumberVerificationUrl',
155 }
156 );
157  
158 } # end BLOCK
159  
160  
161  
162  
163  
164  
165  
166 1;
167  
168  
169 =pod
170  
171 =head1 NAME
172  
173 Google::Ads::AdWords::v201809::CallOnlyAd
174  
175 =head1 DESCRIPTION
176  
177 Perl data type class for the XML Schema defined complexType
178 CallOnlyAd from the namespace https://adwords.google.com/api/adwords/cm/v201809.
179  
180 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>
181  
182  
183  
184  
185 =head2 PROPERTIES
186  
187 The following properties may be accessed using get_PROPERTY / set_PROPERTY
188 methods:
189  
190 =over
191  
192 =item * countryCode
193  
194  
195 =item * phoneNumber
196  
197  
198 =item * businessName
199  
200  
201 =item * description1
202  
203  
204 =item * description2
205  
206  
207 =item * callTracked
208  
209  
210 =item * disableCallConversion
211  
212  
213 =item * conversionTypeId
214  
215  
216 =item * phoneNumberVerificationUrl
217  
218  
219  
220  
221 =back
222  
223  
224 =head1 METHODS
225  
226 =head2 new
227  
228 Constructor. The following data structure may be passed to new():
229  
230  
231  
232  
233  
234  
235 =head1 AUTHOR
236  
237 Generated by SOAP::WSDL
238  
239 =cut
240  
« lib/Google/Ads/AdWords/v201809/CallFeedItem.pm ↑ Summary lib/Google/Ads/AdWords/v201809/CalloutFeedItem.pm »