blib/lib/Google/Ads/AdWords/v201806/ExpandedDynamicSearchAd.pm untested

filter: Statementstmt 0.0% 0 / 43 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 7 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 52 CC 1 SCAR 6.9
CC
1
Cov
0%
get_xmlns
2.0
__get_attr_class
2.0
BEGIN
2.0
CRAP 2.0
1 package Google::Ads::AdWords::v201806::ExpandedDynamicSearchAd;
2 use strict;
3 use warnings;
4  
5  
6 __PACKAGE__->_set_element_form_qualified(1);
7  
8 sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201806' };
9  
10 our $XML_ATTRIBUTE_CLASS;
11 undef $XML_ATTRIBUTE_CLASS;
12  
13 sub __get_attr_class {
14 return $XML_ATTRIBUTE_CLASS;
15 }
16  
17  
18 use base qw(Google::Ads::AdWords::v201806::Ad);
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 %description_of :ATTR(:get<description>);
41  
42 __PACKAGE__->_factory(
43 [ qw( id
44 url
45 displayUrl
46 finalUrls
47 finalMobileUrls
48 finalAppUrls
49 trackingUrlTemplate
50 finalUrlSuffix
51 urlCustomParameters
52 urlData
53 automated
54 type
55 devicePreference
56 systemManagedEntitySource
57 Ad__Type
58 description
59  
60 ) ],
61 {
62 'id' => \%id_of,
63 'url' => \%url_of,
64 'displayUrl' => \%displayUrl_of,
65 'finalUrls' => \%finalUrls_of,
66 'finalMobileUrls' => \%finalMobileUrls_of,
67 'finalAppUrls' => \%finalAppUrls_of,
68 'trackingUrlTemplate' => \%trackingUrlTemplate_of,
69 'finalUrlSuffix' => \%finalUrlSuffix_of,
70 'urlCustomParameters' => \%urlCustomParameters_of,
71 'urlData' => \%urlData_of,
72 'automated' => \%automated_of,
73 'type' => \%type_of,
74 'devicePreference' => \%devicePreference_of,
75 'systemManagedEntitySource' => \%systemManagedEntitySource_of,
76 'Ad__Type' => \%Ad__Type_of,
77 'description' => \%description_of,
78 },
79 {
80 'id' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
81 'url' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
82 'displayUrl' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
83 'finalUrls' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
84 'finalMobileUrls' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
85 'finalAppUrls' => 'Google::Ads::AdWords::v201806::AppUrl',
86 'trackingUrlTemplate' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
87 'finalUrlSuffix' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
88 'urlCustomParameters' => 'Google::Ads::AdWords::v201806::CustomParameters',
89 'urlData' => 'Google::Ads::AdWords::v201806::UrlData',
90 'automated' => 'SOAP::WSDL::XSD::Typelib::Builtin::boolean',
91 'type' => 'Google::Ads::AdWords::v201806::Ad::Type',
92 'devicePreference' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
93 'systemManagedEntitySource' => 'Google::Ads::AdWords::v201806::SystemManagedEntitySource',
94 'Ad__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
95 'description' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
96 },
97 {
98  
99 'id' => 'id',
100 'url' => 'url',
101 'displayUrl' => 'displayUrl',
102 'finalUrls' => 'finalUrls',
103 'finalMobileUrls' => 'finalMobileUrls',
104 'finalAppUrls' => 'finalAppUrls',
105 'trackingUrlTemplate' => 'trackingUrlTemplate',
106 'finalUrlSuffix' => 'finalUrlSuffix',
107 'urlCustomParameters' => 'urlCustomParameters',
108 'urlData' => 'urlData',
109 'automated' => 'automated',
110 'type' => 'type',
111 'devicePreference' => 'devicePreference',
112 'systemManagedEntitySource' => 'systemManagedEntitySource',
113 'Ad__Type' => 'Ad.Type',
114 'description' => 'description',
115 }
116 );
117  
118 } # end BLOCK
119  
120  
121  
122  
123  
124  
125  
126 1;
127  
128  
129 =pod
130  
131 =head1 NAME
132  
133 Google::Ads::AdWords::v201806::ExpandedDynamicSearchAd
134  
135 =head1 DESCRIPTION
136  
137 Perl data type class for the XML Schema defined complexType
138 ExpandedDynamicSearchAd from the namespace https://adwords.google.com/api/adwords/cm/v201806.
139  
140 Represents an ExpandedDynamicSearchAd. This ad will have its headline, final URLs and display URL auto-generated at serving time according to domain name specific information provided by DynamicSearchAdsSetting linked at the campaign level. <p>Auto-generated fields: headline, final URLs and display URL.</p> <p><b>Required fields:</b> {@code description}.</p> <p>The tracking URL field must contain at least one of the following placeholder tags (URL parameters):</p> <ul> <li>{unescapedlpurl}</li> <li>{escapedlpurl}</li> <li>{lpurl}</li> <li>{lpurl+2}</li> <li>{lpurl+3}</li> </ul> <ul> <li>{unescapedlpurl} will be replaced with the full landing page URL of the displayed ad. Extra query parameters can be added to the end, e.g.: "{unescapedlpurl}?lang=en".</li> <li>{escapedlpurl} will be replaced with the URL-encoded version of the full landing page URL. This makes it suitable for use as a query parameter value (e.g.: "http://www.3rdpartytracker.com/?lp={escapedlpurl}") but not at the beginning of the URL field.</li> <li>{lpurl} encodes the "?" and "=" of the landing page URL making it suitable for use as a query parameter. If found at the beginning of the URL field, it is replaced by the {unescapedlpurl} value. E.g.: "http://tracking.com/redir.php?tracking=xyz&url={lpurl}".</li> <li>{lpurl+2} and {lpurl+3} will be replaced with the landing page URL escaped two or three times, respectively. This makes it suitable if there is a chain of redirects in the tracking URL.</li> </ul> <span class="constraint AdxEnabled">This is enabled for AdX.</span>
141  
142  
143  
144  
145 =head2 PROPERTIES
146  
147 The following properties may be accessed using get_PROPERTY / set_PROPERTY
148 methods:
149  
150 =over
151  
152 =item * description
153  
154  
155  
156  
157 =back
158  
159  
160 =head1 METHODS
161  
162 =head2 new
163  
164 Constructor. The following data structure may be passed to new():
165  
166  
167  
168  
169  
170  
171 =head1 AUTHOR
172  
173 Generated by SOAP::WSDL
174  
175 =cut
176