lib/Google/Ads/AdWords/v201809/ExtensionFeedItem.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/ExemptionRequest.pm ↑ Summary lib/Google/Ads/AdWords/v201809/ExtensionSetting.pm »
1 package Google::Ads::AdWords::v201809::ExtensionFeedItem;
2 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 2 ▶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 2 ▶use Class::Std::Fast::Storable constructor => 'none';
Subroutine BEGIN: called CC=1 SCAR=0.0
18 2 ▶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 %feedType_of :ATTR(:get<feedType>);
26 my %startTime_of :ATTR(:get<startTime>);
27 my %endTime_of :ATTR(:get<endTime>);
28 my %devicePreference_of :ATTR(:get<devicePreference>);
29 my %scheduling_of :ATTR(:get<scheduling>);
30 my %campaignTargeting_of :ATTR(:get<campaignTargeting>);
31 my %adGroupTargeting_of :ATTR(:get<adGroupTargeting>);
32 my %keywordTargeting_of :ATTR(:get<keywordTargeting>);
33 my %geoTargeting_of :ATTR(:get<geoTargeting>);
34 my %geoTargetingRestriction_of :ATTR(:get<geoTargetingRestriction>);
35 my %policySummaries_of :ATTR(:get<policySummaries>);
36 my %ExtensionFeedItem__Type_of :ATTR(:get<ExtensionFeedItem__Type>);
37  
38 __PACKAGE__->_factory(
39 [ qw( feedId
40 feedItemId
41 status
42 feedType
43 startTime
44 endTime
45 devicePreference
46 scheduling
47 campaignTargeting
48 adGroupTargeting
49 keywordTargeting
50 geoTargeting
51 geoTargetingRestriction
52 policySummaries
53 ExtensionFeedItem__Type
54  
55 ) ],
56 {
57 'feedId' => \%feedId_of,
58 'feedItemId' => \%feedItemId_of,
59 'status' => \%status_of,
60 'feedType' => \%feedType_of,
61 'startTime' => \%startTime_of,
62 'endTime' => \%endTime_of,
63 'devicePreference' => \%devicePreference_of,
64 'scheduling' => \%scheduling_of,
65 'campaignTargeting' => \%campaignTargeting_of,
66 'adGroupTargeting' => \%adGroupTargeting_of,
67 'keywordTargeting' => \%keywordTargeting_of,
68 'geoTargeting' => \%geoTargeting_of,
69 'geoTargetingRestriction' => \%geoTargetingRestriction_of,
70 'policySummaries' => \%policySummaries_of,
71 'ExtensionFeedItem__Type' => \%ExtensionFeedItem__Type_of,
72 },
73 {
74 'feedId' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
75 'feedItemId' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
76 'status' => 'Google::Ads::AdWords::v201809::FeedItem::Status',
77 'feedType' => 'Google::Ads::AdWords::v201809::Feed::Type',
78 'startTime' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
79 'endTime' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
80 'devicePreference' => 'Google::Ads::AdWords::v201809::FeedItemDevicePreference',
81 'scheduling' => 'Google::Ads::AdWords::v201809::FeedItemScheduling',
82 'campaignTargeting' => 'Google::Ads::AdWords::v201809::FeedItemCampaignTargeting',
83 'adGroupTargeting' => 'Google::Ads::AdWords::v201809::FeedItemAdGroupTargeting',
84 'keywordTargeting' => 'Google::Ads::AdWords::v201809::Keyword',
85 'geoTargeting' => 'Google::Ads::AdWords::v201809::Location',
86 'geoTargetingRestriction' => 'Google::Ads::AdWords::v201809::FeedItemGeoRestriction',
87 'policySummaries' => 'Google::Ads::AdWords::v201809::FeedItemPolicySummary',
88 'ExtensionFeedItem__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
89 },
90 {
91  
92 'feedId' => 'feedId',
93 'feedItemId' => 'feedItemId',
94 'status' => 'status',
95 'feedType' => 'feedType',
96 'startTime' => 'startTime',
97 'endTime' => 'endTime',
98 'devicePreference' => 'devicePreference',
99 'scheduling' => 'scheduling',
100 'campaignTargeting' => 'campaignTargeting',
101 'adGroupTargeting' => 'adGroupTargeting',
102 'keywordTargeting' => 'keywordTargeting',
103 'geoTargeting' => 'geoTargeting',
104 'geoTargetingRestriction' => 'geoTargetingRestriction',
105 'policySummaries' => 'policySummaries',
106 'ExtensionFeedItem__Type' => 'ExtensionFeedItem.Type',
107 }
108 );
109  
110 } # end BLOCK
111  
112  
113  
114  
115  
116  
117  
118 1;
119  
120  
121 =pod
122  
123 =head1 NAME
124  
125 Google::Ads::AdWords::v201809::ExtensionFeedItem
126  
127 =head1 DESCRIPTION
128  
129 Perl data type class for the XML Schema defined complexType
130 ExtensionFeedItem from the namespace https://adwords.google.com/api/adwords/cm/v201809.
131  
132 Contains base extension feed item data for an extension in an extension feed managed by AdWords.
133  
134  
135  
136  
137 =head2 PROPERTIES
138  
139 The following properties may be accessed using get_PROPERTY / set_PROPERTY
140 methods:
141  
142 =over
143  
144 =item * feedId
145  
146  
147 =item * feedItemId
148  
149  
150 =item * status
151  
152  
153 =item * feedType
154  
155  
156 =item * startTime
157  
158  
159 =item * endTime
160  
161  
162 =item * devicePreference
163  
164  
165 =item * scheduling
166  
167  
168 =item * campaignTargeting
169  
170  
171 =item * adGroupTargeting
172  
173  
174 =item * keywordTargeting
175  
176  
177 =item * geoTargeting
178  
179  
180 =item * geoTargetingRestriction
181  
182  
183 =item * policySummaries
184  
185  
186 =item * ExtensionFeedItem__Type
187  
188 Note: The name of this property has been altered, because it didn't match
189 perl's notion of variable/subroutine names. The altered name is used in
190 perl code only, XML output uses the original name:
191  
192 ExtensionFeedItem.Type
193  
194  
195  
196  
197 =back
198  
199  
200 =head1 METHODS
201  
202 =head2 new
203  
204 Constructor. The following data structure may be passed to new():
205  
206  
207  
208  
209  
210  
211 =head1 AUTHOR
212  
213 Generated by SOAP::WSDL
214  
215 =cut
216  
« lib/Google/Ads/AdWords/v201809/ExemptionRequest.pm ↑ Summary lib/Google/Ads/AdWords/v201809/ExtensionSetting.pm »