| | |
Extract Ad Links From Adsense Ad Block
| 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.
•
•
Join Date: May 2006
Posts: 1,901
Reputation:
Solved Threads: 123
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 active and inactive an account using check box???
Views: 851 | Replies: 1
| Thread Tools | Search this Thread |
Tag cloud for PHP
access ajax apache api array auto box broken buttons cakephp check checkbox class cms code combobox cookies curl database date delete development directory display download dropdown dynamic echo email error file files folder form forms function functions header href htaccess html image include insert integration ip java javascript joomla limit link list login loop mail menu mlm mod_rewrite multiple mysql order parse paypal php problem query radio random regex remote rewrite script search select server session shopping sort sorting speed sql storage string syntax system table unicode update updates upload url user validation variable video web website wordpress xml zend






