File Coverage

lib/Google/Ads/AdWords/v201702/AdWordsConversionTracker.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::AdWordsConversionTracker;
2 1     1   1680 use strict;
  1         2  
  1         33  
3 1     1   5 use warnings;
  1         2  
  1         112  
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   6 use base qw(Google::Ads::AdWords::v201702::ConversionTracker);
  1         3  
  1         98  
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 %id_of :ATTR(:get);
26             my %originalConversionTypeId_of :ATTR(:get);
27             my %name_of :ATTR(:get);
28             my %status_of :ATTR(:get);
29             my %category_of :ATTR(:get);
30             my %dataDrivenModelStatus_of :ATTR(:get);
31             my %conversionTypeOwnerCustomerId_of :ATTR(:get);
32             my %viewthroughLookbackWindow_of :ATTR(:get);
33             my %ctcLookbackWindow_of :ATTR(:get);
34             my %countingType_of :ATTR(:get);
35             my %defaultRevenueValue_of :ATTR(:get);
36             my %defaultRevenueCurrencyCode_of :ATTR(:get);
37             my %alwaysUseDefaultRevenueValue_of :ATTR(:get);
38             my %excludeFromBidding_of :ATTR(:get);
39             my %attributionModelType_of :ATTR(:get);
40             my %mostRecentConversionDate_of :ATTR(:get);
41             my %lastReceivedRequestTime_of :ATTR(:get);
42             my %ConversionTracker__Type_of :ATTR(:get);
43             my %snippet_of :ATTR(:get);
44             my %textFormat_of :ATTR(:get);
45             my %conversionPageLanguage_of :ATTR(:get);
46             my %backgroundColor_of :ATTR(:get);
47             my %trackingCodeType_of :ATTR(:get);
48              
49             __PACKAGE__->_factory(
50             [ qw( id
51             originalConversionTypeId
52             name
53             status
54             category
55             dataDrivenModelStatus
56             conversionTypeOwnerCustomerId
57             viewthroughLookbackWindow
58             ctcLookbackWindow
59             countingType
60             defaultRevenueValue
61             defaultRevenueCurrencyCode
62             alwaysUseDefaultRevenueValue
63             excludeFromBidding
64             attributionModelType
65             mostRecentConversionDate
66             lastReceivedRequestTime
67             ConversionTracker__Type
68             snippet
69             textFormat
70             conversionPageLanguage
71             backgroundColor
72             trackingCodeType
73              
74             ) ],
75             {
76             'id' => \%id_of,
77             'originalConversionTypeId' => \%originalConversionTypeId_of,
78             'name' => \%name_of,
79             'status' => \%status_of,
80             'category' => \%category_of,
81             'dataDrivenModelStatus' => \%dataDrivenModelStatus_of,
82             'conversionTypeOwnerCustomerId' => \%conversionTypeOwnerCustomerId_of,
83             'viewthroughLookbackWindow' => \%viewthroughLookbackWindow_of,
84             'ctcLookbackWindow' => \%ctcLookbackWindow_of,
85             'countingType' => \%countingType_of,
86             'defaultRevenueValue' => \%defaultRevenueValue_of,
87             'defaultRevenueCurrencyCode' => \%defaultRevenueCurrencyCode_of,
88             'alwaysUseDefaultRevenueValue' => \%alwaysUseDefaultRevenueValue_of,
89             'excludeFromBidding' => \%excludeFromBidding_of,
90             'attributionModelType' => \%attributionModelType_of,
91             'mostRecentConversionDate' => \%mostRecentConversionDate_of,
92             'lastReceivedRequestTime' => \%lastReceivedRequestTime_of,
93             'ConversionTracker__Type' => \%ConversionTracker__Type_of,
94             'snippet' => \%snippet_of,
95             'textFormat' => \%textFormat_of,
96             'conversionPageLanguage' => \%conversionPageLanguage_of,
97             'backgroundColor' => \%backgroundColor_of,
98             'trackingCodeType' => \%trackingCodeType_of,
99             },
100             {
101             'id' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
102             'originalConversionTypeId' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
103             'name' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
104             'status' => 'Google::Ads::AdWords::v201702::ConversionTracker::Status',
105             'category' => 'Google::Ads::AdWords::v201702::ConversionTracker::Category',
106             'dataDrivenModelStatus' => 'Google::Ads::AdWords::v201702::DataDrivenModelStatus',
107             'conversionTypeOwnerCustomerId' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
108             'viewthroughLookbackWindow' => 'SOAP::WSDL::XSD::Typelib::Builtin::int',
109             'ctcLookbackWindow' => 'SOAP::WSDL::XSD::Typelib::Builtin::int',
110             'countingType' => 'Google::Ads::AdWords::v201702::ConversionDeduplicationMode',
111             'defaultRevenueValue' => 'SOAP::WSDL::XSD::Typelib::Builtin::double',
112             'defaultRevenueCurrencyCode' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
113             'alwaysUseDefaultRevenueValue' => 'SOAP::WSDL::XSD::Typelib::Builtin::boolean',
114             'excludeFromBidding' => 'SOAP::WSDL::XSD::Typelib::Builtin::boolean',
115             'attributionModelType' => 'Google::Ads::AdWords::v201702::AttributionModelType',
116             'mostRecentConversionDate' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
117             'lastReceivedRequestTime' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
118             'ConversionTracker__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
119             'snippet' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
120             'textFormat' => 'Google::Ads::AdWords::v201702::AdWordsConversionTracker::TextFormat',
121             'conversionPageLanguage' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
122             'backgroundColor' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
123             'trackingCodeType' => 'Google::Ads::AdWords::v201702::AdWordsConversionTracker::TrackingCodeType',
124             },
125             {
126              
127             'id' => 'id',
128             'originalConversionTypeId' => 'originalConversionTypeId',
129             'name' => 'name',
130             'status' => 'status',
131             'category' => 'category',
132             'dataDrivenModelStatus' => 'dataDrivenModelStatus',
133             'conversionTypeOwnerCustomerId' => 'conversionTypeOwnerCustomerId',
134             'viewthroughLookbackWindow' => 'viewthroughLookbackWindow',
135             'ctcLookbackWindow' => 'ctcLookbackWindow',
136             'countingType' => 'countingType',
137             'defaultRevenueValue' => 'defaultRevenueValue',
138             'defaultRevenueCurrencyCode' => 'defaultRevenueCurrencyCode',
139             'alwaysUseDefaultRevenueValue' => 'alwaysUseDefaultRevenueValue',
140             'excludeFromBidding' => 'excludeFromBidding',
141             'attributionModelType' => 'attributionModelType',
142             'mostRecentConversionDate' => 'mostRecentConversionDate',
143             'lastReceivedRequestTime' => 'lastReceivedRequestTime',
144             'ConversionTracker__Type' => 'ConversionTracker.Type',
145             'snippet' => 'snippet',
146             'textFormat' => 'textFormat',
147             'conversionPageLanguage' => 'conversionPageLanguage',
148             'backgroundColor' => 'backgroundColor',
149             'trackingCodeType' => 'trackingCodeType',
150             }
151             );
152              
153             } # end BLOCK
154              
155              
156              
157              
158              
159              
160              
161             1;
162              
163              
164             =pod
165              
166             =head1 NAME
167              
168             Google::Ads::AdWords::v201702::AdWordsConversionTracker
169              
170             =head1 DESCRIPTION
171              
172             Perl data type class for the XML Schema defined complexType
173             AdWordsConversionTracker from the namespace https://adwords.google.com/api/adwords/cm/v201702.
174              
175             A conversion tracker created through AdWords Conversion Tracking.
176              
177              
178              
179              
180             =head2 PROPERTIES
181              
182             The following properties may be accessed using get_PROPERTY / set_PROPERTY
183             methods:
184              
185             =over
186              
187             =item * snippet
188              
189              
190             =item * textFormat
191              
192              
193             =item * conversionPageLanguage
194              
195              
196             =item * backgroundColor
197              
198              
199             =item * trackingCodeType
200              
201              
202              
203              
204             =back
205              
206              
207             =head1 METHODS
208              
209             =head2 new
210              
211             Constructor. The following data structure may be passed to new():
212              
213              
214              
215              
216              
217              
218             =head1 AUTHOR
219              
220             Generated by SOAP::WSDL
221              
222             =cut
223