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

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.

Link to this section Summary

Link to this section Types

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

Link to this section Functions

Link to this function

changeset(user_agent, attrs \\ %{})

View Source