Re: CustomerService. OAUTH_TOKEN_INVALID. Please help.

2015-04-23 Thread Josh Radcliff (AdWords API Team)
Hi, That means that you have not signed terms and conditions on the MCC account that has your developer token. Please see this section of our Common Errors guide for instructions on

Re: CustomerService. OAUTH_TOKEN_INVALID. Please help.

2015-04-23 Thread fmvstyle
Your response helped. Now API returns an error of "Terms and conditions aren't signed". What does it mean? четверг, 23 апреля 2015 г., 22:21:24 UTC+5 пользователь Josh Radcliff (AdWords API Team) написал: > > Hi, > > Could you generate a new *access token* from your *refresh token*, and > appen

Re: CustomerService. OAUTH_TOKEN_INVALID. Please help.

2015-04-23 Thread Josh Radcliff (AdWords API Team)
Hi, Could you generate a new *access token* from your *refresh token*, and append the *access token* to the end of the following URL? https://www.googleapis.com/oauth2/v1/tokeninfo?access_token= This will take you to a page that displays the state of the access token and its scope. Could you c

Re: CustomerService. OAUTH_TOKEN_INVALID. Please help.

2015-04-23 Thread fmvstyle
$user = *new *AdWordsUser(); $OAuth2Handler = $user->GetOAuth2Handler(); $user->SetOAuth2Info( $OAuth2Handler->GetAccessToken( $user->GetOAuth2Info(), $code, $redirectUri)); $oauth2Info = $user->GetOAuth2Info(); Debugger::*dump*($oauth2Info); $customerService = $user->GetServ

Re: CustomerService. OAUTH_TOKEN_INVALID. Please help.

2015-04-23 Thread Josh Radcliff (AdWords API Team)
Hi, It sounds like you may not have configured your *auth.ini* file correctly. Please go through the steps listed in the Getting Started section of the README , and check out the library's detailed page on OAuth