blib/lib/Google/Ads/AdWords/v201309/ProductAd.pm untested

filter: Statementstmt 0.0% 0 / 34 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 7 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 43 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::v201309::ProductAd;
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/v201309' };
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::v201309::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 %promotionLine_of :ATTR(:get<promotionLine>);
33  
34 __PACKAGE__->_factory(
35 [ qw( id
36 url
37 displayUrl
38 devicePreference
39 Ad__Type
40 promotionLine
41  
42 ) ],
43 {
44 'id' => \%id_of,
45 'url' => \%url_of,
46 'displayUrl' => \%displayUrl_of,
47 'devicePreference' => \%devicePreference_of,
48 'Ad__Type' => \%Ad__Type_of,
49 'promotionLine' => \%promotionLine_of,
50 },
51 {
52 'id' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
53 'url' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
54 'displayUrl' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
55 'devicePreference' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
56 'Ad__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
57 'promotionLine' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
58 },
59 {
60  
61 'id' => 'id',
62 'url' => 'url',
63 'displayUrl' => 'displayUrl',
64 'devicePreference' => 'devicePreference',
65 'Ad__Type' => 'Ad.Type',
66 'promotionLine' => 'promotionLine',
67 }
68 );
69  
70 } # end BLOCK
71  
72  
73  
74  
75  
76  
77  
78 1;
79  
80  
81 =pod
82  
83 =head1 NAME
84  
85 Google::Ads::AdWords::v201309::ProductAd
86  
87 =head1 DESCRIPTION
88  
89 Perl data type class for the XML Schema defined complexType
90 ProductAd from the namespace https://adwords.google.com/api/adwords/cm/v201309.
91  
92 Represents a product ad (known as a <a href= "//support.google.com/adwords/bin/answer.py?answer=2456103">product listing ad</a> in the AdWords user interface). A product ad displays product data (managed using the Google Merchant Center) that is pulled from the Google base product feed specified in the parent campaign's {@linkplain ProductExtension product extension}. <p>Product ads are only available to a limited set of advertisers. If you are not eligible to use product ads, they will not serve.</p> <p class="caution"><b>Caution:</b> Product ads do not use {@link #url url} or {@link #displayUrl displayUrl}; setting these fields on a product ad will cause an error.</p> <span class="constraint AdxEnabled">This is disabled for AdX when it is contained within Operators: ADD, SET.</span>
93  
94  
95  
96  
97 =head2 PROPERTIES
98  
99 The following properties may be accessed using get_PROPERTY / set_PROPERTY
100 methods:
101  
102 =over
103  
104 =item * promotionLine
105  
106  
107  
108  
109 =back
110  
111  
112 =head1 METHODS
113  
114 =head2 new
115  
116 Constructor. The following data structure may be passed to new():
117  
118  
119  
120  
121  
122  
123 =head1 AUTHOR
124  
125 Generated by SOAP::WSDL
126  
127 =cut
128