title: Google Adwords API "An error has occurred: { "error" : "invalid_grant" }"
body: <p>I've been crawling the internet all morning trying to figure this out. I'm trying to get access to a Adwords test account through the API but I keep receiving "An error has occurred: { "error" : "invalid_grant" }". I've seen this is quite a common problem so perhaps if I outline what I've done step by step someone can correct me. Hopefully!</p>
  
  <ol>
  <li><p>Created a Google adwords account and set up a campaign.</p></li>
  <li><p>Created a MCC account. Added Google adwords account and applied for API access (pending). Noted API key, client id for auth.ini.</p></li>
  <li><p>Created a test MCC account and added Google adwords account. Noted client id for auth.ini.</p></li>
  <li><p>Using the Google account of both MCC accounts went into the API console and created a new installed application app. Noted all keys/tokens.</p></li>
  <li><p>Downloaded the PHP code examples and libs. Ran get GetRefreshToken.php, granted accesses to app(s) and noted refresh token for auth.ini</p></li>
  <li><p>Set up auth.ini populating developerToken, userAgent, clientCustomerId, client_id, client_secret and refresh_token.</p></li>
  <li><p>Now I've tried using BOTH sets of tokens and ids from the test MCC account API console and the live MCC account API console. Both give me the same error. I've tried regenerating all tokens several times.</p></li>
  <li><p>Gave up and came crawling to StackOverFlow.</p></li>
  </ol>
  
  <p>Is the invalid_grant message related to Auth or my developerToken token not being activated yet (sure it said I could use my test account though) or because I haven't set up any of the billing?</p>