Class Resource
-
- All Implemented Interfaces:
public final class ResourceData model representing a companion ad creative resource.
This class encapsulates a single creative resource that can be used to display a companion advertisement. Resources can be of different types (static images, HTML content, etc.) and contain the actual creative content or reference to it.
-
-
Field Summary
Fields Modifier and Type Field Description private final BytecreativeTypeprivate final Stringcontent
-
Method Summary
Modifier and Type Method Description final BytegetCreativeType()final StringgetContent()-
-
Constructor Detail
-
Resource
Resource(Byte creativeType, String content)
- Parameters:
creativeType- The CompanionType indicating the type of companion creativecontent- The creative content (HTML markup, image URL, etc.
-
-
Method Detail
-
getCreativeType
final Byte getCreativeType()
-
getContent
final String getContent()
-
-
-
-