It's not clear what you mean by "place them in a wget command". You can use wget to retrieve the html, then you could use awk or perl to parse the output and reorder the page.
Yes, I can use wget to retrieve the html page as long as I know what kind of html page I have to call! That's exactly my problem. To construct from the google quoted script parameters, the right html I can call.
How these parameters get translated in a URL. That's my problem.
Location: Asia Pacific, Cyberspace, in the Dark Dystopia
Posts: 19,118
Thanks Given: 2,351
Thanked 3,359 Times in 1,878 Posts
You can't get Google Adsense on a site which is not configured as the "owner" of the tags which serve the ads. Each AD tag is specific to an account that has verified web sites; so you can't just grab that HTML and get the display ads to show up, even if you get the script.
here is a random example I picked fro the web. Having the code below:
Isn't possible to determine which ad the page will call? This 'show_ads.js' translates this parameters to a URL - or not?
I don't really understand the following:
------------
Each AD tag is specific to an account that has verified web sites
------------
you mean that Google checks the IP where the referrer comes from in order to construct the URL ad page?
If I could get just the domain of the ad, it would be more than enough. I don't really need the exact URL of the ad. It would be nice to have it but the domain will also do the trick.
Thank you
Last edited by rbatte1; 07-27-2015 at 11:01 AM..
Reason: Added CODE tags
If one enters a Google search query like
site:unix.com mysql php
and clicks on the resulting link, one gets the message below:
vBulletin Message
No Thread specified. If you followed a valid link, please notify the administrator (2 Replies)
I installed a wordpress theme and came across the following code contained in the functions.php (theme functions) file. I am wanting to make sure this code is not over-riding my adsense publisher id and replacing with theirs in the background. I had this happen on another theme and just wanting... (1 Reply)
Helpful Tip!
Sometimes when we are in another country, Google redirects our request for www.google.com to: www.google.co.in or to: www.google.co.th
If you want to force Google to go to the US site, use:
www.google.com/webhp (1 Reply)