View Full Version : Specify Ad Loading Order
Budget101
06-12-2012, 01:02 PM
Is there a way to specify the loading order of ads in vbulletin? To be more specific, Are there template or div tag changes that can be made to force ads in the middle of the page to load before ads located at the Top of the page?
Thank you in advance for any assistance you can provide!
Jonathan81
07-06-2012, 12:33 AM
I'd like to know the answer to this too!
--------------- Added 1341587715 at 1341587715 ---------------
This is direct from Google...but can anyone explain how this can be done on VB?
Make sure that the best performing ad unit (highest CTR) is the first in your HTML code to improve your revenue.
First, you will need to place a DIV tag right below the BODY tag in order to let the browsers know which ad unit goes first in the source code HTML. Note that it doesn't mean that this ad unit will show up first on the page. Here is the code:
<div id=”ad1″>
Insert your ad code here
</div>
Next, insert the CSS code below into the style sheet of your website. Since all sites are different, we recommend that you test attributes (left, right, top, bottom) in order to place your ad unit correctly. Make sure to adjust height/width depending on the ad format.
#ad1 {
width’ : ‘468px;
height: 60px;
position: absolute;
left: 140px;
right: 0px;
bottom: 0px;
top: 350px;
}
If you don't use style sheets, you will need to insert the above code into DIV tags between the HEAD tags in the HTML source code.
<style type=”text/css”>
Insert above css code here
</style>
Jonathan81
07-08-2012, 10:08 AM
Anyone?
To make that work, you'd have to determine the absolute positions of your ad locations, then put them in the CSS as shown in the example. I don't know how you do that in general, but you could probably estimate the positions then fine tune them just by looking at the result. Also, you'd have to put your ad code in divs somewhere else in the document (some template other than the ad locations).
I'm not an expert on these things, but I'm not sure what it would accomplish. My understanding is that a browser loads the html, then makes requests for anything else that has to be loaded (javascript, images, etc), but makes a bunch of those requests in parallel. So even if you were to use the above method to control the order in which the ads were requested, I don't think you'd be controlling the order in which they displayed, because the one that loaded the fastest would still show up first.
Jonathan81
07-12-2012, 09:30 PM
I'm not an expert on these things, but I'm not sure what it would accomplish. My understanding is that a browser loads the html, then makes requests for anything else that has to be loaded (javascript, images, etc), but makes a bunch of those requests in parallel. So even if you were to use the above method to control the order in which the ads were requested, I don't think you'd be controlling the order in which they displayed, because the one that loaded the fastest would still show up first.
Thanks for that. According to Google it will make a difference but can anyone else shed more light on the matter? Don't want to go to the trouble of trying to sort this if it's not going to be worth it?
Thanks for that. According to Google it will make a difference but can anyone else shed more light on the matter? Don't want to go to the trouble of trying to sort this if it's not going to be worth it?
Well, now that I read it again it does say this somehow improves your revenue and not that it makes them load any faster or anything. That could be true - I don't know anything about how ad revenue is determined.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.