File Coverage

lib/Google/Ads/AdWords/v201710/WebsiteCallMetricsConversion.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::v201710::WebsiteCallMetricsConversion;
2 1     1   2960 use strict;
  1         4  
  1         43  
3 1     1   10 use warnings;
  1         3  
  1         181  
4              
5              
6             __PACKAGE__->_set_element_form_qualified(1);
7              
8 0     0     sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201710' };
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   12 use base qw(Google::Ads::AdWords::v201710::ConversionTracker);
  1         3  
  1         161  
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 %phoneCallDuration_of :ATTR(:get);
44             my %snippet_of :ATTR(:get);
45              
46             __PACKAGE__->_factory(
47             [ qw( id
48             originalConversionTypeId
49             name
50             status
51             category
52             dataDrivenModelStatus
53             conversionTypeOwnerCustomerId
54             viewthroughLookbackWindow
55             ctcLookbackWindow
56             countingType
57             defaultRevenueValue
58             defaultRevenueCurrencyCode
59             alwaysUseDefaultRevenueValue
60             excludeFromBidding
61             attributionModelType
62             mostRecentConversionDate
63             lastReceivedRequestTime
64             ConversionTracker__Type
65             phoneCallDuration
66             snippet
67              
68             ) ],
69             {
70             'id' => \%id_of,
71             'originalConversionTypeId' => \%originalConversionTypeId_of,
72             'name' => \%name_of,
73             'status' => \%status_of,
74             'category' => \%category_of,
75             'dataDrivenModelStatus' => \%dataDrivenModelStatus_of,
76             'conversionTypeOwnerCustomerId' => \%conversionTypeOwnerCustomerId_of,
77             'viewthroughLookbackWindow' => \%viewthroughLookbackWindow_of,
78             'ctcLookbackWindow' => \%ctcLookbackWindow_of,
79             'countingType' => \%countingType_of,
80             'defaultRevenueValue' => \%defaultRevenueValue_of,
81             'defaultRevenueCurrencyCode' => \%defaultRevenueCurrencyCode_of,
82             'alwaysUseDefaultRevenueValue' => \%alwaysUseDefaultRevenueValue_of,
83             'excludeFromBidding' => \%excludeFromBidding_of,
84             'attributionModelType' => \%attributionModelType_of,
85             'mostRecentConversionDate' => \%mostRecentConversionDate_of,
86             'lastReceivedRequestTime' => \%lastReceivedRequestTime_of,
87             'ConversionTracker__Type' => \%ConversionTracker__Type_of,
88             'phoneCallDuration' => \%phoneCallDuration_of,
89             'snippet' => \%snippet_of,
90             },
91             {
92             'id' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
93             'originalConversionTypeId' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
94             'name' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
95             'status' => 'Google::Ads::AdWords::v201710::ConversionTracker::Status',
96             'category' => 'Google::Ads::AdWords::v201710::ConversionTracker::Category',
97             'dataDrivenModelStatus' => 'Google::Ads::AdWords::v201710::DataDrivenModelStatus',
98             'conversionTypeOwnerCustomerId' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
99             'viewthroughLookbackWindow' => 'SOAP::WSDL::XSD::Typelib::Builtin::int',
100             'ctcLookbackWindow' => 'SOAP::WSDL::XSD::Typelib::Builtin::int',
101             'countingType' => 'Google::Ads::AdWords::v201710::ConversionDeduplicationMode',
102             'defaultRevenueValue' => 'SOAP::WSDL::XSD::Typelib::Builtin::double',
103             'defaultRevenueCurrencyCode' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
104             'alwaysUseDefaultRevenueValue' => 'SOAP::WSDL::XSD::Typelib::Builtin::boolean',
105             'excludeFromBidding' => 'SOAP::WSDL::XSD::Typelib::Builtin::boolean',
106             'attributionModelType' => 'Google::Ads::AdWords::v201710::AttributionModelType',
107             'mostRecentConversionDate' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
108             'lastReceivedRequestTime' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
109             'ConversionTracker__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
110             'phoneCallDuration' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
111             'snippet' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
112             },
113             {
114              
115             'id' => 'id',
116             'originalConversionTypeId' => 'originalConversionTypeId',
117             'name' => 'name',
118             'status' => 'status',
119             'category' => 'category',
120             'dataDrivenModelStatus' => 'dataDrivenModelStatus',
121             'conversionTypeOwnerCustomerId' => 'conversionTypeOwnerCustomerId',
122             'viewthroughLookbackWindow' => 'viewthroughLookbackWindow',
123             'ctcLookbackWindow' => 'ctcLookbackWindow',
124             'countingType' => 'countingType',
125             'defaultRevenueValue' => 'defaultRevenueValue',
126             'defaultRevenueCurrencyCode' => 'defaultRevenueCurrencyCode',
127             'alwaysUseDefaultRevenueValue' => 'alwaysUseDefaultRevenueValue',
128             'excludeFromBidding' => 'excludeFromBidding',
129             'attributionModelType' => 'attributionModelType',
130             'mostRecentConversionDate' => 'mostRecentConversionDate',
131             'lastReceivedRequestTime' => 'lastReceivedRequestTime',
132             'ConversionTracker__Type' => 'ConversionTracker.Type',
133             'phoneCallDuration' => 'phoneCallDuration',
134             'snippet' => 'snippet',
135             }
136             );
137              
138             } # end BLOCK
139              
140              
141              
142              
143              
144              
145              
146             1;
147              
148              
149             =pod
150              
151             =head1 NAME
152              
153             Google::Ads::AdWords::v201710::WebsiteCallMetricsConversion
154              
155             =head1 DESCRIPTION
156              
157             Perl data type class for the XML Schema defined complexType
158             WebsiteCallMetricsConversion from the namespace https://adwords.google.com/api/adwords/cm/v201710.
159              
160             A conversion that happens when a user performs the following sequence of actions:
  • Clicks on an advertiser's ad
  • Proceeds to the advertiser's website, where special javascript installed on the page produces a dynamically-generated phone number,
  • Calls that number from their home (or other) phone
161              
162              
163              
164              
165             =head2 PROPERTIES
166              
167             The following properties may be accessed using get_PROPERTY / set_PROPERTY
168             methods:
169              
170             =over
171              
172             =item * phoneCallDuration
173              
174              
175             =item * snippet
176              
177              
178              
179              
180             =back
181              
182              
183             =head1 METHODS
184              
185             =head2 new
186              
187             Constructor. The following data structure may be passed to new():
188              
189              
190              
191              
192              
193              
194             =head1 AUTHOR
195              
196             Generated by SOAP::WSDL
197              
198             =cut
199