Hi!

I think that i have similar problem. I have two accounts: productional and 
test account. In test account I created new project and i got client_id and 
secret_id. From
productional account i got developerToken (this token waiting for 
approval). I filled auth.ini path:

developerToken = "xxx" (from productional account)
userAgent = "xxx"

[OAUTH2]

client_id = "xxx.apps.googleusercontent.com" (from test account)
client_secret = "xxx"                                      (from test 
account)

If I try run GetRefreshToken.php file i got:

Log in to your AdWords account and open the following URL: 
https://accounts.google.com/o/oauth2/auth?response_type=code&client_id=170284481302.apps.googleusercontent.com&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&scope=https%3A%2F%2Fadwords.google.com%2Fapi%2Fadwords%2F&access_type=offline
 
After approving the token enter the authorization code here: 
*Warning*: curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when 
an open_basedir is set in 
*/www/prhosting_www/www/api-adwords.prhosting.iq.pl/src/Google/Api/Ads/Common/Util/CurlUtils.php*on
 line 
*107*
Your OAuth2 Credentials are incorrect. Please see the GetRefreshToken.php 
example. { "error" : "invalid_request" } 

What am I doing wrong? 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to