blib/lib/Google/Ads/AdWords/v201402/LocationSearchParameter.pm untested

filter: Statementstmt 0.0% 0 / 30 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 7 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 39 CC 1 SCAR 6.9
CC
1
Cov
0%
get_xmlns
2.0
__get_attr_class
2.0
BEGIN
2.0
CRAP 2.0
1 package Google::Ads::AdWords::v201402::LocationSearchParameter;
2 use strict;
3 use warnings;
4  
5  
6 __PACKAGE__->_set_element_form_qualified(1);
7  
8 sub get_xmlns { 'https://adwords.google.com/api/adwords/o/v201402' };
9  
10 our $XML_ATTRIBUTE_CLASS;
11 undef $XML_ATTRIBUTE_CLASS;
12  
13 sub __get_attr_class {
14 return $XML_ATTRIBUTE_CLASS;
15 }
16  
17  
18 use base qw(Google::Ads::AdWords::v201402::SearchParameter);
19 # Variety: sequence
20 use Class::Std::Fast::Storable constructor => 'none';
21 use base qw(Google::Ads::SOAP::Typelib::ComplexType);
22  
23 Class::Std::initialize();
24  
25 { # BLOCK to scope variables
26  
27 my %SearchParameter__Type_of :ATTR(:get<SearchParameter__Type>);
28 my %locations_of :ATTR(:get<locations>);
29  
30 __PACKAGE__->_factory(
31 [ qw( SearchParameter__Type
32 locations
33  
34 ) ],
35 {
36 'SearchParameter__Type' => \%SearchParameter__Type_of,
37 'locations' => \%locations_of,
38 },
39 {
40 'SearchParameter__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
41 'locations' => 'Google::Ads::AdWords::v201402::Location',
42 },
43 {
44  
45 'SearchParameter__Type' => 'SearchParameter.Type',
46 'locations' => 'locations',
47 }
48 );
49  
50 } # end BLOCK
51  
52  
53  
54  
55  
56  
57  
58 1;
59  
60  
61 =pod
62  
63 =head1 NAME
64  
65 Google::Ads::AdWords::v201402::LocationSearchParameter
66  
67 =head1 DESCRIPTION
68  
69 Perl data type class for the XML Schema defined complexType
70 LocationSearchParameter from the namespace https://adwords.google.com/api/adwords/o/v201402.
71  
72 A {@link SearchParameter} for both {@code PLACEMENT} and {@code KEYWORD} {@link IdeaType}s used to indicate the locations being targeted. This can be used, for example, to search for {@code KEYWORD} {@link IdeaType}s that are best for Japan and Los Angeles. <p>This parameter replaces the {@code CountryTargetSearchParameter}. <p>Warning: Not all back-ends support sub-country precision. <p>The service allows up to 10 locations to be targeted for KEYWORD requests and 50 locations for PLACEMENT requests. <p>This search parameter can be used in bulk keyword requests through the {@link com.google.ads.api.services.targetingideas.TargetingIdeaService#getBulkKeywordIdeas(TargetingIdeaSelector)} method. It must be single-valued when used in a call to that method. <p>This element is supported by following {@link IdeaType}s: KEYWORD, PLACEMENT. <p>This element is supported by following {@link RequestType}s: IDEAS, STATS.
73  
74  
75  
76  
77 =head2 PROPERTIES
78  
79 The following properties may be accessed using get_PROPERTY / set_PROPERTY
80 methods:
81  
82 =over
83  
84 =item * locations
85  
86  
87  
88  
89 =back
90  
91  
92 =head1 METHODS
93  
94 =head2 new
95  
96 Constructor. The following data structure may be passed to new():
97  
98  
99  
100  
101  
102  
103 =head1 AUTHOR
104  
105 Generated by SOAP::WSDL
106  
107 =cut
108