目录

CreativeMatchStrategy

Class Info

public class CreativeMatchStrategy

广告创意匹配策略。

Nested Class Summary

Qualifier and Type

Class Name and Description

static enum

CreativeMatchStrategy

广告创意匹配策略枚举类。

Public Constructor Summary

Constructor Name

CreativeMatchStrategy(CreativeMatchType creativeMatchType )

广告创意匹配策略。

CreativeMatchStrategy(CreativeMatchType creativeMatchType, Integer expectedCreativeWidth, Integer expectedCreativeHeight)

广告创意匹配策略。

Public Method Summary

Qualifier and Type

Method Name and Description

CreativeMatchStrategy.CreativeMatchType

getCreativeMatchType()

获取广告创意匹配策略。

int

getExpectedCreativeHeight()

获取期望的广告创意的高度。

int

getExpectedCreativeWidth()

获取期望的广告创意的宽度。

void

setExpectedCreativeHeight(int expectedCreativeHeight)

设置期望的广告创意的高度。

Public Constructors

[h2]CreativeMatchStrategy(CreativeMatchType creativeMatchType )

Constructor

public CreativeMatchStrategy(CreativeMatchType creativeMatchType )

广告创意匹配策略。

Parameters

Name

Description

creativeMatchType

广告创意匹配策略。

[h2]CreativeMatchStrategy(CreativeMatchType creativeMatchType, Integer expectedCreativeWidth, Integer expectedCreativeHeight)

Constructor

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

广告创意匹配策略。

Parameters

Name

Description

creativeMatchType

广告创意匹配策略。

expectedCreativeWidth

期望设定的广告创意宽度,单位:px。

expectedCreativeHeight

期望设定的广告创意高度,单位:px。

Public Methods

[h2]getCreativeMatchType

Method

public CreativeMatchStrategy.CreativeMatchType getCreativeMatchType()

获取广告创意匹配策略。

Returns

Type

Description

CreativeMatchStrategy.CreativeMatchType

广告创意匹配策略。

[h2]getExpectedCreativeHeight

Method

public int getExpectedCreativeHeight()

获取期望的广告创意的高度。

Returns

Type

Description

int

期望的广告创意的高度,单位:px。

[h2]getExpectedCreativeWidth

Method

public int getExpectedCreativeWidth()

获取期望的广告创意的宽度。

Returns

Type

Description

int

期望的广告创意的宽度,单位:px。

[h2]setExpectedCreativeHeight

Method

public void setExpectedCreativeHeight(int expectedCreativeHeight)

设置期望的广告创意的高度。

Parameters

Name

Description

expectedCreativeHeight

期望的广告创意的高度,单位:px。