AdSense API Samples
Home
Google API Samples
Download Source Code
API Reference
AdSense API Forum
AdSense API Blog
Account Services
Create Account
Check Approval Status
Check Association Status
Add Syndication
Associate Existing Account
All Syndication Services
Get Syndication Service
Get User's Locale
Get Website URL
Set Email Preference
Set user Locale
Content Services
Get Channels
Get Active Channels
Report Services
AdSense Agregate Report
Google AdSense API: setUsersPreferredLocale
Sets the prefered locale for the publisher account.
You must first
create an account
to get a valid client id to use here.
Client Id
Ex: ca-pub-0653028917045472
Choose Locale
en_GB
en_US
es
ru
zh_CN
fr
View Source Code