This is part of standard risk detection.  The IP address your server uses 
to access ClientLogin is different from the IPs that the account normally 
logs in as (which is what it looks like when someone has compromised the 
account).  As a result you'll get the 403.  You can use the CAPTCHA unlock 
to "whitelist" your server, or you can move to 
OAuth2<https://developers.google.com/adwords/api/docs/authentication#oauth>which
 won't have these issues.

- Kevin Winter
AdWords API Team

On Wednesday, April 3, 2013 1:32:59 PM UTC-4, Jonathan Wu wrote:
>
> This is on a headless linux server. We've never had this issue with any 
> other account we have API access to on this machine and further, it doesn't 
> make sense that we would have to do this per machine per account. This 
> machine is using the API to do things like grab Campaign data using the 
> CampaignService.
>
>
> Regards,
> Jonathan Wu
>
>
> On Wed, Apr 3, 2013 at 3:24 AM, Anash P. Oommen (AdWords API Team) <
> adwordsapia...@google.com <javascript:>> wrote:
>
>> Hi Jonathan,
>>
>> It could be that Google ClientLogin servers are seeing programmatic login 
>> from this machine for the first time and blocking your request. Open a 
>> browser on this machine, and login to your account and see if it solves the 
>> issue. If your machine is indeed blocked by ClientLogin, then you will be 
>> prompted to verify once you login to your account.
>>
>> Cheers,
>> Anash P. Oommen,
>> AdWords API Advisor.
>>
>> On Thursday, March 28, 2013 12:07:45 AM UTC+5:30, Jonathan Wu wrote:
>>>
>>> Hello,
>>>
>>> We have an account (327-036-4904) where we get a 403 response when 
>>> generating a client login token on one machine, but not on another. Is 
>>> there any reason for this happening?
>>>
>>>
>>> here is the root cause in the Java stacktrace:
>>>
>>>  Caused by: 
>>> com.google.api.client.**googleapis.auth.clientlogin.**ClientLoginResponseException:
>>>  
>>> 403 Forbidden
>>> com.google.api.client.**googleapis.auth.clientlogin.**
>>> ClientLogin$ErrorInfo@71b9dd
>>>         at com.google.api.client.**googleapis.auth.clientlogin.**
>>> ClientLogin.authenticate(**ClientLogin.java:190)
>>>         at com.google.api.ads.common.lib.**
>>> auth.ClientLogin.requestToken(**ClientLogin.java:119)
>>>         at com.google.api.ads.common.lib.**auth.ClientLoginTokens.**
>>> requestToken(**ClientLoginTokens.java:390)
>>>         at com.datapop.api.adwords.**AdwordsClient.**
>>> generateClientLoginToken(**AdwordsClient.java:80)
>>>
>>>  -- 
>> -- 
>> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>> Also find us on our blog and discussion group:
>> http://adwordsapi.blogspot.com
>> http://groups.google.com/group/adwords-api
>> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>>  
>> You received this message because you are subscribed to the Google
>> Groups "AdWords API Forum" group.
>> To post to this group, send email to adwor...@googlegroups.com<javascript:>
>> To unsubscribe from this group, send email to
>> adwords-api...@googlegroups.com <javascript:>
>> For more options, visit this group at
>> http://groups.google.com/group/adwords-api?hl=en
>>  
>> --- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "AdWords API Forum" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/adwords-api/P2_Hs2a1PPU/unsubscribe?hl=en
>> .
>> To unsubscribe from this group and all its topics, send an email to 
>> adwords-api...@googlegroups.com <javascript:>.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>  
>>  
>>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to