Package 

Class Asset.Response

    • Constructor Detail

      • Asset.Response

        Asset.Response()
    • Method Detail

      • getId

         final Integer getId()

        Optional if assetsurl/dcourl is being used; required if embedded asset is being used.

      • setId

         final Unit setId(@SerializedName(value = id) Integer id)

        Optional if assetsurl/dcourl is being used; required if embedded asset is being used.

      • getRequired

         final Integer getRequired()

        Set to 1 if asset is required. (bidder requires it to be displayed).

      • setRequired

         final Unit setRequired(@SerializedName(value = required) Integer required)

        Set to 1 if asset is required. (bidder requires it to be displayed).

      • getVideo

         final AssetVideo.Response 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.Response 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.

      • setData

         final Unit setData(@SerializedName(value = data) AssetData.Response data)

        Data object for brand name, description, ratings, prices etc.

      • getLink

         final Link getLink()

        Link object for call to actions. The link object applies if the asset item is activated (clicked). If there is no link object on the asset, the parent link object on the bid response applies.

      • setLink

         final Unit setLink(@SerializedName(value = link) Link link)

        Link object for call to actions. The link object applies if the asset item is activated (clicked). If there is no link object on the asset, the parent link object on the bid response applies.

      • 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.