| Package | Description |
|---|---|
| open_rtb |
| Modifier and Type | Field and Description |
|---|---|
GeoThrift |
UserThrift.geo
Home geo for the user (e.g., based off of registration data); this is different from the current location of the access device (that is defined by the geo object embedded in the Device Object); see Geo Object.
|
GeoThrift |
DeviceThrift.geo
Geography as derived from the device’s location services (e.g., cell tower triangulation, GPS) or IP address.
|
| Modifier and Type | Method and Description |
|---|---|
GeoThrift |
GeoThrift.deepCopy() |
GeoThrift |
Geo.Thrift.get() |
GeoThrift |
UserThrift.getGeo()
Home geo for the user (e.g., based off of registration data); this is different from the current location of the access device (that is defined by the geo object embedded in the Device Object); see Geo Object.
|
GeoThrift |
DeviceThrift.getGeo()
Geography as derived from the device’s location services (e.g., cell tower triangulation, GPS) or IP address.
|
GeoThrift |
GeoThrift.setCity(String city)
City using United Nations Code for Trade and Transport Locations (http://www.unece.org/cefact/locode/ser vice/location.htm).
|
GeoThrift |
GeoThrift.setCountry(String country)
Country using ISO-3166-1 Alpha-3.
|
GeoThrift |
GeoThrift.setLat(double lat)
Latitude from -90 to 90.
|
GeoThrift |
GeoThrift.setLon(double lon)
Longitude from -180 to 180.
|
GeoThrift |
GeoThrift.setMetro(String metro)
Pass the metro code (seehttp://code.google.com/apis/adwords/docs/appendix/metrocodes.html).
|
GeoThrift |
GeoThrift.setRegion(String region)
Region using ISO 3166-2.
|
GeoThrift |
GeoThrift.setRegionfips104(String regionfips104)
Region of a country using FIPS 10-4 notation (alternative to ISO 3166-2).
|
GeoThrift |
GeoThrift.setType(short type)
Indicate the source of the geo data (GPS, IP address, user provided).
|
GeoThrift |
GeoThrift.setZip(String zip)
Zip/postal code.
|
| Modifier and Type | Method and Description |
|---|---|
Geo<GeoThrift> |
Geo.ThriftBuilder.build() |
Geo.Builder<GeoThrift> |
Geo.ThriftBuilder.clearCity() |
Geo.Builder<GeoThrift> |
Geo.ThriftBuilder.clearCountry() |
Geo.Builder<GeoThrift> |
Geo.ThriftBuilder.clearLat() |
Geo.Builder<GeoThrift> |
Geo.ThriftBuilder.clearLon() |
Geo.Builder<GeoThrift> |
Geo.ThriftBuilder.clearMetro() |
Geo.Builder<GeoThrift> |
Geo.ThriftBuilder.clearRegion() |
Geo.Builder<GeoThrift> |
Geo.ThriftBuilder.clearRegionfips104() |
Geo.Builder<GeoThrift> |
Geo.ThriftBuilder.clearType() |
Geo.Builder<GeoThrift> |
Geo.ThriftBuilder.clearZip() |
static Class<GeoThrift> |
Geo.getThriftClass()
Returns Thrift class for this struct.
|
Geo.Builder<GeoThrift> |
Geo.Thrift.newBuilder() |
static Geo.Builder<GeoThrift> |
Geo.newThriftBuilder()
Returns new Thrift builder instance with default values.
|
static Geo.Builder<GeoThrift> |
Geo.newThriftBuilder(Geo<?> other)
Returns new Thrift builder instance based on existing prototype Geo.
|
static Geo.Builder<GeoThrift> |
Geo.newThriftBuilder(GeoThrift other)
Returns new Thrift builder instance based on existing prototype.
|
Geo.Builder<GeoThrift> |
Geo.ThriftBuilder.setCity(String value) |
Geo.Builder<GeoThrift> |
Geo.ThriftBuilder.setCountry(String value) |
Geo.Builder<GeoThrift> |
Geo.ThriftBuilder.setLat(float value) |
Geo.Builder<GeoThrift> |
Geo.ThriftBuilder.setLon(float value) |
Geo.Builder<GeoThrift> |
Geo.ThriftBuilder.setMetro(String value) |
Geo.Builder<GeoThrift> |
Geo.ThriftBuilder.setRegion(String value) |
Geo.Builder<GeoThrift> |
Geo.ThriftBuilder.setRegionfips104(String value) |
Geo.Builder<GeoThrift> |
Geo.ThriftBuilder.setType(int value) |
Geo.Builder<GeoThrift> |
Geo.ThriftBuilder.setZip(String value) |
| Modifier and Type | Method and Description |
|---|---|
int |
GeoThrift.compareTo(GeoThrift other) |
boolean |
GeoThrift.equals(GeoThrift that) |
static Geo.Builder<GeoThrift> |
Geo.newThriftBuilder(GeoThrift other)
Returns new Thrift builder instance based on existing prototype.
|
UserThrift |
UserThrift.setGeo(GeoThrift geo)
Home geo for the user (e.g., based off of registration data); this is different from the current location of the access device (that is defined by the geo object embedded in the Device Object); see Geo Object.
|
DeviceThrift |
DeviceThrift.setGeo(GeoThrift geo)
Geography as derived from the device’s location services (e.g., cell tower triangulation, GPS) or IP address.
|
static Geo.Thrift |
Geo.thrift(GeoThrift instance)
Creates a new wrapped Thrift struct copied from an existing instance.
|
| Constructor and Description |
|---|
GeoThrift(GeoThrift other)
Performs a deep copy on other.
|
Thrift(GeoThrift wrapped)
Wraps an existing instance.
|
ThriftBuilder(GeoThrift builder)
Only use this if you know what you are doing.
|
Copyright © 2013–2016 AdGear Technologies Inc.. All rights reserved.