File Coverage

lib/Google/Ads/AdWords/v201702/UploadConversion.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::UploadConversion;
2 1     1   3176 use strict;
  1         3  
  1         39  
3 1     1   9 use warnings;
  1         3  
  1         121  
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   9 use base qw(Google::Ads::AdWords::v201702::ConversionTracker);
  1         2  
  1         152  
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              
44             __PACKAGE__->_factory(
45             [ qw( id
46             originalConversionTypeId
47             name
48             status
49             category
50             dataDrivenModelStatus
51             conversionTypeOwnerCustomerId
52             viewthroughLookbackWindow
53             ctcLookbackWindow
54             countingType
55             defaultRevenueValue
56             defaultRevenueCurrencyCode
57             alwaysUseDefaultRevenueValue
58             excludeFromBidding
59             attributionModelType
60             mostRecentConversionDate
61             lastReceivedRequestTime
62             ConversionTracker__Type
63              
64             ) ],
65             {
66             'id' => \%id_of,
67             'originalConversionTypeId' => \%originalConversionTypeId_of,
68             'name' => \%name_of,
69             'status' => \%status_of,
70             'category' => \%category_of,
71             'dataDrivenModelStatus' => \%dataDrivenModelStatus_of,
72             'conversionTypeOwnerCustomerId' => \%conversionTypeOwnerCustomerId_of,
73             'viewthroughLookbackWindow' => \%viewthroughLookbackWindow_of,
74             'ctcLookbackWindow' => \%ctcLookbackWindow_of,
75             'countingType' => \%countingType_of,
76             'defaultRevenueValue' => \%defaultRevenueValue_of,
77             'defaultRevenueCurrencyCode' => \%defaultRevenueCurrencyCode_of,
78             'alwaysUseDefaultRevenueValue' => \%alwaysUseDefaultRevenueValue_of,
79             'excludeFromBidding' => \%excludeFromBidding_of,
80             'attributionModelType' => \%attributionModelType_of,
81             'mostRecentConversionDate' => \%mostRecentConversionDate_of,
82             'lastReceivedRequestTime' => \%lastReceivedRequestTime_of,
83             'ConversionTracker__Type' => \%ConversionTracker__Type_of,
84             },
85             {
86             'id' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
87             'originalConversionTypeId' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
88             'name' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
89             'status' => 'Google::Ads::AdWords::v201702::ConversionTracker::Status',
90             'category' => 'Google::Ads::AdWords::v201702::ConversionTracker::Category',
91             'dataDrivenModelStatus' => 'Google::Ads::AdWords::v201702::DataDrivenModelStatus',
92             'conversionTypeOwnerCustomerId' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
93             'viewthroughLookbackWindow' => 'SOAP::WSDL::XSD::Typelib::Builtin::int',
94             'ctcLookbackWindow' => 'SOAP::WSDL::XSD::Typelib::Builtin::int',
95             'countingType' => 'Google::Ads::AdWords::v201702::ConversionDeduplicationMode',
96             'defaultRevenueValue' => 'SOAP::WSDL::XSD::Typelib::Builtin::double',
97             'defaultRevenueCurrencyCode' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
98             'alwaysUseDefaultRevenueValue' => 'SOAP::WSDL::XSD::Typelib::Builtin::boolean',
99             'excludeFromBidding' => 'SOAP::WSDL::XSD::Typelib::Builtin::boolean',
100             'attributionModelType' => 'Google::Ads::AdWords::v201702::AttributionModelType',
101             'mostRecentConversionDate' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
102             'lastReceivedRequestTime' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
103             'ConversionTracker__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
104             },
105             {
106              
107             'id' => 'id',
108             'originalConversionTypeId' => 'originalConversionTypeId',
109             'name' => 'name',
110             'status' => 'status',
111             'category' => 'category',
112             'dataDrivenModelStatus' => 'dataDrivenModelStatus',
113             'conversionTypeOwnerCustomerId' => 'conversionTypeOwnerCustomerId',
114             'viewthroughLookbackWindow' => 'viewthroughLookbackWindow',
115             'ctcLookbackWindow' => 'ctcLookbackWindow',
116             'countingType' => 'countingType',
117             'defaultRevenueValue' => 'defaultRevenueValue',
118             'defaultRevenueCurrencyCode' => 'defaultRevenueCurrencyCode',
119             'alwaysUseDefaultRevenueValue' => 'alwaysUseDefaultRevenueValue',
120             'excludeFromBidding' => 'excludeFromBidding',
121             'attributionModelType' => 'attributionModelType',
122             'mostRecentConversionDate' => 'mostRecentConversionDate',
123             'lastReceivedRequestTime' => 'lastReceivedRequestTime',
124             'ConversionTracker__Type' => 'ConversionTracker.Type',
125             }
126             );
127              
128             } # end BLOCK
129              
130              
131              
132              
133              
134              
135              
136             1;
137              
138              
139             =pod
140              
141             =head1 NAME
142              
143             Google::Ads::AdWords::v201702::UploadConversion
144              
145             =head1 DESCRIPTION
146              
147             Perl data type class for the XML Schema defined complexType
148             UploadConversion from the namespace https://adwords.google.com/api/adwords/cm/v201702.
149              
150             A conversion type that receives conversions by having them uploaded through the OfflineConversionFeedService. After successfully creating a new UploadConversion, send the name of this conversion type along with your conversion details to the OfflineConversionFeedService to attribute those conversions to this conversion type.
151              
152              
153              
154              
155             =head2 PROPERTIES
156              
157             The following properties may be accessed using get_PROPERTY / set_PROPERTY
158             methods:
159              
160             =over
161              
162              
163              
164             =back
165              
166              
167             =head1 METHODS
168              
169             =head2 new
170              
171             Constructor. The following data structure may be passed to new():
172              
173              
174              
175              
176              
177              
178             =head1 AUTHOR
179              
180             Generated by SOAP::WSDL
181              
182             =cut
183