File Coverage

lib/Google/Ads/AdWords/v201702/FeedItemPolicyData.pm
Criterion Covered Total %
statement 9 11 81.8
branch n/a
condition n/a
subroutine 3 5 60.0
pod n/a
total 12 16 75.0


line stmt bran cond sub pod time code
1             package Google::Ads::AdWords::v201702::FeedItemPolicyData;
2 1     1   2184 use strict;
  1         3  
  1         38  
3 1     1   5 use warnings;
  1         2  
  1         115  
4              
5              
6             __PACKAGE__->_set_element_form_qualified(1);
7              
8 0     0     sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201702' };
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              
18 1     1   7 use base qw(Google::Ads::AdWords::v201702::PolicyData);
  1         3  
  1         348  
19             # Variety: sequence
20             use Class::Std::Fast::Storable constructor => 'none';
21             use base qw(Google::Ads::SOAP::Typelib::ComplexType);
22              
23             { # BLOCK to scope variables
24              
25             my %disapprovalReasons_of :ATTR(:get);
26             my %PolicyData__Type_of :ATTR(:get);
27             my %placeholderType_of :ATTR(:get);
28             my %feedMappingId_of :ATTR(:get);
29             my %validationStatus_of :ATTR(:get);
30             my %approvalStatus_of :ATTR(:get);
31             my %validationErrors_of :ATTR(:get);
32             my %qualityApprovalStatus_of :ATTR(:get);
33             my %qualityDisapprovalReasons_of :ATTR(:get);
34              
35             __PACKAGE__->_factory(
36             [ qw( disapprovalReasons
37             PolicyData__Type
38             placeholderType
39             feedMappingId
40             validationStatus
41             approvalStatus
42             validationErrors
43             qualityApprovalStatus
44             qualityDisapprovalReasons
45              
46             ) ],
47             {
48             'disapprovalReasons' => \%disapprovalReasons_of,
49             'PolicyData__Type' => \%PolicyData__Type_of,
50             'placeholderType' => \%placeholderType_of,
51             'feedMappingId' => \%feedMappingId_of,
52             'validationStatus' => \%validationStatus_of,
53             'approvalStatus' => \%approvalStatus_of,
54             'validationErrors' => \%validationErrors_of,
55             'qualityApprovalStatus' => \%qualityApprovalStatus_of,
56             'qualityDisapprovalReasons' => \%qualityDisapprovalReasons_of,
57             },
58             {
59             'disapprovalReasons' => 'Google::Ads::AdWords::v201702::DisapprovalReason',
60             'PolicyData__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
61             'placeholderType' => 'SOAP::WSDL::XSD::Typelib::Builtin::int',
62             'feedMappingId' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
63             'validationStatus' => 'Google::Ads::AdWords::v201702::FeedItemValidationStatus',
64             'approvalStatus' => 'Google::Ads::AdWords::v201702::FeedItemApprovalStatus',
65             'validationErrors' => 'Google::Ads::AdWords::v201702::FeedItemAttributeError',
66             'qualityApprovalStatus' => 'Google::Ads::AdWords::v201702::FeedItemQualityApprovalStatus',
67             'qualityDisapprovalReasons' => 'Google::Ads::AdWords::v201702::FeedItemQualityDisapprovalReasons',
68             },
69             {
70              
71             'disapprovalReasons' => 'disapprovalReasons',
72             'PolicyData__Type' => 'PolicyData.Type',
73             'placeholderType' => 'placeholderType',
74             'feedMappingId' => 'feedMappingId',
75             'validationStatus' => 'validationStatus',
76             'approvalStatus' => 'approvalStatus',
77             'validationErrors' => 'validationErrors',
78             'qualityApprovalStatus' => 'qualityApprovalStatus',
79             'qualityDisapprovalReasons' => 'qualityDisapprovalReasons',
80             }
81             );
82              
83             } # end BLOCK
84              
85              
86              
87              
88              
89              
90              
91             1;
92              
93              
94             =pod
95              
96             =head1 NAME
97              
98             Google::Ads::AdWords::v201702::FeedItemPolicyData
99              
100             =head1 DESCRIPTION
101              
102             Perl data type class for the XML Schema defined complexType
103             FeedItemPolicyData from the namespace https://adwords.google.com/api/adwords/cm/v201702.
104              
105             Contains offline-validation and approval results for a given FeedItem and FeedMapping. Each validation data indicates any issues found on the feed item when used in the context of the feed mapping.
106              
107              
108              
109              
110             =head2 PROPERTIES
111              
112             The following properties may be accessed using get_PROPERTY / set_PROPERTY
113             methods:
114              
115             =over
116              
117             =item * placeholderType
118              
119              
120             =item * feedMappingId
121              
122              
123             =item * validationStatus
124              
125              
126             =item * approvalStatus
127              
128              
129             =item * validationErrors
130              
131              
132             =item * qualityApprovalStatus
133              
134              
135             =item * qualityDisapprovalReasons
136              
137              
138              
139              
140             =back
141              
142              
143             =head1 METHODS
144              
145             =head2 new
146              
147             Constructor. The following data structure may be passed to new():
148              
149              
150              
151              
152              
153              
154             =head1 AUTHOR
155              
156             Generated by SOAP::WSDL
157              
158             =cut
159