# OpenRtbEcto

Ecto schemas for [OpenRTB](

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

Also supports Bid

[OpenRTB 2.5 Spec](
[OpenRTB 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.5"}

Docs can be found at [](

### OpenRTB Example Payloads

### Notes

1. We do NOT attempt to validate ISO-4217 currency codes
1. 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