I want to show adsense ads on my search results page.
With Google Custom Search this is easy.
However, I have my own search engine for my site, and I want to show adsense ads on the results page. It doesn't look like this is directly possible.
My thought is to show my own search results, and at the same time call Google's search with the same query in an iframe so I can get the ads and put them in my page. Either in their own iframe, or with JavaScript.
Has anyone done something like this? Do you see any problem with it?
What you want is the Google AdSense API. The only caveat is that you're required to have a minimum of 100,000 daily pageviews. My company uses this API and it's quite easy to do what you're talking about.
If your site has less than the minimum number of pageviews, well, it seems that you're stuck with the options available from standard AdSense.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With