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

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.

Link to this section Summary

Link to this section Types

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

Link to this section Functions

Link to this function

changeset(asset, attrs \\ %{})

View Source