|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.api.ads.adwords.v201109.o.SearchParameter
com.google.api.ads.adwords.v201109.o.LocationSearchParameter
public class LocationSearchParameter
A SearchParameter for both PLACEMENT and KEYWORD
IdeaTypes used to indicate the locations being
targeted. This can
be used, for example, to search for KEYWORD IdeaTypes that
are best for Japan and Los Angeles.
This parameter replaces the CountryTargetSearchParameter.
Warning: Not all back-ends support sub-country precision.
This search parameter can be used in bulk keyword requests through
the com.google.ads.api.services.targetingideas.TargetingIdeaService#getBulkKeywordIdeas(TargetingIdeaSelector)
method. It must be single-valued when used in a call to that method.
This element is supported by following IdeaTypes: KEYWORD,
PLACEMENT.
This element is supported by following RequestTypes:
IDEAS, STATS.
| Constructor Summary | |
|---|---|
LocationSearchParameter()
|
|
LocationSearchParameter(String searchParameterType,
Location[] locations)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
static org.apache.axis.encoding.Deserializer |
getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Deserializer |
Location[] |
getLocations()
Gets the locations value for this LocationSearchParameter. |
Location |
getLocations(int i)
|
static org.apache.axis.encoding.Serializer |
getSerializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Serializer |
static org.apache.axis.description.TypeDesc |
getTypeDesc()
Return type metadata object |
int |
hashCode()
|
void |
setLocations(int i,
Location _value)
|
void |
setLocations(Location[] locations)
Sets the locations value for this LocationSearchParameter. |
| Methods inherited from class com.google.api.ads.adwords.v201109.o.SearchParameter |
|---|
getSearchParameterType, setSearchParameterType |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LocationSearchParameter()
public LocationSearchParameter(String searchParameterType,
Location[] locations)
| Method Detail |
|---|
public Location[] getLocations()
Locations indicating the desired countries
being targeted
in the results.
The maximum
size of this collection is 300.
This
field must contain distinct elements.
This
field must not contain null elements.
This field must
contain at least one element.
This field is
required and should not be null.public void setLocations(Location[] locations)
locations - * A List of Locations indicating the desired countries
being targeted
in the results.
The maximum
size of this collection is 300.
This
field must contain distinct elements.
This
field must not contain null elements.
This field must
contain at least one element.
This field is
required and should not be null.public Location getLocations(int i)
public void setLocations(int i,
Location _value)
public boolean equals(Object obj)
equals in class SearchParameterpublic int hashCode()
hashCode in class SearchParameterpublic static org.apache.axis.description.TypeDesc getTypeDesc()
public static org.apache.axis.encoding.Serializer getSerializer(String mechType,
Class _javaType,
QName _xmlType)
public static org.apache.axis.encoding.Deserializer getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||