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

filter: Statementstmt 81.8% 9 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 60.0% 3 / 5 Podpod n/a totaltotal 75.0% 12 / 16 CC 1 SCAR 3.4
CC
1
Cov
82%
get_xmlns
2.0
__get_attr_class
2.0
BEGIN
1.0
CRAP 1.4
« lib/Google/Ads/AdWords/v201809/CallOnlyAd.pm ↑ Summary lib/Google/Ads/AdWords/v201809/CampaignBidModifierError.pm »
1 package Google::Ads::AdWords::v201809::CalloutFeedItem;
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  
18 1 ▶use base qw(Google::Ads::AdWords::v201809::ExtensionFeedItem);
Subroutine BEGIN: called CC=1 SCAR=0.0
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 %feedId_of :ATTR(:get<feedId>);
26 my %feedItemId_of :ATTR(:get<feedItemId>);
27 my %status_of :ATTR(:get<status>);
28 my %feedType_of :ATTR(:get<feedType>);
29 my %startTime_of :ATTR(:get<startTime>);
30 my %endTime_of :ATTR(:get<endTime>);
31 my %devicePreference_of :ATTR(:get<devicePreference>);
32 my %scheduling_of :ATTR(:get<scheduling>);
33 my %campaignTargeting_of :ATTR(:get<campaignTargeting>);
34 my %adGroupTargeting_of :ATTR(:get<adGroupTargeting>);
35 my %keywordTargeting_of :ATTR(:get<keywordTargeting>);
36 my %geoTargeting_of :ATTR(:get<geoTargeting>);
37 my %geoTargetingRestriction_of :ATTR(:get<geoTargetingRestriction>);
38 my %policySummaries_of :ATTR(:get<policySummaries>);
39 my %ExtensionFeedItem__Type_of :ATTR(:get<ExtensionFeedItem__Type>);
40 my %calloutText_of :ATTR(:get<calloutText>);
41  
42 __PACKAGE__->_factory(
43 [ qw( feedId
44 feedItemId
45 status
46 feedType
47 startTime
48 endTime
49 devicePreference
50 scheduling
51 campaignTargeting
52 adGroupTargeting
53 keywordTargeting
54 geoTargeting
55 geoTargetingRestriction
56 policySummaries
57 ExtensionFeedItem__Type
58 calloutText
59  
60 ) ],
61 {
62 'feedId' => \%feedId_of,
63 'feedItemId' => \%feedItemId_of,
64 'status' => \%status_of,
65 'feedType' => \%feedType_of,
66 'startTime' => \%startTime_of,
67 'endTime' => \%endTime_of,
68 'devicePreference' => \%devicePreference_of,
69 'scheduling' => \%scheduling_of,
70 'campaignTargeting' => \%campaignTargeting_of,
71 'adGroupTargeting' => \%adGroupTargeting_of,
72 'keywordTargeting' => \%keywordTargeting_of,
73 'geoTargeting' => \%geoTargeting_of,
74 'geoTargetingRestriction' => \%geoTargetingRestriction_of,
75 'policySummaries' => \%policySummaries_of,
76 'ExtensionFeedItem__Type' => \%ExtensionFeedItem__Type_of,
77 'calloutText' => \%calloutText_of,
78 },
79 {
80 'feedId' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
81 'feedItemId' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
82 'status' => 'Google::Ads::AdWords::v201809::FeedItem::Status',
83 'feedType' => 'Google::Ads::AdWords::v201809::Feed::Type',
84 'startTime' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
85 'endTime' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
86 'devicePreference' => 'Google::Ads::AdWords::v201809::FeedItemDevicePreference',
87 'scheduling' => 'Google::Ads::AdWords::v201809::FeedItemScheduling',
88 'campaignTargeting' => 'Google::Ads::AdWords::v201809::FeedItemCampaignTargeting',
89 'adGroupTargeting' => 'Google::Ads::AdWords::v201809::FeedItemAdGroupTargeting',
90 'keywordTargeting' => 'Google::Ads::AdWords::v201809::Keyword',
91 'geoTargeting' => 'Google::Ads::AdWords::v201809::Location',
92 'geoTargetingRestriction' => 'Google::Ads::AdWords::v201809::FeedItemGeoRestriction',
93 'policySummaries' => 'Google::Ads::AdWords::v201809::FeedItemPolicySummary',
94 'ExtensionFeedItem__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
95 'calloutText' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
96 },
97 {
98  
99 'feedId' => 'feedId',
100 'feedItemId' => 'feedItemId',
101 'status' => 'status',
102 'feedType' => 'feedType',
103 'startTime' => 'startTime',
104 'endTime' => 'endTime',
105 'devicePreference' => 'devicePreference',
106 'scheduling' => 'scheduling',
107 'campaignTargeting' => 'campaignTargeting',
108 'adGroupTargeting' => 'adGroupTargeting',
109 'keywordTargeting' => 'keywordTargeting',
110 'geoTargeting' => 'geoTargeting',
111 'geoTargetingRestriction' => 'geoTargetingRestriction',
112 'policySummaries' => 'policySummaries',
113 'ExtensionFeedItem__Type' => 'ExtensionFeedItem.Type',
114 'calloutText' => 'calloutText',
115 }
116 );
117  
118 } # end BLOCK
119  
120  
121  
122  
123  
124  
125  
126 1;
127  
128  
129 =pod
130  
131 =head1 NAME
132  
133 Google::Ads::AdWords::v201809::CalloutFeedItem
134  
135 =head1 DESCRIPTION
136  
137 Perl data type class for the XML Schema defined complexType
138 CalloutFeedItem from the namespace https://adwords.google.com/api/adwords/cm/v201809.
139  
140 Represents a callout extension.
141  
142  
143  
144  
145 =head2 PROPERTIES
146  
147 The following properties may be accessed using get_PROPERTY / set_PROPERTY
148 methods:
149  
150 =over
151  
152 =item * calloutText
153  
154  
155  
156  
157 =back
158  
159  
160 =head1 METHODS
161  
162 =head2 new
163  
164 Constructor. The following data structure may be passed to new():
165  
166  
167  
168  
169  
170  
171 =head1 AUTHOR
172  
173 Generated by SOAP::WSDL
174  
175 =cut
176  
« lib/Google/Ads/AdWords/v201809/CallOnlyAd.pm ↑ Summary lib/Google/Ads/AdWords/v201809/CampaignBidModifierError.pm »