lib/Google/Ads/AdWords/v201809/SearchParameter.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/v201809/RuleItemGroup.pm ↑ Summary lib/Google/Ads/AdWords/v201809/SelectiveOptimization.pm »
1 package Google::Ads::AdWords::v201809::SearchParameter;
2 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 2 ▶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/o/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 2 ▶use Class::Std::Fast::Storable constructor => 'none';
Subroutine BEGIN: called CC=1 SCAR=0.0
18 2 ▶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 %SearchParameter__Type_of :ATTR(:get<SearchParameter__Type>);
23  
24 __PACKAGE__->_factory(
25 [ qw( SearchParameter__Type
26  
27 ) ],
28 {
29 'SearchParameter__Type' => \%SearchParameter__Type_of,
30 },
31 {
32 'SearchParameter__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
33 },
34 {
35  
36 'SearchParameter__Type' => 'SearchParameter.Type',
37 }
38 );
39  
40 } # end BLOCK
41  
42  
43  
44  
45  
46  
47  
48 1;
49  
50  
51 =pod
52  
53 =head1 NAME
54  
55 Google::Ads::AdWords::v201809::SearchParameter
56  
57 =head1 DESCRIPTION
58  
59 Perl data type class for the XML Schema defined complexType
60 SearchParameter from the namespace https://adwords.google.com/api/adwords/o/v201809.
61  
62 A set of {@link SearchParameter}s is supplied to the {@link TargetingIdeaSelector} to specify how the user wants to filter the set of all possible {@link TargetingIdea}s. <p>There is a {@link SearchParameter} for each type of input. {@link SearchParameter}s can conceptually be broken down into two types.</p> <ul> <li>Input {@link SearchParameter}s provide the seed information from which ideas or stats are to be generated (e.g., {@link RelatedToQuerySearchParameter}, {@link RelatedToUrlSearchParameter}, etc.). This type of {@link SearchParameters} is required in requests. <li>Filter {@link SearchParameter}s (e.g., {@link CompetitionSearchParameter}, etc.) are used to trim down the results based on {@link Attribute}-related information. </ul> <p>A request should only contain one instance of each {@link SearchParameter}. Requests containing multiple instances of the same search parameter will be rejected.</p> <p>One or more of the following {@link SearchParameter}s are required:<br/> <ul><li>{@link CategoryProductsAndServicesSearchParameter}</li> <li>{@link LocationSearchParameter}</li> <li>{@link RelatedToQuerySearchParameter}</li> <li>{@link RelatedToUrlSearchParameter}</li> <li>{@link SeedAdGroupIdSearchParameter}</li> </ul><p> <p><b>{@link IdeaType} KEYWORD supports following {@link SearchParameter}s:</b><br/> <ul> <li>{@link CategoryProductsAndServicesSearchParameter}</li> <li>{@link CompetitionSearchParameter}</li> <li>{@link IdeaTextFilterSearchParameter}</li> <li>{@link IncludeAdultContentSearchParameter}</li> <li>{@link LanguageSearchParameter}</li> <li>{@link LocationSearchParameter}</li> <li>{@link NetworkSearchParameter}</li> <li>{@link RelatedToQuerySearchParameter}</li> <li>{@link RelatedToUrlSearchParameter}</li> <li>{@link SearchVolumeSearchParameter}</li> <li>{@link SeedAdGroupIdSearchParameter}</li> </ul><p>
63  
64  
65  
66  
67 =head2 PROPERTIES
68  
69 The following properties may be accessed using get_PROPERTY / set_PROPERTY
70 methods:
71  
72 =over
73  
74 =item * SearchParameter__Type
75  
76 Note: The name of this property has been altered, because it didn't match
77 perl's notion of variable/subroutine names. The altered name is used in
78 perl code only, XML output uses the original name:
79  
80 SearchParameter.Type
81  
82  
83  
84  
85 =back
86  
87  
88 =head1 METHODS
89  
90 =head2 new
91  
92 Constructor. The following data structure may be passed to new():
93  
94  
95  
96  
97  
98  
99 =head1 AUTHOR
100  
101 Generated by SOAP::WSDL
102  
103 =cut
104  
« lib/Google/Ads/AdWords/v201809/RuleItemGroup.pm ↑ Summary lib/Google/Ads/AdWords/v201809/SelectiveOptimization.pm »