lib/Google/Ads/AdWords/v201809/UniversalAppAd.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/v201809/TrialReturnValue.pm ↑ Summary lib/Google/Ads/AdWords/v201809/UniversalAppCampaignSetting.pm »
1 package Google::Ads::AdWords::v201809::UniversalAppAd;
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/v201809' };
Subroutine get_xmlns: not called CC=1 SCAR=6.9
9  
10 our $XML_ATTRIBUTE_CLASS;
11 undef $XML_ATTRIBUTE_CLASS;
12  
13 0 ▶sub __get_attr_class {
Subroutine __get_attr_class: not called CC=1 SCAR=6.9
14 0 return $XML_ATTRIBUTE_CLASS;
15 }
16  
17  
18 1 ▶use base qw(Google::Ads::AdWords::v201809::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 %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 %mandatoryAdText_of :ATTR(:get<mandatoryAdText>);
43 my %images_of :ATTR(:get<images>);
44 my %videos_of :ATTR(:get<videos>);
45 my %html5MediaBundles_of :ATTR(:get<html5MediaBundles>);
46  
47 __PACKAGE__->_factory(
48 [ qw( id
49 url
50 displayUrl
51 finalUrls
52 finalMobileUrls
53 finalAppUrls
54 trackingUrlTemplate
55 finalUrlSuffix
56 urlCustomParameters
57 urlData
58 automated
59 type
60 devicePreference
61 systemManagedEntitySource
62 Ad__Type
63 headlines
64 descriptions
65 mandatoryAdText
66 images
67 videos
68 html5MediaBundles
69  
70 ) ],
71 {
72 'id' => \%id_of,
73 'url' => \%url_of,
74 'displayUrl' => \%displayUrl_of,
75 'finalUrls' => \%finalUrls_of,
76 'finalMobileUrls' => \%finalMobileUrls_of,
77 'finalAppUrls' => \%finalAppUrls_of,
78 'trackingUrlTemplate' => \%trackingUrlTemplate_of,
79 'finalUrlSuffix' => \%finalUrlSuffix_of,
80 'urlCustomParameters' => \%urlCustomParameters_of,
81 'urlData' => \%urlData_of,
82 'automated' => \%automated_of,
83 'type' => \%type_of,
84 'devicePreference' => \%devicePreference_of,
85 'systemManagedEntitySource' => \%systemManagedEntitySource_of,
86 'Ad__Type' => \%Ad__Type_of,
87 'headlines' => \%headlines_of,
88 'descriptions' => \%descriptions_of,
89 'mandatoryAdText' => \%mandatoryAdText_of,
90 'images' => \%images_of,
91 'videos' => \%videos_of,
92 'html5MediaBundles' => \%html5MediaBundles_of,
93 },
94 {
95 'id' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
96 'url' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
97 'displayUrl' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
98 'finalUrls' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
99 'finalMobileUrls' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
100 'finalAppUrls' => 'Google::Ads::AdWords::v201809::AppUrl',
101 'trackingUrlTemplate' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
102 'finalUrlSuffix' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
103 'urlCustomParameters' => 'Google::Ads::AdWords::v201809::CustomParameters',
104 'urlData' => 'Google::Ads::AdWords::v201809::UrlData',
105 'automated' => 'SOAP::WSDL::XSD::Typelib::Builtin::boolean',
106 'type' => 'Google::Ads::AdWords::v201809::Ad::Type',
107 'devicePreference' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
108 'systemManagedEntitySource' => 'Google::Ads::AdWords::v201809::SystemManagedEntitySource',
109 'Ad__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
110 'headlines' => 'Google::Ads::AdWords::v201809::AssetLink',
111 'descriptions' => 'Google::Ads::AdWords::v201809::AssetLink',
112 'mandatoryAdText' => 'Google::Ads::AdWords::v201809::AssetLink',
113 'images' => 'Google::Ads::AdWords::v201809::AssetLink',
114 'videos' => 'Google::Ads::AdWords::v201809::AssetLink',
115 'html5MediaBundles' => 'Google::Ads::AdWords::v201809::AssetLink',
116 },
117 {
118  
119 'id' => 'id',
120 'url' => 'url',
121 'displayUrl' => 'displayUrl',
122 'finalUrls' => 'finalUrls',
123 'finalMobileUrls' => 'finalMobileUrls',
124 'finalAppUrls' => 'finalAppUrls',
125 'trackingUrlTemplate' => 'trackingUrlTemplate',
126 'finalUrlSuffix' => 'finalUrlSuffix',
127 'urlCustomParameters' => 'urlCustomParameters',
128 'urlData' => 'urlData',
129 'automated' => 'automated',
130 'type' => 'type',
131 'devicePreference' => 'devicePreference',
132 'systemManagedEntitySource' => 'systemManagedEntitySource',
133 'Ad__Type' => 'Ad.Type',
134 'headlines' => 'headlines',
135 'descriptions' => 'descriptions',
136 'mandatoryAdText' => 'mandatoryAdText',
137 'images' => 'images',
138 'videos' => 'videos',
139 'html5MediaBundles' => 'html5MediaBundles',
140 }
141 );
142  
143 } # end BLOCK
144  
145  
146  
147  
148  
149  
150  
151 1;
152  
153  
154 =pod
155  
156 =head1 NAME
157  
158 Google::Ads::AdWords::v201809::UniversalAppAd
159  
160 =head1 DESCRIPTION
161  
162 Perl data type class for the XML Schema defined complexType
163 UniversalAppAd from the namespace https://adwords.google.com/api/adwords/cm/v201809.
164  
165 Represents a universal app ad <p class="caution"><b>Caution:</b> Universal app ads do not use #displayUrl displayUrl}, \{@link #finalAppUrls finalAppUrls}, or {@link #devicePreference devicePreference}; setting these fields on a universal app ad will cause an error. <span class="constraint AdxEnabled">This is enabled for AdX.</span>
166  
167  
168  
169  
170 =head2 PROPERTIES
171  
172 The following properties may be accessed using get_PROPERTY / set_PROPERTY
173 methods:
174  
175 =over
176  
177 =item * headlines
178  
179  
180 =item * descriptions
181  
182  
183 =item * mandatoryAdText
184  
185  
186 =item * images
187  
188  
189 =item * videos
190  
191  
192 =item * html5MediaBundles
193  
194  
195  
196  
197 =back
198  
199  
200 =head1 METHODS
201  
202 =head2 new
203  
204 Constructor. The following data structure may be passed to new():
205  
206  
207  
208  
209  
210  
211 =head1 AUTHOR
212  
213 Generated by SOAP::WSDL
214  
215 =cut
216  
« lib/Google/Ads/AdWords/v201809/TrialReturnValue.pm ↑ Summary lib/Google/Ads/AdWords/v201809/UniversalAppCampaignSetting.pm »