Skip to main content

Banner

Representation of a banner on the site

type Banner {
id: Int!
placementId: Int!
content: String
name: String
sort: Int
active: Boolean
timeLimit: TimeInterval
fallbackId: Int
updatedAt: DateTime
}

Fields

id ● Int!

The internal id of the banner

placementId ● Int!

The index of where the banner should be placed

content ● String

The content of the banner

name ● String

The name of the banner

sort ● Int

The sort index of the banner

active ● Boolean

Is the banner active

timeLimit ● TimeInterval

The duration of when the banner should be displayed

fallbackId ● Int

If the banner cannot be displayed this is the id of a another banner

updatedAt ● DateTime

Time when the banner was last updated

Example

{
"timeLimit": {
"from": "2024-05-03T11:52:33Z"
}
}