Package 

Class Link


  • 
    public final class Link
    
                        

    Used for ‘call to action’ assets, or other links from the Native ad. This Object should be associated to its peer object in the parent Asset Object or as the master link in the top level Native Ad response object. When that peer object is activated (clicked) the action should take the user to the location of the link.

    • Constructor Summary

      Constructors 
      Constructor Description
      Link(String url)
    • Method Summary

      Modifier and Type Method Description
      final Array<String> getClickTrackers() List of third-party tracker URLs to strings be fired on click of the URL.
      final String getFallbackURL() Fallback URL for deeplink.
      final Object getExtension() Placeholder for exchange-specific extensions to OpenRTB.
      final Unit setExtension(@SerializedName(value = ext) Object extension) Placeholder for exchange-specific extensions to OpenRTB.
      final String getUrl() Landing URL of the clickable link.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • getFallbackURL

         final String getFallbackURL()

        Fallback URL for deeplink. To be used if the URL given in url is not supported by the device.

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

      • getUrl

         final String getUrl()

        Landing URL of the clickable link.