File Coverage

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

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

146              
147              
148              
149              
150             =head2 PROPERTIES
151              
152             The following properties may be accessed using get_PROPERTY / set_PROPERTY
153             methods:
154              
155             =over
156              
157             =item * headlinePart1
158              
159              
160             =item * headlinePart2
161              
162              
163             =item * description
164              
165              
166             =item * path1
167              
168              
169             =item * path2
170              
171              
172              
173              
174             =back
175              
176              
177             =head1 METHODS
178              
179             =head2 new
180              
181             Constructor. The following data structure may be passed to new():
182              
183              
184              
185              
186              
187              
188             =head1 AUTHOR
189              
190             Generated by SOAP::WSDL
191              
192             =cut
193