File Coverage

lib/Google/Ads/AdWords/v201702/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::v201702::ResponsiveDisplayAd;
2 1     1   1706 use strict;
  1         2  
  1         25  
3 1     1   4 use warnings;
  1         1  
  1         87  
4              
5              
6             __PACKAGE__->_set_element_form_qualified(1);
7              
8 0     0     sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201702' };
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   5 use base qw(Google::Ads::AdWords::v201702::Ad);
  1         2  
  1         239  
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 %type_of :ATTR(:get);
35             my %devicePreference_of :ATTR(:get);
36             my %Ad__Type_of :ATTR(:get);
37             my %marketingImage_of :ATTR(:get);
38             my %logoImage_of :ATTR(:get);
39             my %shortHeadline_of :ATTR(:get);
40             my %longHeadline_of :ATTR(:get);
41             my %description_of :ATTR(:get);
42             my %businessName_of :ATTR(:get);
43              
44             __PACKAGE__->_factory(
45             [ qw( id
46             url
47             displayUrl
48             finalUrls
49             finalMobileUrls
50             finalAppUrls
51             trackingUrlTemplate
52             urlCustomParameters
53             urlData
54             type
55             devicePreference
56             Ad__Type
57             marketingImage
58             logoImage
59             shortHeadline
60             longHeadline
61             description
62             businessName
63              
64             ) ],
65             {
66             'id' => \%id_of,
67             'url' => \%url_of,
68             'displayUrl' => \%displayUrl_of,
69             'finalUrls' => \%finalUrls_of,
70             'finalMobileUrls' => \%finalMobileUrls_of,
71             'finalAppUrls' => \%finalAppUrls_of,
72             'trackingUrlTemplate' => \%trackingUrlTemplate_of,
73             'urlCustomParameters' => \%urlCustomParameters_of,
74             'urlData' => \%urlData_of,
75             'type' => \%type_of,
76             'devicePreference' => \%devicePreference_of,
77             'Ad__Type' => \%Ad__Type_of,
78             'marketingImage' => \%marketingImage_of,
79             'logoImage' => \%logoImage_of,
80             'shortHeadline' => \%shortHeadline_of,
81             'longHeadline' => \%longHeadline_of,
82             'description' => \%description_of,
83             'businessName' => \%businessName_of,
84             },
85             {
86             'id' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
87             'url' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
88             'displayUrl' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
89             'finalUrls' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
90             'finalMobileUrls' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
91             'finalAppUrls' => 'Google::Ads::AdWords::v201702::AppUrl',
92             'trackingUrlTemplate' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
93             'urlCustomParameters' => 'Google::Ads::AdWords::v201702::CustomParameters',
94             'urlData' => 'Google::Ads::AdWords::v201702::UrlData',
95             'type' => 'Google::Ads::AdWords::v201702::Ad::Type',
96             'devicePreference' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
97             'Ad__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
98             'marketingImage' => 'Google::Ads::AdWords::v201702::Image',
99             'logoImage' => 'Google::Ads::AdWords::v201702::Image',
100             'shortHeadline' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
101             'longHeadline' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
102             'description' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
103             'businessName' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
104             },
105             {
106              
107             'id' => 'id',
108             'url' => 'url',
109             'displayUrl' => 'displayUrl',
110             'finalUrls' => 'finalUrls',
111             'finalMobileUrls' => 'finalMobileUrls',
112             'finalAppUrls' => 'finalAppUrls',
113             'trackingUrlTemplate' => 'trackingUrlTemplate',
114             'urlCustomParameters' => 'urlCustomParameters',
115             'urlData' => 'urlData',
116             'type' => 'type',
117             'devicePreference' => 'devicePreference',
118             'Ad__Type' => 'Ad.Type',
119             'marketingImage' => 'marketingImage',
120             'logoImage' => 'logoImage',
121             'shortHeadline' => 'shortHeadline',
122             'longHeadline' => 'longHeadline',
123             'description' => 'description',
124             'businessName' => 'businessName',
125             }
126             );
127              
128             } # end BLOCK
129              
130              
131              
132              
133              
134              
135              
136             1;
137              
138              
139             =pod
140              
141             =head1 NAME
142              
143             Google::Ads::AdWords::v201702::ResponsiveDisplayAd
144              
145             =head1 DESCRIPTION
146              
147             Perl data type class for the XML Schema defined complexType
148             ResponsiveDisplayAd from the namespace https://adwords.google.com/api/adwords/cm/v201702.
149              
150             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.

151              
152              
153              
154              
155             =head2 PROPERTIES
156              
157             The following properties may be accessed using get_PROPERTY / set_PROPERTY
158             methods:
159              
160             =over
161              
162             =item * marketingImage
163              
164              
165             =item * logoImage
166              
167              
168             =item * shortHeadline
169              
170              
171             =item * longHeadline
172              
173              
174             =item * description
175              
176              
177             =item * businessName
178              
179              
180              
181              
182             =back
183              
184              
185             =head1 METHODS
186              
187             =head2 new
188              
189             Constructor. The following data structure may be passed to new():
190              
191              
192              
193              
194              
195              
196             =head1 AUTHOR
197              
198             Generated by SOAP::WSDL
199              
200             =cut
201