In-Page / Interstitial for websites: Creating AD Codes

Step 1. Sign up to join OnClickA Publishers: Sign up →   
Step 2. Go to the AD Codes tab: AD Codes →   
Step 3. Add new AD Code
Step 4. Copy the snippet
Step 5. Paste the snippet from a clipboard to head / to body of your website

Now, let’s get more details about each of the steps.

Step 1

Sign up to OnClickA Publishers. You can do it here:

Sign up →

Step 2

Go to the AD Codes tab:

1-video-for-websites-creating-ad-codes.webp

 Go to AD Codes →

Step 3

Click on Add new AD Code:

2-video-for-websites-creating-ad-codes.webp

Create new AD Code:

3-video-for-websites-creating-ad-codes.webp

ℹ️ AD Code name 

Provide a name for your ad code. This name will only be viewed within our service to help you differentiate one code from another.

ℹ️ Choose your traffic type  

It’s essential to select Category group and Category ID. Choose the category that best suits your needs.

ℹ️ Choose ad formats for your AD Code 

Choose the Inpage option since this guide is about In-Page / Interstitial.

There are a lot of potential modifications available if you wish to make changes. Let’s explore them together.

4-in-page-interstitial-for-websites-creating-ad-codes.webp

Let’s explore more potential customizations.

Please note

Some ℹ️ customizations are marked as Optional. They provide more control but aren’t needed in most cases—ads will display fine without them.
Enable them only if you’re sure you need them.

ℹ️ Spot name

Spot name is filled in automatically

ℹ️ Frequency capping · Optional

Frequency capping determines how many videos are shown within a certain timeframe. This setting may be something to explore after you become more familiar with the platform.

ℹ️ Device targeting · Optional

You can leave it as all devices, or you can choose between desktop and mobile.

ℹ️ Position desktop / mobile · Optional

Specify the ad's position on the screen for desktop and mobile.

ℹ️ Attach to HTML Container · Optional

ℹ️ Selector: If you’d like, you can place the ad inside an HTML container on your site by specifying a selector:
Read more about selectors →


ℹ️ Attach Mode · Optional: Choose when an ad appears:
· On Page Load,
· On Play Button,
· On Pause Button.


ℹ️ Mobile settings · Optional: You can target Interstitial ad format specifically for mobile devices.

Moving on

After it’s done, click on Create:

12-in-page-interstitial-for-websites-creating-ad-codes.webp

Your AD Code is created:

13-video-for-websites-creating-ad-codes.webp

Step 4

Click on Copy snippet:

14-video-for-websites-creating-ad-codes.webp

Click on Copy script:

15-in-page-interstitial-for-websites-creating-ad-codes.webp
Your script will be copied to clipboard.

Step 5

The script has been copied to the clipboard. This is your AD Code. The next step is to paste it into your website’s code. You can just insert the AD Code to the <head> or <body> of your website.

We recommend integrating the AD Code into the head section. This will assist in faster ads appearance when loading the web page. 

Example:

<head>
…
<script async src="https://js.onclckmn.com/static/onclicka.js" data-admpid="000000"></script>
</head>

for <head>

If you decide that inserting the code into the <body> section is more beneficial for your website, we recommend placing it as close to the beginning of your <body> section as possible.

Technical writer
James Sullivan
Technical writer
Was this article helpful?