We use essential cookies for the website to function, as well as analytics cookies for analyzing and creating statistics of the website performance. To agree to the use of analytics cookies, click "Accept All". You can manage your preferences at any time by clicking "Cookie Settings" on the footer. More Information.

Only Essential Cookies
Accept All

CreativeMatchStrategy

Expand

Class Info

public class CreativeMatchStrategy

Ad creative matching strategy.

Nested Class Summary

Expand

Qualifier and Type

Class Name and Description

static enum

CreativeMatchStrategy

Ad creative matching strategy enum class.

Public Constructor Summary

Expand

Constructor Name

CreativeMatchStrategy(CreativeMatchType creativeMatchType )

Ad creative matching strategy.

CreativeMatchStrategy(CreativeMatchType creativeMatchType, Integer expectedCreativeWidth, Integer expectedCreativeHeight)

Ad creative matching strategy.

Public Method Summary

Expand

Qualifier and Type

Method Name and Description

CreativeMatchStrategy.CreativeMatchType

getCreativeMatchType()

Obtains the ad creative matching strategy.

int

getExpectedCreativeHeight()

Obtains the expected ad creative height.

int

getExpectedCreativeWidth()

Obtains the expected ad creative width.

void

setExpectedCreativeHeight(int expectedCreativeHeight)

Sets the expected ad creative height.

Public Constructors

CreativeMatchStrategy(CreativeMatchType creativeMatchType )

Expand

Constructor

public CreativeMatchStrategy(CreativeMatchType creativeMatchType )

Ad creative matching strategy.

Parameters

Expand

Name

Description

creativeMatchType

Ad creative matching strategy.

CreativeMatchStrategy(CreativeMatchType creativeMatchType, Integer expectedCreativeWidth, Integer expectedCreativeHeight)

Expand

Constructor

public CreativeMatchStrategy(CreativeMatchType creativeMatchType, Integer expectedCreativeWidth, Integer expectedCreativeHeight)

Ad creative matching strategy.

Parameters

Expand

Name

Description

creativeMatchType

Ad creative matching strategy.

expectedCreativeWidth

Expected ad creative width, in pixels.

expectedCreativeHeight

Expected ad creative height, in pixels.

Public Methods

getCreativeMatchType

Expand

Method

public CreativeMatchStrategy.CreativeMatchType getCreativeMatchType()

Obtains the ad creative matching strategy.

Returns

Expand

Type

Description

CreativeMatchStrategy.CreativeMatchType

Ad creative matching strategy.

getExpectedCreativeHeight

Expand

Method

public int getExpectedCreativeHeight()

Obtains the expected ad creative height.

Returns

Expand

Type

Description

int

Expected ad creative height, in pixels.

getExpectedCreativeWidth

Expand

Method

public int getExpectedCreativeWidth()

Obtains the expected ad creative width.

Returns

Expand

Type

Description

int

Expected ad creative width, in pixels.

setExpectedCreativeHeight

Expand

Method

public void setExpectedCreativeHeight(int expectedCreativeHeight)

Sets the expected ad creative height.

Parameters

Expand

Name

Description

expectedCreativeHeight

Expected ad creative height, in pixels.

Search in References
Enter a keyword.