Skip to content

AD_Overlay Plugin

Fiero edited this page Dec 11, 2019 · 8 revisions

Make sure you know all types ads possible on AVideo Platform, click here

This plugin is designed to work with Google AdSense, however this plugin, in addition to AdSense, supports static images as well as other ad providers.

The example code that I leave together with the plugin is the type of ad unit, a type of ad with a fixed size. I opted for ad sizes with Images of 468x60 pixels, so that this type of advertisement is also compatible with low-resolution mobile devices

to create this type of ad follow these instructions https://support.google.com/adsense/answer/6002575?hl=en

after generating the AdSense code paste it into the plugin parameters in the adText part.

if you just created the ad, it may take up to 24 hours for it to appear

Ad Overlay per User

Now you can select the option allowUserAds, with this each user will be able to add their own ad code.

If you have the option AdminMustApproveUserAds also enabled, before the ads go online the site admin must approve it, to approve the ads, go to the user manager and you will see a yellow button with the label Ad Code, when you click on this button you will see the ad code the user put.

The admin can edit, approve or disapprove the code.

every time the user changes his ads code, the admin will need to approve again.

The user will find the text box to put the ad inside their profile

Users will only see the Ad Overlay Tab if they have the authorization to upload videos.

Clone this wiki locally