File Coverage

lib/Google/Ads/AdWords/v201708/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::v201708::Member;
2 1     1   6902 use strict;
  1         2  
  1         33  
3 1     1   6 use warnings;
  1         2  
  1         112  
4              
5              
6             __PACKAGE__->_set_element_form_qualified(1);
7              
8 0     0     sub get_xmlns { 'https://adwords.google.com/api/adwords/rm/v201708' };
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   7 use Class::Std::Fast::Storable constructor => 'none';
  1         2  
  1         13  
18 1     1   187 use base qw(Google::Ads::SOAP::Typelib::ComplexType);
  1         3  
  1         88  
19              
20             { # BLOCK to scope variables
21              
22             my %hashedEmail_of :ATTR(:get);
23             my %mobileId_of :ATTR(:get);
24             my %addressInfo_of :ATTR(:get);
25             my %userId_of :ATTR(:get);
26              
27             __PACKAGE__->_factory(
28             [ qw( hashedEmail
29             mobileId
30             addressInfo
31             userId
32              
33             ) ],
34             {
35             'hashedEmail' => \%hashedEmail_of,
36             'mobileId' => \%mobileId_of,
37             'addressInfo' => \%addressInfo_of,
38             'userId' => \%userId_of,
39             },
40             {
41             'hashedEmail' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
42             'mobileId' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
43             'addressInfo' => 'Google::Ads::AdWords::v201708::AddressInfo',
44             'userId' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
45             },
46             {
47              
48             'hashedEmail' => 'hashedEmail',
49             'mobileId' => 'mobileId',
50             'addressInfo' => 'addressInfo',
51             'userId' => 'userId',
52             }
53             );
54              
55             } # end BLOCK
56              
57              
58              
59              
60              
61              
62              
63             1;
64              
65              
66             =pod
67              
68             =head1 NAME
69              
70             Google::Ads::AdWords::v201708::Member
71              
72             =head1 DESCRIPTION
73              
74             Perl data type class for the XML Schema defined complexType
75             Member from the namespace https://adwords.google.com/api/adwords/rm/v201708.
76              
77             Class that holds user list member identifiers. Following types of member identifier are supported:
  • Contact info(email, address)
  • Mobile advertising id
  • User IDs generated and assigned by advertiser
One list could only be uploaded with one type of data. Once it's uploaded, the user list will not accept other type of data. Multiple member identifiers of the same type for the same member could be provided at the same time. At least one identifier is required to be provided.
78              
79              
80              
81              
82             =head2 PROPERTIES
83              
84             The following properties may be accessed using get_PROPERTY / set_PROPERTY
85             methods:
86              
87             =over
88              
89             =item * hashedEmail
90              
91              
92             =item * mobileId
93              
94              
95             =item * addressInfo
96              
97              
98             =item * userId
99              
100              
101              
102              
103             =back
104              
105              
106             =head1 METHODS
107              
108             =head2 new
109              
110             Constructor. The following data structure may be passed to new():
111              
112              
113              
114              
115              
116              
117             =head1 AUTHOR
118              
119             Generated by SOAP::WSDL
120              
121             =cut
122