blib/lib/Google/Ads/AdWords/v201402/DynamicSearchAd.pm untested

filter: Statementstmt 0.0% 0 / 35 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 7 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 44 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::v201402::DynamicSearchAd;
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/v201402' };
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::v201402::Ad);
19 # Variety: sequence
20 use Class::Std::Fast::Storable constructor => 'none';
21 use base qw(Google::Ads::SOAP::Typelib::ComplexType);
22  
23 Class::Std::initialize();
24  
25 { # BLOCK to scope variables
26  
27 my %id_of :ATTR(:get<id>);
28 my %url_of :ATTR(:get<url>);
29 my %displayUrl_of :ATTR(:get<displayUrl>);
30 my %devicePreference_of :ATTR(:get<devicePreference>);
31 my %Ad__Type_of :ATTR(:get<Ad__Type>);
32 my %description1_of :ATTR(:get<description1>);
33 my %description2_of :ATTR(:get<description2>);
34  
35 __PACKAGE__->_factory(
36 [ qw( id
37 url
38 displayUrl
39 devicePreference
40 Ad__Type
41 description1
42 description2
43  
44 ) ],
45 {
46 'id' => \%id_of,
47 'url' => \%url_of,
48 'displayUrl' => \%displayUrl_of,
49 'devicePreference' => \%devicePreference_of,
50 'Ad__Type' => \%Ad__Type_of,
51 'description1' => \%description1_of,
52 'description2' => \%description2_of,
53 },
54 {
55 'id' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
56 'url' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
57 'displayUrl' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
58 'devicePreference' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
59 'Ad__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
60 'description1' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
61 'description2' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
62 },
63 {
64  
65 'id' => 'id',
66 'url' => 'url',
67 'displayUrl' => 'displayUrl',
68 'devicePreference' => 'devicePreference',
69 'Ad__Type' => 'Ad.Type',
70 'description1' => 'description1',
71 'description2' => 'description2',
72 }
73 );
74  
75 } # end BLOCK
76  
77  
78  
79  
80  
81  
82  
83 1;
84  
85  
86 =pod
87  
88 =head1 NAME
89  
90 Google::Ads::AdWords::v201402::DynamicSearchAd
91  
92 =head1 DESCRIPTION
93  
94 Perl data type class for the XML Schema defined complexType
95 DynamicSearchAd from the namespace https://adwords.google.com/api/adwords/cm/v201402.
96  
97 Represents a dynamic search ad. This ad will have its headline and destination URL auto-generated at serving time according to domain name specific information provided by {@link DomainInfoExtension} linked at the campaign level. <p>Auto-generated fields: headline and destination URL (may contain an optional tracking URL)</p> <p>Required fields: description1, description2, displayUrl</p> <p>The URL field must contain at least one of the following placeholder tags (URL parameters): {unescapedlpurl}, {escapedlpurl}, {lpurlpath}. If no URL is specified, {unescapedlpurl} will be used as default.</p> <p>{unescapedlpurl} can only be used at the beginning of the URL field. It 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".</p> <p>{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.</p> <p>{lpurlpath} will be replaced with the path and query part of the landing page URL and can be added to a different URL, e.g. "http://www.mygoodbusiness.com/tracking/{lpurlpath}".</p> <p>There are also special rules that come into play depending on whether the destination URL uses local click tracking or third-party click tracking.<p> <p>For more information, see the article <a href="//support.google.com/adwords/bin/answer.py?answer=2549100">Using dynamic tracking URLs</a>. <span class="constraint AdxEnabled">This is disabled for AdX when it is contained within Operators: ADD, SET.</span>
98  
99  
100  
101  
102 =head2 PROPERTIES
103  
104 The following properties may be accessed using get_PROPERTY / set_PROPERTY
105 methods:
106  
107 =over
108  
109 =item * description1
110  
111  
112 =item * description2
113  
114  
115  
116  
117 =back
118  
119  
120 =head1 METHODS
121  
122 =head2 new
123  
124 Constructor. The following data structure may be passed to new():
125  
126  
127  
128  
129  
130  
131 =head1 AUTHOR
132  
133 Generated by SOAP::WSDL
134  
135 =cut
136