OpenRtbEcto.V2.BidRequest.Geo (OpenRtbEcto v0.1.3) 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.

Link to this section Summary

Link to this section Types


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()

Link to this section Functions

Link to this function

changeset(geo, attrs \\ %{})

View Source