lib/Google/Ads/AdWords/v201809/DataService/queryDomainCategory.pm

filter: Statementstmt 90.0% 9 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 75.0% 3 / 4 Podpod n/a totaltotal 85.7% 12 / 14 CC 1 SCAR 2.2
CC
1
Cov
90%
get_xmlns
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« lib/Google/Ads/AdWords/v201809/DataService/queryCriterionBidLandscapeResponse.pm ↑ Summary lib/Google/Ads/AdWords/v201809/DataService/queryDomainCategoryResponse.pm »
1  
2 package Google::Ads::AdWords::v201809::DataService::queryDomainCategory;
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 { # BLOCK to scope variables
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 __PACKAGE__->__set_name('queryDomainCategory');
11 __PACKAGE__->__set_nillable();
12 __PACKAGE__->__set_minOccurs();
13 __PACKAGE__->__set_maxOccurs();
14 __PACKAGE__->__set_ref();
15  
16 1 ▶use base qw(
Subroutine BEGIN: called CC=1 SCAR=0.0
17 SOAP::WSDL::XSD::Typelib::Element
18 Google::Ads::SOAP::Typelib::ComplexType
19 1 );
20  
21 our $XML_ATTRIBUTE_CLASS;
22 undef $XML_ATTRIBUTE_CLASS;
23  
24 sub __get_attr_class {
25 return $XML_ATTRIBUTE_CLASS;
26 }
27  
28 use Class::Std::Fast::Storable constructor => 'none';
29 use base qw(Google::Ads::SOAP::Typelib::ComplexType);
30  
31 { # BLOCK to scope variables
32  
33 my %query_of :ATTR(:get<query>);
34  
35 __PACKAGE__->_factory(
36 [ qw( query
37  
38 ) ],
39 {
40 'query' => \%query_of,
41 },
42 {
43 'query' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
44 },
45 {
46  
47 'query' => 'query',
48 }
49 );
50  
51 } # end BLOCK
52  
53  
54  
55  
56  
57  
58 } # end of BLOCK
59  
60  
61  
62 1;
63  
64  
65 =pod
66  
67 =head1 NAME
68  
69 Google::Ads::AdWords::v201809::DataService::queryDomainCategory
70  
71 =head1 DESCRIPTION
72  
73 Perl data type class for the XML Schema defined element
74 queryDomainCategory from the namespace https://adwords.google.com/api/adwords/cm/v201809.
75  
76 Returns a list of domain categories that can be used to create {@link WebPage} criterion. @param query The SQL-like AWQL query string. @return A list of domain categories. @throws ApiException if problems occur while parsing the query or fetching domain categories.
77  
78  
79  
80  
81  
82 =head1 PROPERTIES
83  
84 The following properties may be accessed using get_PROPERTY / set_PROPERTY
85 methods:
86  
87 =over
88  
89 =item * query
90  
91 $element->set_query($data);
92 $element->get_query();
93  
94  
95  
96  
97  
98 =back
99  
100  
101 =head1 METHODS
102  
103 =head2 new
104  
105 my $element = Google::Ads::AdWords::v201809::DataService::queryDomainCategory->new($data);
106  
107 Constructor. The following data structure may be passed to new():
108  
109 {
110 query => $some_value, # string
111 },
112  
113 =head1 AUTHOR
114  
115 Generated by SOAP::WSDL
116  
117 =cut
118  
« lib/Google/Ads/AdWords/v201809/DataService/queryCriterionBidLandscapeResponse.pm ↑ Summary lib/Google/Ads/AdWords/v201809/DataService/queryDomainCategoryResponse.pm »