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

filter: Statementstmt 0.0% 0 / 31 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 6 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 39 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::FeedMapping;
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 use Class::Std::Fast::Storable constructor => 'none';
18 use base qw(Google::Ads::SOAP::Typelib::ComplexType);
19  
20 Class::Std::initialize();
21  
22 { # BLOCK to scope variables
23  
24 my %feedMappingId_of :ATTR(:get<feedMappingId>);
25 my %feedId_of :ATTR(:get<feedId>);
26 my %placeholderType_of :ATTR(:get<placeholderType>);
27 my %status_of :ATTR(:get<status>);
28 my %attributeFieldMappings_of :ATTR(:get<attributeFieldMappings>);
29 my %criterionType_of :ATTR(:get<criterionType>);
30  
31 __PACKAGE__->_factory(
32 [ qw( feedMappingId
33 feedId
34 placeholderType
35 status
36 attributeFieldMappings
37 criterionType
38  
39 ) ],
40 {
41 'feedMappingId' => \%feedMappingId_of,
42 'feedId' => \%feedId_of,
43 'placeholderType' => \%placeholderType_of,
44 'status' => \%status_of,
45 'attributeFieldMappings' => \%attributeFieldMappings_of,
46 'criterionType' => \%criterionType_of,
47 },
48 {
49 'feedMappingId' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
50 'feedId' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
51 'placeholderType' => 'SOAP::WSDL::XSD::Typelib::Builtin::int',
52 'status' => 'Google::Ads::AdWords::v201402::FeedMapping::Status',
53 'attributeFieldMappings' => 'Google::Ads::AdWords::v201402::AttributeFieldMapping',
54 'criterionType' => 'SOAP::WSDL::XSD::Typelib::Builtin::int',
55 },
56 {
57  
58 'feedMappingId' => 'feedMappingId',
59 'feedId' => 'feedId',
60 'placeholderType' => 'placeholderType',
61 'status' => 'status',
62 'attributeFieldMappings' => 'attributeFieldMappings',
63 'criterionType' => 'criterionType',
64 }
65 );
66  
67 } # end BLOCK
68  
69  
70  
71  
72  
73  
74  
75 1;
76  
77  
78 =pod
79  
80 =head1 NAME
81  
82 Google::Ads::AdWords::v201402::FeedMapping
83  
84 =head1 DESCRIPTION
85  
86 Perl data type class for the XML Schema defined complexType
87 FeedMapping from the namespace https://adwords.google.com/api/adwords/cm/v201402.
88  
89 A FeedMapping represents a mapping between feed attributes in a specific feed and placeholder fields for a specific placeholder type. This will tell the ads serving system which parts of the feed item should be used when populating a placeholder. Without this mapping the placeholder cannot be populated and the extension can not be displayed. <p>For a list of feed placeholders, see <a href="/adwords/api/docs/appendix/placeholders"> https://developers.google.com/adwords/api/docs/appendix/placeholders </a></p>
90  
91  
92  
93  
94 =head2 PROPERTIES
95  
96 The following properties may be accessed using get_PROPERTY / set_PROPERTY
97 methods:
98  
99 =over
100  
101 =item * feedMappingId
102  
103  
104 =item * feedId
105  
106  
107 =item * placeholderType
108  
109  
110 =item * status
111  
112  
113 =item * attributeFieldMappings
114  
115  
116 =item * criterionType
117  
118  
119  
120  
121 =back
122  
123  
124 =head1 METHODS
125  
126 =head2 new
127  
128 Constructor. The following data structure may be passed to new():
129  
130  
131  
132  
133  
134  
135 =head1 AUTHOR
136  
137 Generated by SOAP::WSDL
138  
139 =cut
140