lib/Google/Ads/AdWords/v201809/ImageAd.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/Image.pm ↑ Summary lib/Google/Ads/AdWords/v201809/ImageAsset.pm »
1 package Google::Ads::AdWords::v201809::ImageAd;
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 %image_of :ATTR(:get<image>);
41 my %name_of :ATTR(:get<name>);
42 my %adToCopyImageFrom_of :ATTR(:get<adToCopyImageFrom>);
43  
44 __PACKAGE__->_factory(
45 [ qw( id
46 url
47 displayUrl
48 finalUrls
49 finalMobileUrls
50 finalAppUrls
51 trackingUrlTemplate
52 finalUrlSuffix
53 urlCustomParameters
54 urlData
55 automated
56 type
57 devicePreference
58 systemManagedEntitySource
59 Ad__Type
60 image
61 name
62 adToCopyImageFrom
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 'finalUrlSuffix' => \%finalUrlSuffix_of,
74 'urlCustomParameters' => \%urlCustomParameters_of,
75 'urlData' => \%urlData_of,
76 'automated' => \%automated_of,
77 'type' => \%type_of,
78 'devicePreference' => \%devicePreference_of,
79 'systemManagedEntitySource' => \%systemManagedEntitySource_of,
80 'Ad__Type' => \%Ad__Type_of,
81 'image' => \%image_of,
82 'name' => \%name_of,
83 'adToCopyImageFrom' => \%adToCopyImageFrom_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::v201809::AppUrl',
92 'trackingUrlTemplate' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
93 'finalUrlSuffix' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
94 'urlCustomParameters' => 'Google::Ads::AdWords::v201809::CustomParameters',
95 'urlData' => 'Google::Ads::AdWords::v201809::UrlData',
96 'automated' => 'SOAP::WSDL::XSD::Typelib::Builtin::boolean',
97 'type' => 'Google::Ads::AdWords::v201809::Ad::Type',
98 'devicePreference' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
99 'systemManagedEntitySource' => 'Google::Ads::AdWords::v201809::SystemManagedEntitySource',
100 'Ad__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
101 'image' => 'Google::Ads::AdWords::v201809::Image',
102 'name' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
103 'adToCopyImageFrom' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
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 'finalUrlSuffix' => 'finalUrlSuffix',
115 'urlCustomParameters' => 'urlCustomParameters',
116 'urlData' => 'urlData',
117 'automated' => 'automated',
118 'type' => 'type',
119 'devicePreference' => 'devicePreference',
120 'systemManagedEntitySource' => 'systemManagedEntitySource',
121 'Ad__Type' => 'Ad.Type',
122 'image' => 'image',
123 'name' => 'name',
124 'adToCopyImageFrom' => 'adToCopyImageFrom',
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::v201809::ImageAd
144  
145 =head1 DESCRIPTION
146  
147 Perl data type class for the XML Schema defined complexType
148 ImageAd from the namespace https://adwords.google.com/api/adwords/cm/v201809.
149  
150 Represents an ImageAd. <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 * image
163  
164  
165 =item * name
166  
167  
168 =item * adToCopyImageFrom
169  
170  
171  
172  
173 =back
174  
175  
176 =head1 METHODS
177  
178 =head2 new
179  
180 Constructor. The following data structure may be passed to new():
181  
182  
183  
184  
185  
186  
187 =head1 AUTHOR
188  
189 Generated by SOAP::WSDL
190  
191 =cut
192  
« lib/Google/Ads/AdWords/v201809/Image.pm ↑ Summary lib/Google/Ads/AdWords/v201809/ImageAsset.pm »