Creative

io.predictor.v1.Creative
See theCreative companion object
final case class Creative(externalId: String, campaignIds: Seq[String], theme: String, bannerPresent: Boolean, videoPresent: Boolean, displaymanagerWhite: Seq[String], displaymanagerBlack: Seq[String], coppa: Boolean, targetingInstl: Seq[Int], bannerAttr: Seq[Int], bannerType: Seq[Int], bannerApi: Seq[Int], videoWidth: Int, videoHeight: Int, videoDuration: Int, videoProtocol: Int, videoMime: Seq[String], videoAttr: Seq[Int], unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[Creative]

Creative targeting parameters. Contains only the fields needed for creative-level filtering.

Value parameters

bannerApi

imp.banner.api

bannerAttr

imp.banner.attr

bannerPresent

true if creative has a banner sub-record

bannerType

imp.banner.type

campaignIds

campaigns this creative belongs to

coppa
displaymanagerBlack

blocked display managers

displaymanagerWhite
externalId

creative ID

targetingInstl
theme

creative theme, used for theme-global-black filter

videoAttr

video.attr

videoDuration

video.duration

videoHeight

video.height

videoMime

video.mime

videoPresent

true if creative has a video sub-record

videoProtocol

video.protocol (single value from Creative record)

videoWidth

video.width

Attributes

Companion
object
Graph
Supertypes
trait Updatable[Creative]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def addAllBannerApi(`__vs`: Iterable[Int]): Creative
def addAllBannerAttr(`__vs`: Iterable[Int]): Creative
def addAllBannerType(`__vs`: Iterable[Int]): Creative
def addAllCampaignIds(`__vs`: Iterable[String]): Creative
def addAllDisplaymanagerBlack(`__vs`: Iterable[String]): Creative
def addAllDisplaymanagerWhite(`__vs`: Iterable[String]): Creative
def addAllTargetingInstl(`__vs`: Iterable[Int]): Creative
def addAllVideoAttr(`__vs`: Iterable[Int]): Creative
def addAllVideoMime(`__vs`: Iterable[String]): Creative
def addBannerApi(`__vs`: Int*): Creative
def addBannerAttr(`__vs`: Int*): Creative
def addBannerType(`__vs`: Int*): Creative
def addCampaignIds(`__vs`: String*): Creative
def addDisplaymanagerBlack(`__vs`: String*): Creative
def addDisplaymanagerWhite(`__vs`: String*): Creative
def addTargetingInstl(`__vs`: Int*): Creative
def addVideoAttr(`__vs`: Int*): Creative
def addVideoMime(`__vs`: String*): Creative
def companion: Creative.type
def getField(`__field`: FieldDescriptor): PValue
def getFieldByNumber(`__fieldNumber`: Int): Any
override def serializedSize: Int

Attributes

Definition Classes
GeneratedMessage
def toProtoString: String

Returns a human-readable ASCII format representation of this message.

Returns a human-readable ASCII format representation of this message.

The original message can be decoded from this format by using fromAscii on the companion object.

Attributes

Returns

human-readable representation of this message.

def withBannerApi(`__v`: Seq[Int]): Creative
def withBannerAttr(`__v`: Seq[Int]): Creative
def withBannerPresent(`__v`: Boolean): Creative
def withBannerType(`__v`: Seq[Int]): Creative
def withCampaignIds(`__v`: Seq[String]): Creative
def withCoppa(`__v`: Boolean): Creative
def withDisplaymanagerBlack(`__v`: Seq[String]): Creative
def withDisplaymanagerWhite(`__v`: Seq[String]): Creative
def withExternalId(`__v`: String): Creative
def withTargetingInstl(`__v`: Seq[Int]): Creative
def withTheme(`__v`: String): Creative
def withUnknownFields(`__v`: UnknownFieldSet): Creative
def withVideoAttr(`__v`: Seq[Int]): Creative
def withVideoDuration(`__v`: Int): Creative
def withVideoHeight(`__v`: Int): Creative
def withVideoMime(`__v`: Seq[String]): Creative
def withVideoPresent(`__v`: Boolean): Creative
def withVideoProtocol(`__v`: Int): Creative
def withVideoWidth(`__v`: Int): Creative
def writeTo(`_output__`: CodedOutputStream): Unit

Serializes the message into the given coded output stream

Serializes the message into the given coded output stream

Attributes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
final def toByteArray: Array[Byte]

Serializes the message and returns a byte array containing its raw bytes

Serializes the message and returns a byte array containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
final def toByteString: ByteString

Serializes the message and returns a ByteString containing its raw bytes

Serializes the message and returns a ByteString containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
final def toPMessage: PMessage

Attributes

Inherited from:
GeneratedMessage
def update(ms: Lens[Creative, Creative] => () => Creative*): Creative

Attributes

Inherited from:
Updatable
final def writeDelimitedTo(output: OutputStream): Unit

Attributes

Inherited from:
GeneratedMessage
final def writeTo(output: OutputStream): Unit

Serializes the message into the given output stream

Serializes the message into the given output stream

Attributes

Inherited from:
GeneratedMessage