Has anyone got an example of how to add "google adsense for ajax" to a web page? - adsense

I would like to use google adsense for ajax to a web page but I can not find any example code. I already have a google adsense publisher ID.

That feature has been discontinued
Note: We're no longer accepting new applications for AdSense for AJAX but we appreciate your interest in the product and will continue to work on new ways to monetize dynamic content.

Related

setup Google adsense on my public live website

I am setting up google adsense on my live website. The problem is, the page where i want to paste the google adsense code is https://sitename/folder/index.php. When setting up adsense, i had to provide the site name as https://sitename as the form doesn't accept breadcrumb links and the "/". Now adsense says it can't find my https://sitename. I did posted this on the adsense community help forum but so far there has been no response. Wondering what should i do now? Thinking if this should help.
Create a dummy landing index.html page at my root i.e. https://sitename
Paste the adsense code in my actual file.
Is that acceptable and viable?
Regards,
Ochen

Adsense for web apps

Google has Adsense and Admob
Adsense is thought for websites that have a lot of text and content (eg. blogs)
Admob is for mobile apps
But what about web apps?
I have made several free-to-use web apps that are used daily because they help people do things (eg. convert something from one format to another) but they have no paragraphs and little text. Sometimes they are just a form input asking for a file and then the web app returns an output file.
How can I put adsense in these web apps?
I tried to apply for the Adsense program with my homepage but it got rejected. My homepage has a link to each of these web apps and a little description (eg. "A web app for converting XML to PDF", etc)
The rejection email says:
We did not approve your application for the reasons listed below.
Issues:
Insufficient content:
To be approved for AdSense and show
relevant ads on your site, your pages need to have enough text on them
for our specialists to review and for our crawler to be able to
determine what your pages are about.
So... as I see it: To be able to use adsense I will need to create a .com or .net (ie: a first level domain, as needed by Adsense) and fill it with "enough text" and "content".
But what content though? Should I invent content? should I write about my cat?
Writing is not my business. I do web apps.
Google thought on writers and provided Adsense for them.
Google also thought on mobile developers and provided Admob for them.
How should I proceed?
As you commented adsense requires you to publish "enough" content, this is quite subjective because it doesn't say how much is enough for them. I would recommend you to try carbon, I have used it to monetize my webapps and I have not had any problems.

Google Analytics incised of Facebook

i wanna put the google analytics inside of Facebook.
I use the static HTML and the FBML , and i put the code of Google Analytics in the page (the javascript). However i can't get any results in google analytics.
Can someone tell how can i resolve that issue ?
That is probably impossible. Facebook should provide their own analytics.
Reason, you can't have it is because facebook probably eliminates Javascript form the content you post for security reasons.
Start here:
https://www.facebook.com/help/336893449723054/

Looking for a way to display Google Adsense in IPhone application

My client has saved lot of Google Adsense javascripts in his db and displaying in his website.
Now he wants to display those javascripts ads in his IPhone application.
Is there a way to do it?
Since Google Adsense is mainly for websites I think the better way might be to implement a mobile version of your website. I am not sure how it is going to look as most of the adsense JavaScript is configured to be displayed on a website and not on mobile website.

Is there a Google Adsense widget that can display ads based on site search?

Can I display google adsense ads on my site based on a user's search term on my website? I'm not using google search on my site, so I'd need to be able to pass the search term to google through the adsense widget's initialization code, etc.
Maybe I'm a bit late about this, but I'm actually working in something that you described in your question, and I found this link that could help you in your development:
https://developers.google.com/custom-search-ads/docs/implementation-guide
Using Javascript you can specify some keywords and Adsense search advertisements that fit with them.