lib/Google/Ads/AdWords/v201710/ExpandedTextAd.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/v201710/ExpandedDynamicSearchAd.pm ↑ Summary lib/Google/Ads/AdWords/v201710/ExplorerAutoOptimizerSetting.pm »
1 package Google::Ads::AdWords::v201710::ExpandedTextAd;
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/v201710' };
Subroutine get_xmlns: not called CC=1 SCAR=6.9
9  
10 our $XML_ATTRIBUTE_CLASS;
11 undef $XML_ATTRIBUTE_CLASS;
12  
13 sub __get_attr_class {
14 0 ▶ return $XML_ATTRIBUTE_CLASS;
Subroutine __get_attr_class: not called CC=1 SCAR=6.9
15 }
16  
17  
18 1 ▶use base qw(Google::Ads::AdWords::v201710::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 %urlCustomParameters_of :ATTR(:get<urlCustomParameters>);
33 my %urlData_of :ATTR(:get<urlData>);
34 my %automated_of :ATTR(:get<automated>);
35 my %type_of :ATTR(:get<type>);
36 my %devicePreference_of :ATTR(:get<devicePreference>);
37 my %Ad__Type_of :ATTR(:get<Ad__Type>);
38 my %headlinePart1_of :ATTR(:get<headlinePart1>);
39 my %headlinePart2_of :ATTR(:get<headlinePart2>);
40 my %description_of :ATTR(:get<description>);
41 my %path1_of :ATTR(:get<path1>);
42 my %path2_of :ATTR(:get<path2>);
43  
44 __PACKAGE__->_factory(
45 [ qw( id
46 url
47 displayUrl
48 finalUrls
49 finalMobileUrls
50 finalAppUrls
51 trackingUrlTemplate
52 urlCustomParameters
53 urlData
54 automated
55 type
56 devicePreference
57 Ad__Type
58 headlinePart1
59 headlinePart2
60 description
61 path1
62 path2
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 'automated' => \%automated_of,
76 'type' => \%type_of,
77 'devicePreference' => \%devicePreference_of,
78 'Ad__Type' => \%Ad__Type_of,
79 'headlinePart1' => \%headlinePart1_of,
80 'headlinePart2' => \%headlinePart2_of,
81 'description' => \%description_of,
82 'path1' => \%path1_of,
83 'path2' => \%path2_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::v201710::AppUrl',
92 'trackingUrlTemplate' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
93 'urlCustomParameters' => 'Google::Ads::AdWords::v201710::CustomParameters',
94 'urlData' => 'Google::Ads::AdWords::v201710::UrlData',
95 'automated' => 'SOAP::WSDL::XSD::Typelib::Builtin::boolean',
96 'type' => 'Google::Ads::AdWords::v201710::Ad::Type',
97 'devicePreference' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
98 'Ad__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
99 'headlinePart1' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
100 'headlinePart2' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
101 'description' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
102 'path1' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
103 'path2' => '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 'automated' => 'automated',
117 'type' => 'type',
118 'devicePreference' => 'devicePreference',
119 'Ad__Type' => 'Ad.Type',
120 'headlinePart1' => 'headlinePart1',
121 'headlinePart2' => 'headlinePart2',
122 'description' => 'description',
123 'path1' => 'path1',
124 'path2' => 'path2',
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::v201710::ExpandedTextAd
144  
145 =head1 DESCRIPTION
146  
147 Perl data type class for the XML Schema defined complexType
148 ExpandedTextAd from the namespace https://adwords.google.com/api/adwords/cm/v201710.
149  
150 Enhanced text ad format. <p class="caution"><b>Caution:</b> 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. <span class="constraint AdxEnabled">This is enabled for AdX.</span>
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 * headlinePart1
163  
164  
165 =item * headlinePart2
166  
167  
168 =item * description
169  
170  
171 =item * path1
172  
173  
174 =item * path2
175  
176  
177  
178  
179 =back
180  
181  
182 =head1 METHODS
183  
184 =head2 new
185  
186 Constructor. The following data structure may be passed to new():
187  
188  
189  
190  
191  
192  
193 =head1 AUTHOR
194  
195 Generated by SOAP::WSDL
196  
197 =cut
198  
« lib/Google/Ads/AdWords/v201710/ExpandedDynamicSearchAd.pm ↑ Summary lib/Google/Ads/AdWords/v201710/ExplorerAutoOptimizerSetting.pm »