---json { "canonical": ":ad", "page_id": "jqkpl7m30ja4a3hc2sb1k" } --- ====== How to add an Ad with the ''Ad Tag''? ====== ===== About ===== The ''ad tag'' is a syntax component of the [[ads|ads module]] that will insert a [[page|ad (ie ad page)]]. ===== Example ===== For instance, if you want to add a ''Ad'' in the top of the [[docs:theme:slot:side_slot|side slot]], you would: * Create a [[page|ad page]] called ''sideSlotTop'' * And add it in your [[docs:theme:slot:side_slot|side slot]] with the following syntax Because the ''ads'' are stored as pages, they are by default added to the index. You need to set a configuration to prevent it. See [[conf]] ===== Syntax ===== where ''adsFileName'' is the name of the [[page|ad page]]. The ''ad'' component is a [[docs:marki|superset HTML component]] and you can style it as you want. ===== Configuration ===== See [[conf]]