Re: error invalid_grant OAUTH2

2013-07-25 Thread Roy Roes
Solved it myself. When I run GetRefreshToken.php I get an url to validate my account for the app. There I get a token. I insert the token directly in the code ($code) of GetRefreshToken.php and than I get the refresh token for OAuth2. When I put the refreshtoken in the auth.ini...all works

error invalid_grant OAUTH2

2013-07-24 Thread Roy Roes
Hi, I'm migrating from v201209 to v201306 in PHP I've set the developerToken, userAgent, clientCustomerId (Advertiser account), client_id and client_secret in the auth.ini because I would like to use the OAuth2. But I get the following error when I try to run the GetCampaigns.php example: An