File Coverage

lib/Google/Ads/AdWords/v201710/Member.pm
Criterion Covered Total %
statement 12 14 85.7
branch n/a
condition n/a
subroutine 4 6 66.6
pod n/a
total 16 20 80.0


line stmt bran cond sub pod time code
1             package Google::Ads::AdWords::v201710::Member;
2 1     1   665 use strict;
  1         3  
  1         23  
3 1     1   5 use warnings;
  1         1  
  1         82  
4              
5              
6             __PACKAGE__->_set_element_form_qualified(1);
7              
8 0     0     sub get_xmlns { 'https://adwords.google.com/api/adwords/rm/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 1     1   5 use Class::Std::Fast::Storable constructor => 'none';
  1         3  
  1         6  
18 1     1   126 use base qw(Google::Ads::SOAP::Typelib::ComplexType);
  1         2  
  1         59  
19              
20             { # BLOCK to scope variables
21              
22             my %hashedEmail_of :ATTR(:get);
23             my %mobileId_of :ATTR(:get);
24             my %hashedPhoneNumber_of :ATTR(:get);
25             my %addressInfo_of :ATTR(:get);
26             my %userId_of :ATTR(:get);
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:
  • Contact info (email, phone number, address)
  • Mobile advertising ID
  • User IDs generated and assigned by advertiser
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