XtGem Forum catalog
To Get Our Daily Updates For Free, Send Follow @Unlimitedapps7 to 40404 (Message Is Free!)
Always Post unlimitedapps.xtgem.com on your facebook, twitter and 2go status! If you love UNLIMITEDAPPS(¤) and enjoy unlimited services here!
»XtGem Tutorial and Reference
Ad Functions
Add block » Advanced » Ads
Add Advertising From Various Ad Agencies. You will need to create your own account with the agency. You can only add one advertisement per page using these functions. To add more use the html version or the javascript supplied by the agency. Using the html version of the function you can show a second ad function. The limit is due to server load if the ad networks are slow returning ads remember the more ads on the page the slower it will load. Slow ad networks could also make your page time out in the browser. First off all, register an account on the chosen advertiser's site. Then include one of these codes, changing site_id (and zone, in case of mojiva, publisher_id and adspace_id in case of smaato) Along with your advertising company account id. You can find these parameters either somewhere on their site while logged in Or extract them from one of their provided integration codes PHP.
<xt:ad type="adiquity" site="site_id" />
<xt:ad type="adfonic" site="site_id />
<xt:ad type="adsense" site="site_id" slotname="slotname" />
<xt:ad type="buzzcity" site="site_id" />
<xt:ad type="inmobi" site="site_id" />
(or type="mkhoj")
<xt:ad type="mojiva" site="site_id" zone="zone" />
<xt:ad type="smaato" site="publisher_id" zone="adspace_id" />
<xt:ad type="admoda" site="site_id" />
<xt:ad type="adultmoda" site="site_id" />
<xt:ad type="webmoblink" site="site_id" />
<xt:ad type="decktrade" site="site_id" />
<xt:ad type="mobpartner" site="site_id" />
<xt:ad type="mobgold" site="site_id" />
<xt:ad type="mobiadz" site="site_id" />
<xt:ad type="vserv" site="site_id" />
You can include as many ad service codes as you want on your site, max one per network and free ads will be returned after the first non-free ad is returned from the service. So for example if you have these codes:
<xt:ad type="admob" site="site_id" />
<xt:ad type="buzzcity" site="site_id" />
<xt:ad type="admob" site="site_id" />
If admob doesn't return an ad, nothing will be displayed in the first code instance and buzzcity code will be executed. If admob does return an ad, buzzcity will not be executed. Second admob instance will not be executed either way, as it's a duplicate call. To insert a second ad on a page insert adid="2" into the second ad code. It is also very important to note that you might not see ads on your site at all. This is NOT XtGem's bug! Either your site has not been accepted by the ad network (you can usually check your site's status on ad network's site) Or they do not have any ad inventory with targeting matching your country/browser. Despite that, your site visitors might still be seeing ads. Check your ad network's stats to see if ads are being delivered.
Online : 1 Guest(s)
Today : 30 Guest(s)
Total : 10495 Hit(s)
Created by: ONYECHELSEA™
Copyright © 2014 -
All Rights Reserved
Imo, NIGERIAUA