lib/Google/Ads/AdWords/v201809/DeprecatedAd.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/DateSpecificRuleUserList.pm ↑ Summary lib/Google/Ads/AdWords/v201809/DisplayAttribute.pm »
1 package Google::Ads::AdWords::v201809::DeprecatedAd;
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 %name_of :ATTR(:get<name>);
41 my %deprecatedAdType_of :ATTR(:get<deprecatedAdType>);
42  
43 __PACKAGE__->_factory(
44 [ qw( id
45 url
46 displayUrl
47 finalUrls
48 finalMobileUrls
49 finalAppUrls
50 trackingUrlTemplate
51 finalUrlSuffix
52 urlCustomParameters
53 urlData
54 automated
55 type
56 devicePreference
57 systemManagedEntitySource
58 Ad__Type
59 name
60 deprecatedAdType
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 'finalUrlSuffix' => \%finalUrlSuffix_of,
72 'urlCustomParameters' => \%urlCustomParameters_of,
73 'urlData' => \%urlData_of,
74 'automated' => \%automated_of,
75 'type' => \%type_of,
76 'devicePreference' => \%devicePreference_of,
77 'systemManagedEntitySource' => \%systemManagedEntitySource_of,
78 'Ad__Type' => \%Ad__Type_of,
79 'name' => \%name_of,
80 'deprecatedAdType' => \%deprecatedAdType_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::v201809::AppUrl',
89 'trackingUrlTemplate' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
90 'finalUrlSuffix' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
91 'urlCustomParameters' => 'Google::Ads::AdWords::v201809::CustomParameters',
92 'urlData' => 'Google::Ads::AdWords::v201809::UrlData',
93 'automated' => 'SOAP::WSDL::XSD::Typelib::Builtin::boolean',
94 'type' => 'Google::Ads::AdWords::v201809::Ad::Type',
95 'devicePreference' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
96 'systemManagedEntitySource' => 'Google::Ads::AdWords::v201809::SystemManagedEntitySource',
97 'Ad__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
98 'name' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
99 'deprecatedAdType' => 'Google::Ads::AdWords::v201809::DeprecatedAd::Type',
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 'finalUrlSuffix' => 'finalUrlSuffix',
111 'urlCustomParameters' => 'urlCustomParameters',
112 'urlData' => 'urlData',
113 'automated' => 'automated',
114 'type' => 'type',
115 'devicePreference' => 'devicePreference',
116 'systemManagedEntitySource' => 'systemManagedEntitySource',
117 'Ad__Type' => 'Ad.Type',
118 'name' => 'name',
119 'deprecatedAdType' => 'deprecatedAdType',
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::v201809::DeprecatedAd
139  
140 =head1 DESCRIPTION
141  
142 Perl data type class for the XML Schema defined complexType
143 DeprecatedAd from the namespace https://adwords.google.com/api/adwords/cm/v201809.
144  
145 Represents a deprecated ad. Deprecated ads can be deleted, but cannot be created. <span class="constraint AdxEnabled">This is disabled for AdX when it is contained within Operators: ADD, SET.</span>
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 * name
158  
159  
160 =item * deprecatedAdType
161  
162  
163  
164  
165 =back
166  
167  
168 =head1 METHODS
169  
170 =head2 new
171  
172 Constructor. The following data structure may be passed to new():
173  
174  
175  
176  
177  
178  
179 =head1 AUTHOR
180  
181 Generated by SOAP::WSDL
182  
183 =cut
184  
« lib/Google/Ads/AdWords/v201809/DateSpecificRuleUserList.pm ↑ Summary lib/Google/Ads/AdWords/v201809/DisplayAttribute.pm »