# Custom Events

{% embed url="<https://youtu.be/iYCniJ9xfEI>" %}
How to create and use custom events.
{% endembed %}

**Name and description**: Give the event a name and description (optional) of your choice.

**Value type** determines what is counted, and you can choose between number (for example the number of events or conversions), time in milliseconds or seconds (for example, the seconds a user holds the cursor over an ad), or money (for example the value of a purchase online).

![Custom event example](https://307313184-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LHmwQqapxqiNrAwTABM%2Fuploads%2Fgit-blob-259343f7b80fc8768c0c3570ce12a39e5125911c%2F201811%20Reports%20-%20Admin%20-%20Custom%20Events.png?alt=media)

**ID and code example**: Once you've created your event, you can paste the code with the ID into a [Layout](https://docs.adnuntius.com/adnuntius-advertising/admin-ui/admin/..#layouts) to start counting events.

![Once you have created a custom event you will also find it as a conversion event when adding a CPA bid to the line item.](https://307313184-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LHmwQqapxqiNrAwTABM%2Fuploads%2Fgit-blob-9c9287cb94e0b23f37776d8b99e4c6ec33026b4a%2F202003%20CPA%20Code.png?alt=media)
