File Coverage

lib/Google/Ads/AdWords/v201710/FeedMapping.pm
Criterion Covered Total %
statement 12 14 85.7
branch n/a
condition n/a
subroutine 4 6 66.6
pod n/a
total 16 20 80.0


line stmt bran cond sub pod time code
1             package Google::Ads::AdWords::v201710::FeedMapping;
2 1     1   1751 use strict;
  1         3  
  1         44  
3 1     1   8 use warnings;
  1         3  
  1         103  
4              
5              
6             __PACKAGE__->_set_element_form_qualified(1);
7              
8 0     0     sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201710' };
9              
10             our $XML_ATTRIBUTE_CLASS;
11             undef $XML_ATTRIBUTE_CLASS;
12              
13             sub __get_attr_class {
14 0     0     return $XML_ATTRIBUTE_CLASS;
15             }
16              
17 1     1   6 use Class::Std::Fast::Storable constructor => 'none';
  1         2  
  1         8  
18 1     1   159 use base qw(Google::Ads::SOAP::Typelib::ComplexType);
  1         3  
  1         99  
19              
20             { # BLOCK to scope variables
21              
22             my %feedMappingId_of :ATTR(:get);
23             my %feedId_of :ATTR(:get);
24             my %placeholderType_of :ATTR(:get);
25             my %status_of :ATTR(:get);
26             my %attributeFieldMappings_of :ATTR(:get);
27             my %criterionType_of :ATTR(:get);
28              
29             __PACKAGE__->_factory(
30             [ qw( feedMappingId
31             feedId
32             placeholderType
33             status
34             attributeFieldMappings
35             criterionType
36              
37             ) ],
38             {
39             'feedMappingId' => \%feedMappingId_of,
40             'feedId' => \%feedId_of,
41             'placeholderType' => \%placeholderType_of,
42             'status' => \%status_of,
43             'attributeFieldMappings' => \%attributeFieldMappings_of,
44             'criterionType' => \%criterionType_of,
45             },
46             {
47             'feedMappingId' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
48             'feedId' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
49             'placeholderType' => 'SOAP::WSDL::XSD::Typelib::Builtin::int',
50             'status' => 'Google::Ads::AdWords::v201710::FeedMapping::Status',
51             'attributeFieldMappings' => 'Google::Ads::AdWords::v201710::AttributeFieldMapping',
52             'criterionType' => 'SOAP::WSDL::XSD::Typelib::Builtin::int',
53             },
54             {
55              
56             'feedMappingId' => 'feedMappingId',
57             'feedId' => 'feedId',
58             'placeholderType' => 'placeholderType',
59             'status' => 'status',
60             'attributeFieldMappings' => 'attributeFieldMappings',
61             'criterionType' => 'criterionType',
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::v201710::FeedMapping
81              
82             =head1 DESCRIPTION
83              
84             Perl data type class for the XML Schema defined complexType
85             FeedMapping from the namespace https://adwords.google.com/api/adwords/cm/v201710.
86              
87             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.

For a list of feed placeholders, see https://developers.google.com/adwords/api/docs/appendix/placeholders

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 * feedMappingId
100              
101              
102             =item * feedId
103              
104              
105             =item * placeholderType
106              
107              
108             =item * status
109              
110              
111             =item * attributeFieldMappings
112              
113              
114             =item * criterionType
115              
116              
117              
118              
119             =back
120              
121              
122             =head1 METHODS
123              
124             =head2 new
125              
126             Constructor. The following data structure may be passed to new():
127              
128              
129              
130              
131              
132              
133             =head1 AUTHOR
134              
135             Generated by SOAP::WSDL
136              
137             =cut
138