lib/Google/Ads/AdWords/v201809/ShowcaseAd.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/ShoppingSetting.pm ↑ Summary lib/Google/Ads/AdWords/v201809/SimilarUserList.pm »
1 package Google::Ads::AdWords::v201809::ShowcaseAd;
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 %name_of :ATTR(:get<name>);
41 my %headline_of :ATTR(:get<headline>);
42 my %description_of :ATTR(:get<description>);
43 my %collapsedImage_of :ATTR(:get<collapsedImage>);
44 my %expandedImage_of :ATTR(:get<expandedImage>);
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 name
63 headline
64 description
65 collapsedImage
66 expandedImage
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 'name' => \%name_of,
86 'headline' => \%headline_of,
87 'description' => \%description_of,
88 'collapsedImage' => \%collapsedImage_of,
89 'expandedImage' => \%expandedImage_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::v201809::AppUrl',
98 'trackingUrlTemplate' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
99 'finalUrlSuffix' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
100 'urlCustomParameters' => 'Google::Ads::AdWords::v201809::CustomParameters',
101 'urlData' => 'Google::Ads::AdWords::v201809::UrlData',
102 'automated' => 'SOAP::WSDL::XSD::Typelib::Builtin::boolean',
103 'type' => 'Google::Ads::AdWords::v201809::Ad::Type',
104 'devicePreference' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
105 'systemManagedEntitySource' => 'Google::Ads::AdWords::v201809::SystemManagedEntitySource',
106 'Ad__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
107 'name' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
108 'headline' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
109 'description' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
110 'collapsedImage' => 'Google::Ads::AdWords::v201809::Image',
111 'expandedImage' => 'Google::Ads::AdWords::v201809::Image',
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 'name' => 'name',
131 'headline' => 'headline',
132 'description' => 'description',
133 'collapsedImage' => 'collapsedImage',
134 'expandedImage' => 'expandedImage',
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::v201809::ShowcaseAd
154  
155 =head1 DESCRIPTION
156  
157 Perl data type class for the XML Schema defined complexType
158 ShowcaseAd from the namespace https://adwords.google.com/api/adwords/cm/v201809.
159  
160 Represents a Showcase shopping ad. <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 * name
173  
174  
175 =item * headline
176  
177  
178 =item * description
179  
180  
181 =item * collapsedImage
182  
183  
184 =item * expandedImage
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  
« lib/Google/Ads/AdWords/v201809/ShoppingSetting.pm ↑ Summary lib/Google/Ads/AdWords/v201809/SimilarUserList.pm »