-
public final class LinkUsed 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.
-
-
Field Summary
Fields Modifier and Type Field Description private final Array<String>clickTrackersprivate final StringfallbackURLprivate Objectextensionprivate final Stringurl
-
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 StringgetFallbackURL()Fallback URL for deeplink. final ObjectgetExtension()Placeholder for exchange-specific extensions to OpenRTB. final UnitsetExtension(@SerializedName(value = ext) Object extension)Placeholder for exchange-specific extensions to OpenRTB. final StringgetUrl()Landing URL of the clickable link. -
-
Constructor Detail
-
Link
Link(String url)
-
-
Method Detail
-
getClickTrackers
final Array<String> getClickTrackers()
List of third-party tracker URLs to strings be fired on click of the URL.
-
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.
-
-
-
-