OpenRtbEcto.V2.Native.Response.Asset (OpenRtbEcto v1.4.1)

View Source

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

t()

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

Functions

changeset(asset, attrs \\ %{})