I'm a noob to Adwords API and please let me know if I 'm not describing my issue clearly. I searched on the internet, people do have similar issue as I do yet none of them gave a solution that worked for me. I pretty much have the same problem as the OP of this thread does. The only difference is I was working on the test account (the developer token of the live MCC account is pending). In the auth.ini, I've had the following information set,
developerToken = "PENDING_DEVELOPER_TOKEN_OF_THE_LIVE_ACCOUNT"
userAgent = "COMPANY_NAME"
clientCustomerId = "CUSTOMER_ID_OF_TEST_ACCOUNT"
client_id = "CLIENT_ID_OF_TEST_ACCOUNT"
client_secret = "CLIENT_SECRET_OF_TEST_ACCOUNT"
All other info are left as default.
I followed this tutorial to get the client id and the client secret. And that pair of id and secret is associated with the test account as I was logged in the test account email when I registered the app in Google Cloud Console. I also tested with the live MCC account and generated another pair of id and secret, yet neither of them worked. When I run the GetRefreshToken.php in the browser, I got the error message as below:
Your OAuth2 Credentials are incorrect. Please see the GetRefreshToken.php example. { "error" : "invalid_request" }
I've been banging my head against the desk for the entire day, still cannot figure out what I've done wrong with the configuration. Any insight is appreciated. Many thanks!