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

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