public class LanguageSearchParameter extends SearchParameter
SearchParameter used to indicate multiple language being targeted.
This can be used, for example, to search for KEYWORD
IdeaTypes that are best for Japanese language.
The service allows at most one language to be targeted for
KEYWORD requests.
In the KEYWORD IdeaType STATS RequestType
requests, those keywords that are from different language than specified in
LanguageSearchParameter or have unknown language will be filtered
out in the response. To avoid filtering, do not include
LanguageSearchParameter in the request.
This element is supported by following IdeaTypes: KEYWORD.
This element is supported by following RequestTypes: IDEAS, STATS.
Java class for LanguageSearchParameter complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="LanguageSearchParameter">
<complexContent>
<extension base="{https://adwords.google.com/api/adwords/o/v201809}SearchParameter">
<sequence>
<element name="languages" type="{https://adwords.google.com/api/adwords/cm/v201809}Language" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<Language> |
languages |
searchParameterType| Constructor and Description |
|---|
LanguageSearchParameter() |
| Modifier and Type | Method and Description |
|---|---|
List<Language> |
getLanguages()
Gets the value of the languages property.
|
getSearchParameterType, setSearchParameterTypepublic List<Language> getLanguages()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the languages property.
For example, to add a new item, do as follows:
getLanguages().add(newItem);
Objects of the following type(s) are allowed in the list
Language
Copyright © 2023. All rights reserved.