Before integrating your website with QuabAds, it is required of you to have created a publisher account through this LINK
If you need a full guide to creating an account and registering ad slots, please follow this link.
Okay, let us get to the details;
Test js link
Production js link
The next step is to include the insert tags whenever you need to display an ad. This tag needs to have three fundamental attributes namely; class, data-slot-id, and data-pub-id.
Insert <ins> tags in the place of Ads.
<ins class="quabads-slot" data-slot-id="as_NzI1ODM3NDg3NDY0N" data-pub-id="us_OTk5OTk5OTk5OTk5OQ" ></ins>
The tag should have the following required tag attributes:
This should contain the value ‘quabads-slot’
This should have the registered Ad slot ID. The Ad slot ID is acquired through the account Dashboard.
This is the publisher ID. A publisher ID is acquired on account registration.
Remember to replace the respective IDs during production.
That is it. You should be able to see a default ad slot banner when you run the code on your website.