Re: Getting error : invalid_grant while trying to switch to oauth2

2013-12-24 Thread Takeshi Hagikura (AdWords API Team)
Hi Jurgen,

My first guess is the account against which you made an API call is not 
linked to the account you used as the OAuth2 authentication.  
If you use your MCC as the OAuth2 authentication, please make sure the 
account against which you made an API call is linked to the MCC account. 

Best,
- Takeshi, AdWords API Team

On Friday, December 20, 2013 9:46:09 PM UTC+9, Jürgen Wiest wrote:


 Hello Team,

 I was trying to upgrade to oAuth2 authentication from Client Login method, 
 when I run the sample code I got below errors

 An error has occurred: { error : invalid_grant } 

 I created an application and created the client_id and  Client secret, 
 also i made a request to create the refresh token and i got it. 
 after i put all these information in my auth.ini  in my php client 
 library i execute the  file GetCampaigns.php from examples. But im 
 getting the above error, 
 I have no idea why this occurring.  The application was working fine in 
 Client Login method.  Please help


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.


Getting error : invalid_grant while trying to switch to oauth2

2013-12-23 Thread Jürgen Wiest

Hello Team,

I was trying to upgrade to oAuth2 authentication from Client Login method, 
when I run the sample code I got below errors

An error has occurred: { error : invalid_grant } 

I created an application and created the client_id and  Client secret, also 
i made a request to create the refresh token and i got it. 
after i put all these information in my auth.ini  in my php client 
library i execute the  file GetCampaigns.php from examples. But im 
getting the above error, 
I have no idea why this occurring.  The application was working fine in 
Client Login method.  Please help

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.