The data registered via advertisement:registerNew().
id
the ID.
icon
the quad name for use in UI elements.
display
the name of the advertisement.
description
table, containing text configs for text to display. Refer to the example given in advertisement:registerNew() for more info.
canSelect
method, called when checking whether the advertisement type can be selected. 1 argument: the game project
fillInteractionComboBox
function, called when clicking on a game project and filling a combobox with options with this advertisement type being active.
handleEvent
function, called when a game project handles one of the events it can catch.
onSelected
function, called when selecting this advertisement option. Usually this creates a menu for further interaction. 1 argument: the game project it's selected for.