| | |
Extract Ad Links From Adsense Ad Block
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
| View Poll Results: Do you think, parsing Adsense Links is a kind of violating Adsense Terms Of Service | |||
| Yes | | 3 | 100.00% |
| No | | 0 | 0% |
| Don't Know | | 0 | 0% |
| Voters: 3. You may not vote on this poll | |||
![]() |
•
•
Join Date: Jun 2008
Posts: 13
Reputation:
Solved Threads: 0
I need a script that performs this task:
I want a script in PHP/MySQL or AJAX, that reads the Ad Block of Google Adsense and finds out link, so that they can be used in another portion of the page. Read Details if not clear.
I have a site, for which Google adsense is configured.
I have a page on my site, showlinks.php
Adsense code is prewritten on the page. Hence, the page contains google adsense ad blocks during runtime.
The code is written inside a hidden layer (or may be a visible one). I think it's clear to one, who knows HTML and Javascript.
An AJAX or PHP script, written in the existing page, reads the content of the Adsense Block during runtime.
The script fetches the links from the HTML content of the block.
The script creates custom links on a visible layer of the existing page. Custom links look like this : http://mysite.com/traceClick.php?use...d_Adsense_Link
What happens when a registered user clicks this link:- The username of the user is traced in traceClick.php file, as well as, the users browser is redirected to the adsense link that comes as a GET variable Fetched_Adsense_Link
What you'll do: Just write the code for showlinks.php, traceClick.php will be written by us.
Another suggestion:
You can use HTML Frames also, inspite of hidden layers. But, I need to trace - who clicked those adsense links on my site (which user).
The logic is upto you, if you invent something different from the above one.
IF THERE IS SOMEONE WHO CAN DO THIS, I WILL PAY HIM.
This question is asked in my personal blog also (link Sribasu.info) . I'LL BE GRATEFUL TO THE EXPERT WHO CAN HELP ME GIVING THE CODE.
I want a script in PHP/MySQL or AJAX, that reads the Ad Block of Google Adsense and finds out link, so that they can be used in another portion of the page. Read Details if not clear.
I have a site, for which Google adsense is configured.
I have a page on my site, showlinks.php
Adsense code is prewritten on the page. Hence, the page contains google adsense ad blocks during runtime.
The code is written inside a hidden layer (or may be a visible one). I think it's clear to one, who knows HTML and Javascript.
An AJAX or PHP script, written in the existing page, reads the content of the Adsense Block during runtime.
The script fetches the links from the HTML content of the block.
The script creates custom links on a visible layer of the existing page. Custom links look like this : http://mysite.com/traceClick.php?use...d_Adsense_Link
What happens when a registered user clicks this link:- The username of the user is traced in traceClick.php file, as well as, the users browser is redirected to the adsense link that comes as a GET variable Fetched_Adsense_Link
What you'll do: Just write the code for showlinks.php, traceClick.php will be written by us.
Another suggestion:
You can use HTML Frames also, inspite of hidden layers. But, I need to trace - who clicked those adsense links on my site (which user).
The logic is upto you, if you invent something different from the above one.
IF THERE IS SOMEONE WHO CAN DO THIS, I WILL PAY HIM.
This question is asked in my personal blog also (link Sribasu.info) . I'LL BE GRATEFUL TO THE EXPERT WHO CAN HELP ME GIVING THE CODE.
It is definitely a violation to google adsense's terms and condition.
![]() |
Other Threads in the PHP Forum
- Previous Thread: Limiting Access to webpage only by link
- Next Thread: How to call a PHP function from Javascript and return the results back into Javascrip
| Thread Tools | Search this Thread |
# address apache api array auto autoincrement beginner binary broken cache cakephp checkbox class cms code cron curl customizableitems database date dehasher display dynamic echo email error errorlog file files folder form format forms forum function functions gc_maxlifetime google headmethod href htaccess html image include incode insert ip javascript joomla legislation limit link login mail malfunctioning masterthesis menu method mlm multiple mysql oop parsing paypal pdf persist php phpmysql popup query question radio random recursion remote script search select server sessions sms source space sql support! survey syntax system table trouble tutorial update upload url validator variable video web youtube






