-
public final class Asset.Request
-
-
Field Summary
Fields Modifier and Type Field Description private Integeridprivate AssetTitle.Requesttitleprivate AssetImage.Requestimageprivate AssetVideo.Requestvideoprivate AssetData.Requestdataprivate Objectextensionprivate Integerrequired
-
Constructor Summary
Constructors Constructor Description Asset.Request(Integer required)
-
Method Summary
Modifier and Type Method Description final IntegergetId()Unique asset ID, assigned by exchange. final UnitsetId(@SerializedName(value = id) Integer id)Unique asset ID, assigned by exchange. final AssetTitle.RequestgetTitle()Title object for title assets. final UnitsetTitle(@SerializedName(value = title) AssetTitle.Request title)Title object for title assets. final AssetImage.RequestgetImage()Image object for image assets. final UnitsetImage(@SerializedName(value = img) AssetImage.Request image)Image object for image assets. final AssetVideo.RequestgetVideo()Video object for video assets. final UnitsetVideo(@SerializedName(value = video) AssetVideo.Request video)Video object for video assets. final AssetData.RequestgetData()Data object for brand name, description, ratings, prices etc. final UnitsetData(@SerializedName(value = data) AssetData.Request data)Data object for brand name, description, ratings, prices etc. final ObjectgetExtension()Placeholder for exchange-specific extensions to OpenRTB. final UnitsetExtension(@SerializedName(value = ext) Object extension)Placeholder for exchange-specific extensions to OpenRTB. final IntegergetRequired()Set to 1 if asset is required (exchange will not accept a bid without it) final UnitsetRequired(@SerializedName(value = required) Integer required)Set to 1 if asset is required (exchange will not accept a bid without it) -
-
Constructor Detail
-
Asset.Request
Asset.Request(Integer required)
-
-
Method Detail
-
getId
final Integer getId()
Unique asset ID, assigned by exchange. Typically a counter for the array
-
setId
final Unit setId(@SerializedName(value = id) Integer id)
Unique asset ID, assigned by exchange. Typically a counter for the array
-
getTitle
final AssetTitle.Request getTitle()
Title object for title assets.
-
setTitle
final Unit setTitle(@SerializedName(value = title) AssetTitle.Request title)
Title object for title assets.
-
getImage
final AssetImage.Request getImage()
Image object for image assets.
-
setImage
final Unit setImage(@SerializedName(value = img) AssetImage.Request image)
Image object for image assets.
-
getVideo
final AssetVideo.Request getVideo()
Video object for video assets. Note that in-stream (ie pre-roll, etc) video ads are not part of Native. Native ads may contain a video as the ad creative itself.
-
setVideo
final Unit setVideo(@SerializedName(value = video) AssetVideo.Request video)
Video object for video assets. Note that in-stream (ie pre-roll, etc) video ads are not part of Native. Native ads may contain a video as the ad creative itself.
-
getData
final AssetData.Request getData()
Data object for brand name, description, ratings, prices etc.
-
setData
final Unit setData(@SerializedName(value = data) AssetData.Request data)
Data object for brand name, description, ratings, prices etc.
-
getExtension
final Object getExtension()
Placeholder for exchange-specific extensions to OpenRTB.
-
setExtension
final Unit setExtension(@SerializedName(value = ext) Object extension)
Placeholder for exchange-specific extensions to OpenRTB.
-
getRequired
final Integer getRequired()
Set to 1 if asset is required (exchange will not accept a bid without it)
-
setRequired
final Unit setRequired(@SerializedName(value = required) Integer required)
Set to 1 if asset is required (exchange will not accept a bid without it)
-
-
-
-