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

filter: Statementstmt 0.0% 0 / 33 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 7 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 42 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::Product;
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::Criterion);
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 %type_of :ATTR(:get<type>);
29 my %Criterion__Type_of :ATTR(:get<Criterion__Type>);
30 my %conditions_of :ATTR(:get<conditions>);
31 my %text_of :ATTR(:get<text>);
32  
33 __PACKAGE__->_factory(
34 [ qw( id
35 type
36 Criterion__Type
37 conditions
38 text
39  
40 ) ],
41 {
42 'id' => \%id_of,
43 'type' => \%type_of,
44 'Criterion__Type' => \%Criterion__Type_of,
45 'conditions' => \%conditions_of,
46 'text' => \%text_of,
47 },
48 {
49 'id' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
50 'type' => 'Google::Ads::AdWords::v201402::Criterion::Type',
51 'Criterion__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
52 'conditions' => 'Google::Ads::AdWords::v201402::ProductCondition',
53 'text' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
54 },
55 {
56  
57 'id' => 'id',
58 'type' => 'type',
59 'Criterion__Type' => 'Criterion.Type',
60 'conditions' => 'conditions',
61 'text' => 'text',
62 }
63 );
64  
65 } # end BLOCK
66  
67  
68  
69  
70  
71  
72  
73 1;
74  
75  
76 =pod
77  
78 =head1 NAME
79  
80 Google::Ads::AdWords::v201402::Product
81  
82 =head1 DESCRIPTION
83  
84 Perl data type class for the XML Schema defined complexType
85 Product from the namespace https://adwords.google.com/api/adwords/cm/v201402.
86  
87 Product targeting criteria, represents a filter for products in the product feed that is defined by the advertiser. The criteria is used to determine the products in a Merchant Center account to be used with the ProductAds in the AdGroup. This criteria is available only to some advertisers. <span class="constraint AdxEnabled">This is disabled for AdX when it is contained within Operators: ADD, SET.</span>
88  
89  
90  
91  
92 =head2 PROPERTIES
93  
94 The following properties may be accessed using get_PROPERTY / set_PROPERTY
95 methods:
96  
97 =over
98  
99 =item * conditions
100  
101  
102 =item * text
103  
104  
105  
106  
107 =back
108  
109  
110 =head1 METHODS
111  
112 =head2 new
113  
114 Constructor. The following data structure may be passed to new():
115  
116  
117  
118  
119  
120  
121 =head1 AUTHOR
122  
123 Generated by SOAP::WSDL
124  
125 =cut
126