Hi all, I'm still trying to use the API for the first time. I have created the identification keys in the console. I didn't succeed making work example/Authentification php scripts, but I could get a refresh token with my own script, with "https://www.googleapis.com/auth/adwords" as scope and "offline" as type.
I inserted all the keys / tokens in google_ads_php.ini and tryed a first account access. I tryed with the sample GetCampaigns.php and with my own script, but when searchStream is executed, I have the error : *Fatal error*: Uncaught GuzzleHttp\Exception\ClientException: Client error: `POST https://oauth2.googleapis.com/token` resulted in a `400 Bad Request` response: { "error": "invalid_grant", "error_description": "Bad Request" } The account witch I use the customer ID in searchStream is a child account of the admin account witch I use the developper token. I tryed to delete the keys in the console and to create new, but the problem is the same. How should I do? Thanks! Laurent -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "Google Ads API and AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/517b6de2-a5c7-4dfc-8af9-cbbc35a38e4fn%40googlegroups.com.