Interface OpenRtb.NativeResponse.AssetOrBuilder

    • Method Detail

      • hasId

        boolean hasId()
         Unique asset ID, assigned by exchange, must match one of the asset IDs
         in request.
         REQUIRED in 1.0, or in 1.2 if embedded asset is being used.
         
        required int32 id = 1;
        Returns:
        Whether the id field is set.
      • getId

        int getId()
         Unique asset ID, assigned by exchange, must match one of the asset IDs
         in request.
         REQUIRED in 1.0, or in 1.2 if embedded asset is being used.
         
        required int32 id = 1;
        Returns:
        The id.
      • hasRequired

        boolean hasRequired()
         Set to true if asset is required. (bidder requires it to be displayed).
         
        optional bool required = 2 [default = false];
        Returns:
        Whether the required field is set.
      • getRequired

        boolean getRequired()
         Set to true if asset is required. (bidder requires it to be displayed).
         
        optional bool required = 2 [default = false];
        Returns:
        The required.
      • hasTitle

        boolean hasTitle()
         Title object for title assets.
         
        .com.google.openrtb.NativeResponse.Asset.Title title = 3;
        Returns:
        Whether the title field is set.
      • hasImg

        boolean hasImg()
         Image object for image assets.
         
        .com.google.openrtb.NativeResponse.Asset.Image img = 4;
        Returns:
        Whether the img field is set.
      • hasVideo

        boolean hasVideo()
         Video object for video assets.
         Note that in-stream video ads are not part of Native.
         Native ads may contain a video as the ad creative itself.
         
        .com.google.openrtb.NativeResponse.Asset.Video video = 5;
        Returns:
        Whether the video field is set.
      • getVideo

        OpenRtb.NativeResponse.Asset.Video getVideo()
         Video object for video assets.
         Note that in-stream video ads are not part of Native.
         Native ads may contain a video as the ad creative itself.
         
        .com.google.openrtb.NativeResponse.Asset.Video video = 5;
        Returns:
        The video.
      • getVideoOrBuilder

        OpenRtb.NativeResponse.Asset.VideoOrBuilder getVideoOrBuilder()
         Video object for video assets.
         Note that in-stream video ads are not part of Native.
         Native ads may contain a video as the ad creative itself.
         
        .com.google.openrtb.NativeResponse.Asset.Video video = 5;
      • hasData

        boolean hasData()
         Data object for ratings, prices etc.
         
        .com.google.openrtb.NativeResponse.Asset.Data data = 6;
        Returns:
        Whether the data field is set.
      • getData

        OpenRtb.NativeResponse.Asset.Data getData()
         Data object for ratings, prices etc.
         
        .com.google.openrtb.NativeResponse.Asset.Data data = 6;
        Returns:
        The data.
      • hasLink

        boolean hasLink()
         Link object for call to actions.
         This 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 apply.
         
        optional .com.google.openrtb.NativeResponse.Link link = 7;
        Returns:
        Whether the link field is set.
      • getLink

        OpenRtb.NativeResponse.Link getLink()
         Link object for call to actions.
         This 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 apply.
         
        optional .com.google.openrtb.NativeResponse.Link link = 7;
        Returns:
        The link.
      • getLinkOrBuilder

        OpenRtb.NativeResponse.LinkOrBuilder getLinkOrBuilder()
         Link object for call to actions.
         This 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 apply.
         
        optional .com.google.openrtb.NativeResponse.Link link = 7;