Skip to content

AppMonet/open_rtb_ecto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.9"}
  ]
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