File Coverage

lib/Google/Ads/AdWords/v201710/ResponsiveDisplayAd.pm
Criterion Covered Total %
statement 9 11 81.8
branch n/a
condition n/a
subroutine 3 5 60.0
pod n/a
total 12 16 75.0


line stmt bran cond sub pod time code
1             package Google::Ads::AdWords::v201710::ResponsiveDisplayAd;
2 1     1   1583 use strict;
  1         3  
  1         28  
3 1     1   5 use warnings;
  1         1  
  1         98  
4              
5              
6             __PACKAGE__->_set_element_form_qualified(1);
7              
8 0     0     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 0     0     return $XML_ATTRIBUTE_CLASS;
15             }
16              
17              
18 1     1   9 use base qw(Google::Ads::AdWords::v201710::Ad);
  1         4  
  1         141  
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);
26             my %url_of :ATTR(:get);
27             my %displayUrl_of :ATTR(:get);
28             my %finalUrls_of :ATTR(:get);
29             my %finalMobileUrls_of :ATTR(:get);
30             my %finalAppUrls_of :ATTR(:get);
31             my %trackingUrlTemplate_of :ATTR(:get);
32             my %urlCustomParameters_of :ATTR(:get);
33             my %urlData_of :ATTR(:get);
34             my %automated_of :ATTR(:get);
35             my %type_of :ATTR(:get);
36             my %devicePreference_of :ATTR(:get);
37             my %Ad__Type_of :ATTR(:get);
38             my %marketingImage_of :ATTR(:get);
39             my %logoImage_of :ATTR(:get);
40             my %squareMarketingImage_of :ATTR(:get);
41             my %shortHeadline_of :ATTR(:get);
42             my %longHeadline_of :ATTR(:get);
43             my %description_of :ATTR(:get);
44             my %businessName_of :ATTR(:get);
45             my %mainColor_of :ATTR(:get);
46             my %accentColor_of :ATTR(:get);
47             my %allowFlexibleColor_of :ATTR(:get);
48             my %callToActionText_of :ATTR(:get);
49             my %dynamicDisplayAdSettings_of :ATTR(:get);
50             my %formatSetting_of :ATTR(:get);
51              
52             __PACKAGE__->_factory(
53             [ qw( id
54             url
55             displayUrl
56             finalUrls
57             finalMobileUrls
58             finalAppUrls
59             trackingUrlTemplate
60             urlCustomParameters
61             urlData
62             automated
63             type
64             devicePreference
65             Ad__Type
66             marketingImage
67             logoImage
68             squareMarketingImage
69             shortHeadline
70             longHeadline
71             description
72             businessName
73             mainColor
74             accentColor
75             allowFlexibleColor
76             callToActionText
77             dynamicDisplayAdSettings
78             formatSetting
79              
80             ) ],
81             {
82             'id' => \%id_of,
83             'url' => \%url_of,
84             'displayUrl' => \%displayUrl_of,
85             'finalUrls' => \%finalUrls_of,
86             'finalMobileUrls' => \%finalMobileUrls_of,
87             'finalAppUrls' => \%finalAppUrls_of,
88             'trackingUrlTemplate' => \%trackingUrlTemplate_of,
89             'urlCustomParameters' => \%urlCustomParameters_of,
90             'urlData' => \%urlData_of,
91             'automated' => \%automated_of,
92             'type' => \%type_of,
93             'devicePreference' => \%devicePreference_of,
94             'Ad__Type' => \%Ad__Type_of,
95             'marketingImage' => \%marketingImage_of,
96             'logoImage' => \%logoImage_of,
97             'squareMarketingImage' => \%squareMarketingImage_of,
98             'shortHeadline' => \%shortHeadline_of,
99             'longHeadline' => \%longHeadline_of,
100             'description' => \%description_of,
101             'businessName' => \%businessName_of,
102             'mainColor' => \%mainColor_of,
103             'accentColor' => \%accentColor_of,
104             'allowFlexibleColor' => \%allowFlexibleColor_of,
105             'callToActionText' => \%callToActionText_of,
106             'dynamicDisplayAdSettings' => \%dynamicDisplayAdSettings_of,
107             'formatSetting' => \%formatSetting_of,
108             },
109             {
110             'id' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
111             'url' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
112             'displayUrl' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
113             'finalUrls' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
114             'finalMobileUrls' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
115             'finalAppUrls' => 'Google::Ads::AdWords::v201710::AppUrl',
116             'trackingUrlTemplate' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
117             'urlCustomParameters' => 'Google::Ads::AdWords::v201710::CustomParameters',
118             'urlData' => 'Google::Ads::AdWords::v201710::UrlData',
119             'automated' => 'SOAP::WSDL::XSD::Typelib::Builtin::boolean',
120             'type' => 'Google::Ads::AdWords::v201710::Ad::Type',
121             'devicePreference' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
122             'Ad__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
123             'marketingImage' => 'Google::Ads::AdWords::v201710::Image',
124             'logoImage' => 'Google::Ads::AdWords::v201710::Image',
125             'squareMarketingImage' => 'Google::Ads::AdWords::v201710::Image',
126             'shortHeadline' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
127             'longHeadline' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
128             'description' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
129             'businessName' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
130             'mainColor' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
131             'accentColor' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
132             'allowFlexibleColor' => 'SOAP::WSDL::XSD::Typelib::Builtin::boolean',
133             'callToActionText' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
134             'dynamicDisplayAdSettings' => 'Google::Ads::AdWords::v201710::DynamicSettings',
135             'formatSetting' => 'Google::Ads::AdWords::v201710::DisplayAdFormatSetting',
136             },
137             {
138              
139             'id' => 'id',
140             'url' => 'url',
141             'displayUrl' => 'displayUrl',
142             'finalUrls' => 'finalUrls',
143             'finalMobileUrls' => 'finalMobileUrls',
144             'finalAppUrls' => 'finalAppUrls',
145             'trackingUrlTemplate' => 'trackingUrlTemplate',
146             'urlCustomParameters' => 'urlCustomParameters',
147             'urlData' => 'urlData',
148             'automated' => 'automated',
149             'type' => 'type',
150             'devicePreference' => 'devicePreference',
151             'Ad__Type' => 'Ad.Type',
152             'marketingImage' => 'marketingImage',
153             'logoImage' => 'logoImage',
154             'squareMarketingImage' => 'squareMarketingImage',
155             'shortHeadline' => 'shortHeadline',
156             'longHeadline' => 'longHeadline',
157             'description' => 'description',
158             'businessName' => 'businessName',
159             'mainColor' => 'mainColor',
160             'accentColor' => 'accentColor',
161             'allowFlexibleColor' => 'allowFlexibleColor',
162             'callToActionText' => 'callToActionText',
163             'dynamicDisplayAdSettings' => 'dynamicDisplayAdSettings',
164             'formatSetting' => 'formatSetting',
165             }
166             );
167              
168             } # end BLOCK
169              
170              
171              
172              
173              
174              
175              
176             1;
177              
178              
179             =pod
180              
181             =head1 NAME
182              
183             Google::Ads::AdWords::v201710::ResponsiveDisplayAd
184              
185             =head1 DESCRIPTION
186              
187             Perl data type class for the XML Schema defined complexType
188             ResponsiveDisplayAd from the namespace https://adwords.google.com/api/adwords/cm/v201710.
189              
190             Enhanced display ad format.

Caution: Responsive display ads do not use {@link #url url}, {@link #displayUrl displayUrl}, {@link #finalAppUrls finalAppUrls}, or {@link #devicePreference devicePreference}; setting these fields on a responsive display ad will cause an error. This is enabled for AdX.

191              
192              
193              
194              
195             =head2 PROPERTIES
196              
197             The following properties may be accessed using get_PROPERTY / set_PROPERTY
198             methods:
199              
200             =over
201              
202             =item * marketingImage
203              
204              
205             =item * logoImage
206              
207              
208             =item * squareMarketingImage
209              
210              
211             =item * shortHeadline
212              
213              
214             =item * longHeadline
215              
216              
217             =item * description
218              
219              
220             =item * businessName
221              
222              
223             =item * mainColor
224              
225              
226             =item * accentColor
227              
228              
229             =item * allowFlexibleColor
230              
231              
232             =item * callToActionText
233              
234              
235             =item * dynamicDisplayAdSettings
236              
237              
238             =item * formatSetting
239              
240              
241              
242              
243             =back
244              
245              
246             =head1 METHODS
247              
248             =head2 new
249              
250             Constructor. The following data structure may be passed to new():
251              
252              
253              
254              
255              
256              
257             =head1 AUTHOR
258              
259             Generated by SOAP::WSDL
260              
261             =cut
262