View Source OpenRtbEcto.V2.BidRequest.UserAgent (OpenRtbEcto v0.6.5)

Structured user agent information, which can be used when a client supports User-Agent Client Hints. If both device.ua and device.sua are present in the bid request, device.sua should be considered the more accurate representation of the device attributes. This is because the device.ua may contain a frozen or reduced user agent string due to deprecation of user agent strings by browsers.

Summary

Types

@type t() :: %OpenRtbEcto.V2.BidRequest.UserAgent{
  architecture: term(),
  bitness: term(),
  browsers: term(),
  ext: term(),
  mobile: term(),
  model: term(),
  platform: term(),
  source: term()
}

Functions

Link to this function

changeset(user_agent, attrs \\ %{})

View Source