Interface OpenRtb.NativeRequest.AssetOrBuilder

    • Method Detail

      • hasId

        boolean hasId()
         Unique asset ID, assigned by exchange. Typically a counter for the array.
         REQUIRED by the OpenRTB Native specification.
         
        required int32 id = 1;
        Returns:
        Whether the id field is set.
      • getId

        int getId()
         Unique asset ID, assigned by exchange. Typically a counter for the array.
         REQUIRED by the OpenRTB Native specification.
         
        required int32 id = 1;
        Returns:
        The id.
      • hasRequired

        boolean hasRequired()
         Set to true if asset is required
         (exchange will not accept a bid without it).
         
        optional bool required = 2 [default = false];
        Returns:
        Whether the required field is set.
      • getRequired

        boolean getRequired()
         Set to true if asset is required
         (exchange will not accept a bid without it).
         
        optional bool required = 2 [default = false];
        Returns:
        The required.
      • hasTitle

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

        boolean hasImg()
         Image object for image assets.
         
        .com.google.openrtb.NativeRequest.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.BidRequest.Imp.Video video = 5;
        Returns:
        Whether the video field is set.
      • getVideo

        OpenRtb.BidRequest.Imp.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.BidRequest.Imp.Video video = 5;
        Returns:
        The video.
      • getVideoOrBuilder

        OpenRtb.BidRequest.Imp.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.BidRequest.Imp.Video video = 5;
      • hasData

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

        OpenRtb.NativeRequest.Asset.Data getData()
         Data object for brand name, description, ratings, prices etc.
         
        .com.google.openrtb.NativeRequest.Asset.Data data = 6;
        Returns:
        The data.