Intelligent Assistant
Chat with our virtual assistant to get answers promptly.
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.
HMS Core
Class Info |
|---|
public class CreativeMatchStrategy Ad creative matching strategy. |
Qualifier and Type | Class Name and Description |
|---|---|
static enum | CreativeMatchStrategy Ad creative matching strategy enum class. |
Constructor Name |
|---|
CreativeMatchStrategy(CreativeMatchType creativeMatchType ) Ad creative matching strategy. |
CreativeMatchStrategy(CreativeMatchType creativeMatchType, Integer expectedCreativeWidth, Integer expectedCreativeHeight) Ad creative matching strategy. |
Qualifier and Type | Method Name and Description |
|---|---|
CreativeMatchStrategy.CreativeMatchType | Obtains the ad creative matching strategy. |
int | Obtains the expected ad creative height. |
int | Obtains the expected ad creative width. |
void | setExpectedCreativeHeight(int expectedCreativeHeight) Sets the expected ad creative height. |
Constructor |
|---|
public CreativeMatchStrategy(CreativeMatchType creativeMatchType ) Ad creative matching strategy. |
Parameters
Name | Description |
|---|---|
creativeMatchType | Ad creative matching strategy. |
Constructor |
|---|
public CreativeMatchStrategy(CreativeMatchType creativeMatchType, Integer expectedCreativeWidth, Integer expectedCreativeHeight) Ad creative matching strategy. |
Parameters
Name | Description |
|---|---|
creativeMatchType | Ad creative matching strategy. |
expectedCreativeWidth | Expected ad creative width, in pixels. |
expectedCreativeHeight | Expected ad creative height, in pixels. |
Method |
|---|
public CreativeMatchStrategy.CreativeMatchType getCreativeMatchType() Obtains the ad creative matching strategy. |
Returns
Type | Description |
|---|---|
CreativeMatchStrategy.CreativeMatchType | Ad creative matching strategy. |
Method |
|---|
public int getExpectedCreativeHeight() Obtains the expected ad creative height. |
Returns
Type | Description |
|---|---|
int | Expected ad creative height, in pixels. |
Method |
|---|
public int getExpectedCreativeWidth() Obtains the expected ad creative width. |
Returns
Type | Description |
|---|---|
int | Expected ad creative width, in pixels. |
Method |
|---|
public void setExpectedCreativeHeight(int expectedCreativeHeight) Sets the expected ad creative height. |
Parameters
Name | Description |
|---|---|
expectedCreativeHeight | Expected ad creative height, in pixels. |
Intelligent Assistant
Chat with our virtual assistant to get answers promptly.
Quick start
Helps you find desired resources with ease.