OpenRtbEcto.V2.BidRequest.Geo (OpenRtbEcto v1.4.0)

View Source

This object encapsulates various methods for specifying a geographic location. When subordinate to a Device object, it indicates the location of the device which can also be interpreted as the user’s current location. When subordinate to a User object, it indicates the location of the user’s home base (i.e., not necessarily their current location).

The lat/lon attributes should only be passed if they conform to the accuracy depicted in the type attribute. For example, the centroid of a geographic region such as postal code should not be passed.

Summary

Types

t()

@type t() :: %OpenRtbEcto.V2.BidRequest.Geo{
  accuracy: term(),
  city: term(),
  country: term(),
  ext: term(),
  ipservice: term(),
  lastfix: term(),
  lat: term(),
  lon: term(),
  metro: term(),
  region: term(),
  regionfips104: term(),
  type: term(),
  utcoffset: term(),
  zip: term()
}

Functions

changeset(geo, attrs)