The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hoping someone here might have an answer, had also posted at vB.com but perhaps it's not an officially supported function.
Some of my ad placements have a very small percentage of rejected ad requests (less than 1%). The Google Adsense help page indicates most of these are due to placing the Adsense code within an iframe or third party ad manager. In my case, they are all directly placed on the page, so it is unusual, even if it is only a small number of rejected impressions. https://support.google.com/adsense/b...answer=2594855 The fix is to include a line of code in the Adsense tag script that tells the crawler where to find the content used to place the right ads. It is like this: Code:
google_page_url = "http://myurl.com/fullpath"; Is there a way to insert a dynamic vbulletin url link into my adsense code within an ad location template, such that it sends the full path url of the current vbulletin thread page (or home page or forum listing or social group or wherever) back to Adsense? Thanks for any help! |
#2
|
||||
|
||||
![]()
that link.. takes us here..
We're sorry, but the information you've requested cannot be found. Please try searching or browsing the AdSense Help Center for answers to your AdSense questions. With that said.. you shouldn't need to edit anything in your adsense tag, just grab the code from google and paste it in your ad_location templates. |
#3
|
|||
|
|||
![]()
Fixed broken link, sorry.
To clarify, yes, I can put in a fixed link, such as my home page, into the adsense code. So far this seems to be working as far as the rejected requests are concerned. The problem is that theoretically, a fixed link will tell the crawler to adjust the ads to the content on the fixed link, rather than the content of the page where the ad is being served. Therefore, ideally, one would not supply a fixed link into the adsense code, like the one in the code link in my first post. Instead, you'd prefer to pass them some clever code, perhaps with a vbulletin variable or php script or some other method of sending them the dynamic url of the page where the ad is being requested. This would potentially increase your earnings by placing more suitable ads if the content on a thread varied somewhat from your home page or other page where the fixed link was. Anyone know a way to do this? |
#4
|
||||
|
||||
![]()
Thanks for fixing the link.
This part here. Quote:
Where exactly are you trying to place them, are you using a 3rd party adserver like openX possibly? |
#5
|
|||
|
|||
![]()
As I said, the Adsense code is all directly placed. No iframe. No ad manager. Nada. Adsense code snippet right into the template. This is why it isn't obvious why I get these errors at all, even though the rejection rate is very low.
My error page lists the following as the "incorrect sites": ad.doubleclick.net, googleads.g.doubleclick.net, ib.adnxs.com . The same is true of some placements I have on a Wordpress site, hosted on a different service provider. So, yeah, it's a mystery. Unless perhaps someone else is serving my code through these managers or some weird thing like that. |
#6
|
|||
|
|||
![]()
Aside from the reasons that are causing this issue, does anyone have any idea if there is a vBulletin variable or PHP trick or something that will allow me to pass the URL that is currently being viewed by a visitor back to Google Adsense, such that their ads are being targeted to the right page's content?
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|