Class VideoAdRequest

com.yandex.mobile.ads.video

public class VideoAdRequest

This class contains the parameters of the request to get specific ad blocks.

The request is created using the Builder class.

Nested Classes

Methods

String getBlockId()

Returns the block ID.

BlocksInfo getBlocksInfo()

Returns an object of the BlocksInfo class.

Charset getCharset()

Returns the encoding (an object of the Charset class).

Context getContext()

Returns an object of the Context class.

String getExtParams()

Returns additional parameters.

String getGenreId()

Returns the genre ID.

String getGenreName()

Returns the genre name.

String getMaxBitrate()

Returns the maximum bitrate.

String getPageRef()

Returns the pageRef parameter.

String getPlayerHeightPix()

Returns the height of the video in pixels.

String getPlayerWidthPix()

Returns the width of the video in pixels.

String getPublisherId()

Returns the ID of the content copyright holder.

String getPublisherName()

Returns the name of the content copyright holder.

RequestListener< List< VideoAd > > getRequestListener()

Returns an object of the RequestListener class.

String getTagsList()

Returns a list of tags.

String getTargetRef()

Returns the targetRef parameter.

String getVideoContentId()

Returns the video content ID.

String getVideoContentName()

Returns the title of the content.

Method Detail

getBlockId

public String getBlockId ()

Returns the block ID.

Returns:

Block ID.

getBlocksInfo

public BlocksInfo getBlocksInfo ()

Returns an object of the BlocksInfo class.

Returns:

An object of the BlocksInfo class.

getCharset

public Charset getCharset ()

Returns the encoding (an object of the Charset class).

Returns:

Encoding.

getContext

public Context getContext ()

Returns an object of the Context class.

Returns:

An object of the Context system class.

getExtParams

public String getExtParams ()

Returns additional parameters.

Returns:

Additional parameters.

getGenreId

public String getGenreId ()

Returns the genre ID.

Returns:

Genre ID.

getGenreName

public String getGenreName ()

Returns the genre name.

Returns:

Genre name.

getMaxBitrate

public String getMaxBitrate ()

Returns the maximum bitrate.

Returns:

Maximum bitrate.

getPageRef

public String getPageRef ()

Returns the pageRef parameter.

Returns:

The pageRef parameter.

getPlayerHeightPix

public String getPlayerHeightPix ()

Returns the height of the video in pixels.

Returns:

Height of the video in pixels.

getPlayerWidthPix

public String getPlayerWidthPix ()

Returns the width of the video in pixels.

Returns:

Width of the video in pixels.

getPublisherId

public String getPublisherId ()

Returns the ID of the content copyright holder.

Returns:

ID of the content copyright holder.

getPublisherName

public String getPublisherName ()

Returns the name of the content copyright holder.

Returns:

Name of the content copyright holder.

getRequestListener

public RequestListener< List< VideoAd > > getRequestListener ()

Returns an object of the RequestListener class.

Returns:

An object of the RequestListener class.

getTagsList

public String getTagsList ()

Returns a list of tags.

Returns:

List of tags.

getTargetRef

public String getTargetRef ()

Returns the targetRef parameter.

Returns:

The targetRef parameter.

getVideoContentId

public String getVideoContentId ()

Returns the video content ID.

Returns:

Video content ID.

getVideoContentName

public String getVideoContentName ()

Returns the title of the content.

Returns:

Content title.