lib/Google/Ads/AdWords/v201809/FeedItem.pm

filter: Statementstmt 85.7% 12 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 4 / 6 Podpod n/a totaltotal 80.0% 16 / 20 CC 1 SCAR 2.9
CC
1
Cov
86%
get_xmlns
2.0
__get_attr_class
2.0
BEGIN
1.0
CRAP 1.3
« lib/Google/Ads/AdWords/v201809/FeedChangeData.pm ↑ Summary lib/Google/Ads/AdWords/v201809/FeedItemAdGroupTargeting.pm »
1 package Google::Ads::AdWords::v201809::FeedItem;
2 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5  
6 __PACKAGE__->_set_element_form_qualified(1);
7  
8 0 ▶sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201809' };
Subroutine get_xmlns: not called CC=1 SCAR=6.9
9  
10 our $XML_ATTRIBUTE_CLASS;
11 undef $XML_ATTRIBUTE_CLASS;
12  
13 0 ▶sub __get_attr_class {
Subroutine __get_attr_class: not called CC=1 SCAR=6.9
14 0 return $XML_ATTRIBUTE_CLASS;
15 }
16  
17 1 ▶use Class::Std::Fast::Storable constructor => 'none';
Subroutine BEGIN: called CC=1 SCAR=0.0
18 1 ▶use base qw(Google::Ads::SOAP::Typelib::ComplexType);
Subroutine BEGIN: called CC=1 SCAR=0.0
19  
20 { # BLOCK to scope variables
21  
22 my %feedId_of :ATTR(:get<feedId>);
23 my %feedItemId_of :ATTR(:get<feedItemId>);
24 my %status_of :ATTR(:get<status>);
25 my %startTime_of :ATTR(:get<startTime>);
26 my %endTime_of :ATTR(:get<endTime>);
27 my %attributeValues_of :ATTR(:get<attributeValues>);
28 my %policySummaries_of :ATTR(:get<policySummaries>);
29 my %geoTargetingRestriction_of :ATTR(:get<geoTargetingRestriction>);
30 my %urlCustomParameters_of :ATTR(:get<urlCustomParameters>);
31  
32 __PACKAGE__->_factory(
33 [ qw( feedId
34 feedItemId
35 status
36 startTime
37 endTime
38 attributeValues
39 policySummaries
40 geoTargetingRestriction
41 urlCustomParameters
42  
43 ) ],
44 {
45 'feedId' => \%feedId_of,
46 'feedItemId' => \%feedItemId_of,
47 'status' => \%status_of,
48 'startTime' => \%startTime_of,
49 'endTime' => \%endTime_of,
50 'attributeValues' => \%attributeValues_of,
51 'policySummaries' => \%policySummaries_of,
52 'geoTargetingRestriction' => \%geoTargetingRestriction_of,
53 'urlCustomParameters' => \%urlCustomParameters_of,
54 },
55 {
56 'feedId' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
57 'feedItemId' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
58 'status' => 'Google::Ads::AdWords::v201809::FeedItem::Status',
59 'startTime' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
60 'endTime' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
61 'attributeValues' => 'Google::Ads::AdWords::v201809::FeedItemAttributeValue',
62 'policySummaries' => 'Google::Ads::AdWords::v201809::FeedItemPolicySummary',
63 'geoTargetingRestriction' => 'Google::Ads::AdWords::v201809::FeedItemGeoRestriction',
64 'urlCustomParameters' => 'Google::Ads::AdWords::v201809::CustomParameters',
65 },
66 {
67  
68 'feedId' => 'feedId',
69 'feedItemId' => 'feedItemId',
70 'status' => 'status',
71 'startTime' => 'startTime',
72 'endTime' => 'endTime',
73 'attributeValues' => 'attributeValues',
74 'policySummaries' => 'policySummaries',
75 'geoTargetingRestriction' => 'geoTargetingRestriction',
76 'urlCustomParameters' => 'urlCustomParameters',
77 }
78 );
79  
80 } # end BLOCK
81  
82  
83  
84  
85  
86  
87  
88 1;
89  
90  
91 =pod
92  
93 =head1 NAME
94  
95 Google::Ads::AdWords::v201809::FeedItem
96  
97 =head1 DESCRIPTION
98  
99 Perl data type class for the XML Schema defined complexType
100 FeedItem from the namespace https://adwords.google.com/api/adwords/cm/v201809.
101  
102 Represents an item in a feed.
103  
104  
105  
106  
107 =head2 PROPERTIES
108  
109 The following properties may be accessed using get_PROPERTY / set_PROPERTY
110 methods:
111  
112 =over
113  
114 =item * feedId
115  
116  
117 =item * feedItemId
118  
119  
120 =item * status
121  
122  
123 =item * startTime
124  
125  
126 =item * endTime
127  
128  
129 =item * attributeValues
130  
131  
132 =item * policySummaries
133  
134  
135 =item * geoTargetingRestriction
136  
137  
138 =item * urlCustomParameters
139  
140  
141  
142  
143 =back
144  
145  
146 =head1 METHODS
147  
148 =head2 new
149  
150 Constructor. The following data structure may be passed to new():
151  
152  
153  
154  
155  
156  
157 =head1 AUTHOR
158  
159 Generated by SOAP::WSDL
160  
161 =cut
162  
« lib/Google/Ads/AdWords/v201809/FeedChangeData.pm ↑ Summary lib/Google/Ads/AdWords/v201809/FeedItemAdGroupTargeting.pm »