Class VideoAd

com.yandex.mobile.ads.video.models.ad

java.lang.Object ⇽ VideoAd

public class VideoAd implements Trackable

All Implemented Interfaces:
Trackable

This class contains information about VAST video ads (the flag for a redirect, list of Creative objects, and other parameters).

Methods

int describeContents()
boolean equals(final Object o)
String getAdSystem()

Returns the original ad system.

String getAdTitle()

Returns the ad title.

List< Creative > getCreatives()

Returns a list of creatives.

String getDescription()

Returns the ad's description.

String getSurvey()

Returns the provider's URI.

Map< String, List< String > > getTrackingEvents()

Returns a map containing keys with event types and the values of tracked URLs.

String getVastAdTagUri()

Returns VASTAdTagURI for an alternative ad system.

int hashCode()
boolean isWrapper()

Returns the flag for a redirect to another ad.

void writeToParcel(final Parcel dest, final int flags)

Fields

final Creator< VideoAd > CREATOR

Method Detail

describeContents

public int describeContents ()

equals

public boolean equals (final Object o)

getAdSystem

public String getAdSystem ()

Returns the original ad system.

Returns:

The source ad system.

getAdTitle

public String getAdTitle ()

Returns the ad title.

Returns:

Ad title.

getCreatives

public List< Creative > getCreatives ()

Returns a list of creatives.

Returns:

A list of objects of the Creative class.

getDescription

public String getDescription ()

Returns the ad's description.

Returns:

Ad description.

getSurvey

public String getSurvey ()

Returns the provider's URI.

Returns:

Provider's URI.

getTrackingEvents

public Map< String, List< String > > getTrackingEvents ()

Returns a map containing keys with event types and the values of tracked URLs.

Returns:

A map containing keys with event types and the values of tracked URLs.

getVastAdTagUri

public String getVastAdTagUri ()

Returns VASTAdTagURI for an alternative ad system.

Returns:

VASTAdTagURI for an alternative ad system.

hashCode

public int hashCode ()

isWrapper

public boolean isWrapper ()

Returns the flag for a redirect to another ad.

Returns:

Flag that indicates a redirect to another ad.

writeToParcel

public void writeToParcel (final Parcel dest, final int flags)

Field Detail

CREATOR

public static CREATOR = new Creator<VideoAd>() { public VideoAd createFromParcel(final Parcel source) { return new VideoAd(source); } public VideoAd[] newArray(final int size) { return new VideoAd[size]; } }