View Source OpenRtbEcto.V2.Native.Response.Asset (OpenRtbEcto v0.6.5)

Corresponds to the Asset Object in the request. The main container object for each asset requested or supported by Exchange on behalf of the rendering client. Any object that is required is to be flagged as such. Only one of the {title,img,video,data} objects should be present in each object. All others should be null/absent. The id is to be unique within the AssetObject array so that the response can be aligned.

Summary

Types

@type t() :: %OpenRtbEcto.V2.Native.Response.Asset{
  data: term(),
  ext: term(),
  id: term(),
  img: term(),
  link: term(),
  required: term(),
  title: term(),
  video: term()
}

Functions

Link to this function

changeset(asset, attrs \\ %{})

View Source