OpenRtbEcto

Ecto schemas for OpenRTB.

2.6 is complete, but 3.0 is in progress...

OpenRTB 2.5 SpecOpenRTB 2.6 Spec

OpenRTB 3.0 Spec

Installation

The package can be installed by adding open_rtb_ecto to your list of dependencies in mix.exs:

def deps do
[
{:open_rtb_ecto, "~> 0.3"}
]
end

Docs can be found at https://hexdocs.pm/open_rtb_ecto.

OpenRTB Example Payloads

https://wiki.smaato.com/pages/viewpage.action?pageId=1770079

Notes

  1. We do NOT attempt to validate ISO-4217 currency codes
  2. In these examples:
    • the deprecated protocol field is used, but the data is an int array, like the new protocols field...
    • content.season is sent as an int instead of a string