lib/Google/Ads/AdWords/v201809/CriterionUserInterest.pm

filter: Statementstmt 81.8% 9 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 60.0% 3 / 5 Podpod n/a totaltotal 75.0% 12 / 16 CC 1 SCAR 3.4
CC
1
Cov
82%
get_xmlns
2.0
__get_attr_class
2.0
BEGIN
1.0
CRAP 1.4
« lib/Google/Ads/AdWords/v201809/CriterionPolicyError.pm ↑ Summary lib/Google/Ads/AdWords/v201809/CriterionUserList.pm »
1 package Google::Ads::AdWords::v201809::CriterionUserInterest;
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/cm/v201809' };
Subroutine get_xmlns: not called CC=1 SCAR=6.9
9  
10 our $XML_ATTRIBUTE_CLASS;
11 undef $XML_ATTRIBUTE_CLASS;
12  
13 0 ▶sub __get_attr_class {
Subroutine __get_attr_class: not called CC=1 SCAR=6.9
14 0 return $XML_ATTRIBUTE_CLASS;
15 }
16  
17  
18 1 ▶use base qw(Google::Ads::AdWords::v201809::Criterion);
Subroutine BEGIN: called CC=1 SCAR=0.0
19 # Variety: sequence
20 use Class::Std::Fast::Storable constructor => 'none';
21 use base qw(Google::Ads::SOAP::Typelib::ComplexType);
22  
23 { # BLOCK to scope variables
24  
25 my %id_of :ATTR(:get<id>);
26 my %type_of :ATTR(:get<type>);
27 my %Criterion__Type_of :ATTR(:get<Criterion__Type>);
28 my %userInterestId_of :ATTR(:get<userInterestId>);
29 my %userInterestParentId_of :ATTR(:get<userInterestParentId>);
30 my %userInterestName_of :ATTR(:get<userInterestName>);
31  
32 __PACKAGE__->_factory(
33 [ qw( id
34 type
35 Criterion__Type
36 userInterestId
37 userInterestParentId
38 userInterestName
39  
40 ) ],
41 {
42 'id' => \%id_of,
43 'type' => \%type_of,
44 'Criterion__Type' => \%Criterion__Type_of,
45 'userInterestId' => \%userInterestId_of,
46 'userInterestParentId' => \%userInterestParentId_of,
47 'userInterestName' => \%userInterestName_of,
48 },
49 {
50 'id' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
51 'type' => 'Google::Ads::AdWords::v201809::Criterion::Type',
52 'Criterion__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
53 'userInterestId' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
54 'userInterestParentId' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
55 'userInterestName' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
56 },
57 {
58  
59 'id' => 'id',
60 'type' => 'type',
61 'Criterion__Type' => 'Criterion.Type',
62 'userInterestId' => 'userInterestId',
63 'userInterestParentId' => 'userInterestParentId',
64 'userInterestName' => 'userInterestName',
65 }
66 );
67  
68 } # end BLOCK
69  
70  
71  
72  
73  
74  
75  
76 1;
77  
78  
79 =pod
80  
81 =head1 NAME
82  
83 Google::Ads::AdWords::v201809::CriterionUserInterest
84  
85 =head1 DESCRIPTION
86  
87 Perl data type class for the XML Schema defined complexType
88 CriterionUserInterest from the namespace https://adwords.google.com/api/adwords/cm/v201809.
89  
90 User Interest represents a particular interest-based vertical to be targeted. <span class="constraint AdxEnabled">This is enabled for AdX.</span>
91  
92  
93  
94  
95 =head2 PROPERTIES
96  
97 The following properties may be accessed using get_PROPERTY / set_PROPERTY
98 methods:
99  
100 =over
101  
102 =item * userInterestId
103  
104  
105 =item * userInterestParentId
106  
107  
108 =item * userInterestName
109  
110  
111  
112  
113 =back
114  
115  
116 =head1 METHODS
117  
118 =head2 new
119  
120 Constructor. The following data structure may be passed to new():
121  
122  
123  
124  
125  
126  
127 =head1 AUTHOR
128  
129 Generated by SOAP::WSDL
130  
131 =cut
132  
« lib/Google/Ads/AdWords/v201809/CriterionPolicyError.pm ↑ Summary lib/Google/Ads/AdWords/v201809/CriterionUserList.pm »