function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
VisualForceVisualForce 

Ads by Google Add in our Site

Hi..
 
    How to add "adds by Google " in our site...
 
Is it possible in our site...?
 
Best Answer chosen by Admin (Salesforce Developers) 
BulentBulent
First, you need to upload our custom robots.txt file for your site, so that Google can crawl your site (the default robots.txt prevents search engines to index your site). You can find more information on how to upload your custom robots.txt here: http://community.salesforce.com/sforce/board/message?board.id=sites&thread.id=37

Then, you can just follow the steps provided by Google AdSense: https://www.google.com/adsense/login/en_US/

Message Edited by Bulent on 12-11-2008 09:02 AM

All Answers

Ron HessRon Hess
i've never done this, but in general, you can place the required HTML directly in a visualforce page.
BulentBulent
First, you need to upload our custom robots.txt file for your site, so that Google can crawl your site (the default robots.txt prevents search engines to index your site). You can find more information on how to upload your custom robots.txt here: http://community.salesforce.com/sforce/board/message?board.id=sites&thread.id=37

Then, you can just follow the steps provided by Google AdSense: https://www.google.com/adsense/login/en_US/

Message Edited by Bulent on 12-11-2008 09:02 AM
This was selected as the best answer
michaelforcemichaelforce

This thread is over 2 years old, but I'm posting to hopefully recruit your help with this thread:

 

http://boards.developerforce.com/t5/Force-com-Sites/Google-AdSense/m-p/233311/highlight/false#M4190

 

Ads only show on force.com domain... not with custom URL... help is much appreciated!