Forum Moderators: martinibuster

Message Too Old, No Replies

How to indentify URLs in adsense?

         

tntpower

11:47 pm on Dec 17, 2006 (gmt 0)

10+ Year Member



I want to know what URLs are in adsense, i.e.: if my website is about hosting, then probably in the adsense displayed in my website, there are four hosting companies. Now I want to know what are the destination URLs for those four hosting companies.

Can I do that? How? Thanks

MThiessen

12:12 am on Dec 18, 2006 (gmt 0)

10+ Year Member



To tell what URLS display in adsense, use the preview tool.

tntpower

12:22 am on Dec 18, 2006 (gmt 0)

10+ Year Member



I need to tell URLs displayed in adsense on-the-fly. It seems the preview is a desktop application.

TXGodzilla

12:54 am on Dec 18, 2006 (gmt 0)

10+ Year Member



It is a browser plug-in and works "on-the-fly".
Available for IE and Firefox.

hmm, I need to get one for Opera.

tntpower

1:00 am on Dec 18, 2006 (gmt 0)

10+ Year Member



Thanks. But I need a perl or php based solution, as after I know what URLs are in the adsense, I need to do some custom work.

noodlebox

1:10 am on Dec 18, 2006 (gmt 0)



some advetisers are crafty very crafty and use long urls you can't block on adsense, hehe so it's so frustrating :)

tntpower

1:19 am on Dec 18, 2006 (gmt 0)

10+ Year Member



If the destination URL is too long (for example, an affiliate link), I can use displayed URL instead, if I know how to tell it.

fredw

4:57 am on Dec 18, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



What are you wanting to do "on the fly"?

If I'm reading what you want to do correctly, there's no way to do it, to my knowledge, that doesn't break Adsense Cardinal Rule #1: Do not modify the Adsense code. Adsense is displayed on your page via a remote javascript. To do what I think you want to do, you'd have to "intercept" the javascript call, gather the results of what the javascript call sends back to your page from Google, act on those results to find the ad url(s), and then redisplay the javascript results on your page somehow.

Like I said, way big modification of the Adsense javascript serving code, and a big no-no, sure to get you booted from Adsense.

fredw

5:08 am on Dec 18, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Two more points:

1. What I just theorized above probably wouldn't even work, because your function would be sending the ad request, not your page, and therefore, Google wouldn't know how to target it.

2. Things you could possibly do with the info you gathered from your function to change your page in relation to the ads currently showing on the page would probably be construed by Google as drawing attention to the ads, which would break Adsense Cardinal Rule #2, also a big no-no.

tntpower

5:11 am on Dec 18, 2006 (gmt 0)

10+ Year Member



No. It does not violate adsense's TOS.

Google puts adsense in an iframe on your webpage. I just want to know what contents (here in my case, displayed URLs) are in that iframe when a page is visited. I just did a quick search and find there are several adsense tracking and analyzing products, so I guess I am supposed to be able to do what I want.

tntpower

5:16 am on Dec 18, 2006 (gmt 0)

10+ Year Member



To do what I think you want to do, you'd have to "intercept" the javascript call, gather the results of what the javascript call sends back to your page from Google, act on those results to find the ad url(s)

Yes

and then redisplay the javascript results on your page somehow.

No. I do not want to redisplay google's JS. All I want is to find URLs to be displayed in my page and then do some custom work based on those URLs.

A follow-up: Just find this thread ( [webmasterworld.com...] ), very useful :)

zoggle

7:22 am on Dec 18, 2006 (gmt 0)

10+ Year Member



I have also wanted to do this (get Adsense destination URLs), primarily to block MFAs, or at least track which MFAs are displaying so I could filter them out. But as this document states:

[msdn.microsoft.com...]

you cannot get the iFrame data that resides on another server (Google's) for security reasons. You can however get the URL that displays in the Status bar (IE) with some tracking programs, but most MFAs manipulate these.

In my observation, the MFAs are the ones dragging the income down (not smartpricing) since Advertisers pay only 1 cent above the next competition, and the competing Adverts are MFAs paying .01 to .03, the Advert bidding $10 on a keyword actually pays only .04 :-<