Okay — This might not be the solution to your problem, but it was the solution to mine:
When I copied my secret key, I double-clicked to select the whole thing. Google’s page is somehow set up so that if you double-click on the key, you also get the next darn line of text (in my case “Step 1. Client side integration”)… So I was entering aaall that as my key, which of course made it fail.
Once I entered my key correctly, everything worked fine. Hope this helps everyone else.
THIS WAS MY PROBLEM TOO ?? . Thanks Gymreading