Skip to main content

Custom Adv

{
"id": "integer",
"position": "string",
"title": "string",
"link": "string(uri)",
"image": "string",
"embed_code": "string",
"active": "boolean",
"created_at": "string",
"lastmod_datetime": "string",
"category": "integer",
"created_by": "integer"
}

Properties

NameTypeRequiredRestrictionsDescription
idintegerfalseread-onlyA unique integer value identifying this adv
positionstringtruenoneA string code representing the display position of the adv
titlestringtruenoneThe title of the adv
linkstring(uri)¦nullfalsenoneThe link/url of the adv
imagestring(binary)¦nullfalsenoneAn image banner for the adv
embed_codestring¦nullfalsenoneHtml/js embeddable code
activebooleanfalsenoneA flag to activate or deactivate this adv
created_atstring(date-time)falsenoneDatetime of creation
lastmod_datetimestring(date-time)falsenoneLast modify datetime
categoryinteger¦nullfalsenoneThe id of the category connected to this adv
created_byintegertruenoneThe id of the creator of this adv

Position valid Values

Value
BELOW_TOPBAR
BELOW_THE_POST
ABOVE_FOOTER_BAR
FOOTER_STICKY
IN_POST_COMMENTS
RELATED_POSTS_COLUMN
TOOLS_COLUMN
IN_STREAM