blib/lib/Google/Ads/AdWords/v201402/AdCallMetricsConversion.pm untested

filter: Statementstmt 0.0% 0 / 42 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 7 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 51 CC 1 SCAR 6.9
CC
1
Cov
0%
get_xmlns
2.0
__get_attr_class
2.0
BEGIN
2.0
CRAP 2.0
1 package Google::Ads::AdWords::v201402::AdCallMetricsConversion;
2 use strict;
3 use warnings;
4  
5  
6 __PACKAGE__->_set_element_form_qualified(1);
7  
8 sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201402' };
9  
10 our $XML_ATTRIBUTE_CLASS;
11 undef $XML_ATTRIBUTE_CLASS;
12  
13 sub __get_attr_class {
14 return $XML_ATTRIBUTE_CLASS;
15 }
16  
17  
18 use base qw(Google::Ads::AdWords::v201402::ConversionTracker);
19 # Variety: sequence
20 use Class::Std::Fast::Storable constructor => 'none';
21 use base qw(Google::Ads::SOAP::Typelib::ComplexType);
22  
23 Class::Std::initialize();
24  
25 { # BLOCK to scope variables
26  
27 my %id_of :ATTR(:get<id>);
28 my %name_of :ATTR(:get<name>);
29 my %status_of :ATTR(:get<status>);
30 my %category_of :ATTR(:get<category>);
31 my %stats_of :ATTR(:get<stats>);
32 my %viewthroughLookbackWindow_of :ATTR(:get<viewthroughLookbackWindow>);
33 my %isProductAdsChargeable_of :ATTR(:get<isProductAdsChargeable>);
34 my %productAdsChargeableConversionWindow_of :ATTR(:get<productAdsChargeableConversionWindow>);
35 my %ctcLookbackWindow_of :ATTR(:get<ctcLookbackWindow>);
36 my %countingType_of :ATTR(:get<countingType>);
37 my %defaultRevenueValue_of :ATTR(:get<defaultRevenueValue>);
38 my %alwaysUseDefaultRevenueValue_of :ATTR(:get<alwaysUseDefaultRevenueValue>);
39 my %ConversionTracker__Type_of :ATTR(:get<ConversionTracker__Type>);
40 my %phoneCallDuration_of :ATTR(:get<phoneCallDuration>);
41  
42 __PACKAGE__->_factory(
43 [ qw( id
44 name
45 status
46 category
47 stats
48 viewthroughLookbackWindow
49 isProductAdsChargeable
50 productAdsChargeableConversionWindow
51 ctcLookbackWindow
52 countingType
53 defaultRevenueValue
54 alwaysUseDefaultRevenueValue
55 ConversionTracker__Type
56 phoneCallDuration
57  
58 ) ],
59 {
60 'id' => \%id_of,
61 'name' => \%name_of,
62 'status' => \%status_of,
63 'category' => \%category_of,
64 'stats' => \%stats_of,
65 'viewthroughLookbackWindow' => \%viewthroughLookbackWindow_of,
66 'isProductAdsChargeable' => \%isProductAdsChargeable_of,
67 'productAdsChargeableConversionWindow' => \%productAdsChargeableConversionWindow_of,
68 'ctcLookbackWindow' => \%ctcLookbackWindow_of,
69 'countingType' => \%countingType_of,
70 'defaultRevenueValue' => \%defaultRevenueValue_of,
71 'alwaysUseDefaultRevenueValue' => \%alwaysUseDefaultRevenueValue_of,
72 'ConversionTracker__Type' => \%ConversionTracker__Type_of,
73 'phoneCallDuration' => \%phoneCallDuration_of,
74 },
75 {
76 'id' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
77 'name' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
78 'status' => 'Google::Ads::AdWords::v201402::ConversionTracker::Status',
79 'category' => 'Google::Ads::AdWords::v201402::ConversionTracker::Category',
80 'stats' => 'Google::Ads::AdWords::v201402::ConversionTrackerStats',
81 'viewthroughLookbackWindow' => 'SOAP::WSDL::XSD::Typelib::Builtin::int',
82 'isProductAdsChargeable' => 'SOAP::WSDL::XSD::Typelib::Builtin::boolean',
83 'productAdsChargeableConversionWindow' => 'SOAP::WSDL::XSD::Typelib::Builtin::int',
84 'ctcLookbackWindow' => 'SOAP::WSDL::XSD::Typelib::Builtin::int',
85 'countingType' => 'Google::Ads::AdWords::v201402::ConversionDeduplicationMode',
86 'defaultRevenueValue' => 'SOAP::WSDL::XSD::Typelib::Builtin::double',
87 'alwaysUseDefaultRevenueValue' => 'SOAP::WSDL::XSD::Typelib::Builtin::boolean',
88 'ConversionTracker__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
89 'phoneCallDuration' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
90 },
91 {
92  
93 'id' => 'id',
94 'name' => 'name',
95 'status' => 'status',
96 'category' => 'category',
97 'stats' => 'stats',
98 'viewthroughLookbackWindow' => 'viewthroughLookbackWindow',
99 'isProductAdsChargeable' => 'isProductAdsChargeable',
100 'productAdsChargeableConversionWindow' => 'productAdsChargeableConversionWindow',
101 'ctcLookbackWindow' => 'ctcLookbackWindow',
102 'countingType' => 'countingType',
103 'defaultRevenueValue' => 'defaultRevenueValue',
104 'alwaysUseDefaultRevenueValue' => 'alwaysUseDefaultRevenueValue',
105 'ConversionTracker__Type' => 'ConversionTracker.Type',
106 'phoneCallDuration' => 'phoneCallDuration',
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::v201402::AdCallMetricsConversion
126  
127 =head1 DESCRIPTION
128  
129 Perl data type class for the XML Schema defined complexType
130 AdCallMetricsConversion from the namespace https://adwords.google.com/api/adwords/cm/v201402.
131  
132 A ConversionTracker for phone calls from conversion-tracked call extensions. A call made from the call extension is reported as a conversion if it lasts longer than N seconds. This duration is 60 seconds by default. Each call extension can specify the desired conversion configuration.
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 * phoneCallDuration
145  
146  
147  
148  
149 =back
150  
151  
152 =head1 METHODS
153  
154 =head2 new
155  
156 Constructor. The following data structure may be passed to new():
157  
158  
159  
160  
161  
162  
163 =head1 AUTHOR
164  
165 Generated by SOAP::WSDL
166  
167 =cut
168