File Coverage

lib/Google/Ads/AdWords/v201702/LanguageSearchParameter.pm
Criterion Covered Total %
statement 9 11 81.8
branch n/a
condition n/a
subroutine 3 5 60.0
pod n/a
total 12 16 75.0


line stmt bran cond sub pod time code
1             package Google::Ads::AdWords::v201702::LanguageSearchParameter;
2 1     1   1877 use strict;
  1         3  
  1         25  
3 1     1   5 use warnings;
  1         2  
  1         109  
4              
5              
6             __PACKAGE__->_set_element_form_qualified(1);
7              
8 0     0     sub get_xmlns { 'https://adwords.google.com/api/adwords/o/v201702' };
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              
18 1     1   7 use base qw(Google::Ads::AdWords::v201702::SearchParameter);
  1         2  
  1         106  
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 %SearchParameter__Type_of :ATTR(:get);
26             my %languages_of :ATTR(:get);
27              
28             __PACKAGE__->_factory(
29             [ qw( SearchParameter__Type
30             languages
31              
32             ) ],
33             {
34             'SearchParameter__Type' => \%SearchParameter__Type_of,
35             'languages' => \%languages_of,
36             },
37             {
38             'SearchParameter__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
39             'languages' => 'Google::Ads::AdWords::v201702::Language',
40             },
41             {
42              
43             'SearchParameter__Type' => 'SearchParameter.Type',
44             'languages' => 'languages',
45             }
46             );
47              
48             } # end BLOCK
49              
50              
51              
52              
53              
54              
55              
56             1;
57              
58              
59             =pod
60              
61             =head1 NAME
62              
63             Google::Ads::AdWords::v201702::LanguageSearchParameter
64              
65             =head1 DESCRIPTION
66              
67             Perl data type class for the XML Schema defined complexType
68             LanguageSearchParameter from the namespace https://adwords.google.com/api/adwords/o/v201702.
69              
70             A {@link SearchParameter} used to indicate multiple language being targeted. This can be used, for example, to search for {@code KEYWORD} {@link IdeaType}s that are best for Japanese language.

The service allows at most one language to be targeted for {@code KEYWORD} requests.

In the {@code KEYWORD} {@link IdeaType} {@code STATS} {@link RequestType} requests, those keywords that are from different language than specified in {@code LanguageSearchParameter} or have unknown language will be filtered out in the response. To avoid filtering, do not include {@code LanguageSearchParameter} in the request.

This element is supported by following {@link IdeaType}s: KEYWORD.

This element is supported by following {@link RequestType}s: IDEAS, STATS.

71              
72              
73              
74              
75             =head2 PROPERTIES
76              
77             The following properties may be accessed using get_PROPERTY / set_PROPERTY
78             methods:
79              
80             =over
81              
82             =item * languages
83              
84              
85              
86              
87             =back
88              
89              
90             =head1 METHODS
91              
92             =head2 new
93              
94             Constructor. The following data structure may be passed to new():
95              
96              
97              
98              
99              
100              
101             =head1 AUTHOR
102              
103             Generated by SOAP::WSDL
104              
105             =cut
106