View Source OpenRtbEcto (OpenRtbEcto v0.6.5)

Ecto schemas for OpenRTB 2.x & 3.0 according to the following specifications:

OpenRTB 2.0 Spec OpenRTB 2.5 Spec OpenRTB 2.6 Spec

OpenRTB 3.0 Spec

Summary

Types

Any of the schemas defined in the library

Types

@type open_rtb_schema() :: term()

Any of the schemas defined in the library

Functions

@spec cast(open_rtb_schema(), map() | binary()) :: {:ok, struct()} | {:error, map()}