Im having a site namely www.csetube.in Im disapproved by adsense for no reason. So Im changing the ad code often in my web pages. I need a common code for my webpages for the ad area - leaderboard (Code1) and skyscraper (Code2). I will place code 1 and code2 in their respective places. If I assign a code A to Code1, All pages with that code should run the html code I specified in Code A. Similarly to code B to code2. If needed, I can change Code A and Code B instead of changing the ad codes in all pages.. For the past 2 years Im changing ad codes in my website to get money... but none succeeded till now.. So Im trying to minimize the work atleast... Hope I will get a good answer from this forums.
Whats the problem ? What platform are you using ? Seems like a pretty simple solution. Set a new theme option in wordpress, add it to admin options and set the adsense data in there When you update there it will update on all sites... just have your template code reflect the option not the adsense data <?php if (get_option('adsense1')) { echo get_option('adsense1') } ?>
I need it in HTML... I have create my site in weebly.com where PHP is not allowed. Thats Why its a problem for me..
you cant do it with pure html, you need a language that can make decisions, either jquery front end or php or something along those lines for the backend
Google Ad-sense also checks which domain you are hosting your ads from some iFrames from a different domain wont work