lib/Google/Ads/AdWords/v201710/Customer.pm

filter: Statementstmt 85.7% 12 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 4 / 6 Podpod n/a totaltotal 80.0% 16 / 20 CC 1 SCAR 2.9
CC
1
Cov
86%
get_xmlns
2.0
__get_attr_class
2.0
BEGIN
1.0
CRAP 1.3
« lib/Google/Ads/AdWords/v201710/CustomParameters.pm ↑ Summary lib/Google/Ads/AdWords/v201710/CustomerChangeData.pm »
1 package Google::Ads::AdWords::v201710::Customer;
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/mcm/v201710' };
Subroutine get_xmlns: not called CC=1 SCAR=6.9
9  
10 our $XML_ATTRIBUTE_CLASS;
11 undef $XML_ATTRIBUTE_CLASS;
12  
13 sub __get_attr_class {
14 0 ▶ return $XML_ATTRIBUTE_CLASS;
Subroutine __get_attr_class: not called CC=1 SCAR=6.9
15 }
16  
17 1 ▶use Class::Std::Fast::Storable constructor => 'none';
Subroutine BEGIN: called CC=1 SCAR=0.0
18 1 ▶use base qw(Google::Ads::SOAP::Typelib::ComplexType);
Subroutine BEGIN: called CC=1 SCAR=0.0
19  
20 { # BLOCK to scope variables
21  
22 my %customerId_of :ATTR(:get<customerId>);
23 my %currencyCode_of :ATTR(:get<currencyCode>);
24 my %dateTimeZone_of :ATTR(:get<dateTimeZone>);
25 my %descriptiveName_of :ATTR(:get<descriptiveName>);
26 my %canManageClients_of :ATTR(:get<canManageClients>);
27 my %testAccount_of :ATTR(:get<testAccount>);
28 my %autoTaggingEnabled_of :ATTR(:get<autoTaggingEnabled>);
29 my %trackingUrlTemplate_of :ATTR(:get<trackingUrlTemplate>);
30 my %conversionTrackingSettings_of :ATTR(:get<conversionTrackingSettings>);
31 my %remarketingSettings_of :ATTR(:get<remarketingSettings>);
32  
33 __PACKAGE__->_factory(
34 [ qw( customerId
35 currencyCode
36 dateTimeZone
37 descriptiveName
38 canManageClients
39 testAccount
40 autoTaggingEnabled
41 trackingUrlTemplate
42 conversionTrackingSettings
43 remarketingSettings
44  
45 ) ],
46 {
47 'customerId' => \%customerId_of,
48 'currencyCode' => \%currencyCode_of,
49 'dateTimeZone' => \%dateTimeZone_of,
50 'descriptiveName' => \%descriptiveName_of,
51 'canManageClients' => \%canManageClients_of,
52 'testAccount' => \%testAccount_of,
53 'autoTaggingEnabled' => \%autoTaggingEnabled_of,
54 'trackingUrlTemplate' => \%trackingUrlTemplate_of,
55 'conversionTrackingSettings' => \%conversionTrackingSettings_of,
56 'remarketingSettings' => \%remarketingSettings_of,
57 },
58 {
59 'customerId' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
60 'currencyCode' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
61 'dateTimeZone' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
62 'descriptiveName' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
63 'canManageClients' => 'SOAP::WSDL::XSD::Typelib::Builtin::boolean',
64 'testAccount' => 'SOAP::WSDL::XSD::Typelib::Builtin::boolean',
65 'autoTaggingEnabled' => 'SOAP::WSDL::XSD::Typelib::Builtin::boolean',
66 'trackingUrlTemplate' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
67 'conversionTrackingSettings' => 'Google::Ads::AdWords::v201710::ConversionTrackingSettings',
68 'remarketingSettings' => 'Google::Ads::AdWords::v201710::RemarketingSettings',
69 },
70 {
71  
72 'customerId' => 'customerId',
73 'currencyCode' => 'currencyCode',
74 'dateTimeZone' => 'dateTimeZone',
75 'descriptiveName' => 'descriptiveName',
76 'canManageClients' => 'canManageClients',
77 'testAccount' => 'testAccount',
78 'autoTaggingEnabled' => 'autoTaggingEnabled',
79 'trackingUrlTemplate' => 'trackingUrlTemplate',
80 'conversionTrackingSettings' => 'conversionTrackingSettings',
81 'remarketingSettings' => 'remarketingSettings',
82 }
83 );
84  
85 } # end BLOCK
86  
87  
88  
89  
90  
91  
92  
93 1;
94  
95  
96 =pod
97  
98 =head1 NAME
99  
100 Google::Ads::AdWords::v201710::Customer
101  
102 =head1 DESCRIPTION
103  
104 Perl data type class for the XML Schema defined complexType
105 Customer from the namespace https://adwords.google.com/api/adwords/mcm/v201710.
106  
107 Represents a customer for the CustomerService.
108  
109  
110  
111  
112 =head2 PROPERTIES
113  
114 The following properties may be accessed using get_PROPERTY / set_PROPERTY
115 methods:
116  
117 =over
118  
119 =item * customerId
120  
121  
122 =item * currencyCode
123  
124  
125 =item * dateTimeZone
126  
127  
128 =item * descriptiveName
129  
130  
131 =item * canManageClients
132  
133  
134 =item * testAccount
135  
136  
137 =item * autoTaggingEnabled
138  
139  
140 =item * trackingUrlTemplate
141  
142  
143 =item * conversionTrackingSettings
144  
145  
146 =item * remarketingSettings
147  
148  
149  
150  
151 =back
152  
153  
154 =head1 METHODS
155  
156 =head2 new
157  
158 Constructor. The following data structure may be passed to new():
159  
160  
161  
162  
163  
164  
165 =head1 AUTHOR
166  
167 Generated by SOAP::WSDL
168  
169 =cut
170  
« lib/Google/Ads/AdWords/v201710/CustomParameters.pm ↑ Summary lib/Google/Ads/AdWords/v201710/CustomerChangeData.pm »