lib/Google/Ads/AdWords/v201710/Member.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/Media_Size_StringMapEntry.pm ↑ Summary lib/Google/Ads/AdWords/v201710/MonthlySearchVolume.pm »
1 package Google::Ads::AdWords::v201710::Member;
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/rm/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 %hashedEmail_of :ATTR(:get<hashedEmail>);
23 my %mobileId_of :ATTR(:get<mobileId>);
24 my %hashedPhoneNumber_of :ATTR(:get<hashedPhoneNumber>);
25 my %addressInfo_of :ATTR(:get<addressInfo>);
26 my %userId_of :ATTR(:get<userId>);
27  
28 __PACKAGE__->_factory(
29 [ qw( hashedEmail
30 mobileId
31 hashedPhoneNumber
32 addressInfo
33 userId
34  
35 ) ],
36 {
37 'hashedEmail' => \%hashedEmail_of,
38 'mobileId' => \%mobileId_of,
39 'hashedPhoneNumber' => \%hashedPhoneNumber_of,
40 'addressInfo' => \%addressInfo_of,
41 'userId' => \%userId_of,
42 },
43 {
44 'hashedEmail' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
45 'mobileId' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
46 'hashedPhoneNumber' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
47 'addressInfo' => 'Google::Ads::AdWords::v201710::AddressInfo',
48 'userId' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
49 },
50 {
51  
52 'hashedEmail' => 'hashedEmail',
53 'mobileId' => 'mobileId',
54 'hashedPhoneNumber' => 'hashedPhoneNumber',
55 'addressInfo' => 'addressInfo',
56 'userId' => 'userId',
57 }
58 );
59  
60 } # end BLOCK
61  
62  
63  
64  
65  
66  
67  
68 1;
69  
70  
71 =pod
72  
73 =head1 NAME
74  
75 Google::Ads::AdWords::v201710::Member
76  
77 =head1 DESCRIPTION
78  
79 Perl data type class for the XML Schema defined complexType
80 Member from the namespace https://adwords.google.com/api/adwords/rm/v201710.
81  
82 Class that holds user list member identifiers. The following types of member identifier are supported: <ul> <li>Contact info (email, phone number, address) <li>Mobile advertising ID <li>User IDs generated and assigned by advertiser </ul> A list can be uploaded with only one type of data and once uploaded will not accept any other ID types. Multiple member identifiers of the same type for the same member can be provided at the same time. At least one identifier is required to be provided.
83  
84  
85  
86  
87 =head2 PROPERTIES
88  
89 The following properties may be accessed using get_PROPERTY / set_PROPERTY
90 methods:
91  
92 =over
93  
94 =item * hashedEmail
95  
96  
97 =item * mobileId
98  
99  
100 =item * hashedPhoneNumber
101  
102  
103 =item * addressInfo
104  
105  
106 =item * userId
107  
108  
109  
110  
111 =back
112  
113  
114 =head1 METHODS
115  
116 =head2 new
117  
118 Constructor. The following data structure may be passed to new():
119  
120  
121  
122  
123  
124  
125 =head1 AUTHOR
126  
127 Generated by SOAP::WSDL
128  
129 =cut
130  
« lib/Google/Ads/AdWords/v201710/Media_Size_StringMapEntry.pm ↑ Summary lib/Google/Ads/AdWords/v201710/MonthlySearchVolume.pm »