Hello there, I am currently trying to integrate google adword API using PHP for one of my client. I have set up everything and have following details:
I have created a project in my google developer console and selected application type as other. Had already set up client id and client secrets and have got the request token using getAccessToken.php Here is the url for your reference: http://adwords.notewaredigital.com/vendor/googleads/googleads-php-lib/examples/AdWords/Auth/GetRefreshToken.php I copied and pasted that url created by the above url with my client id and got the refresh token. The generated refresh token is added to auth.ini file. After that, in the test mode, I have set up a developer token on my test account here: https://adwords.google.com/aw/apicenter?ocid=265571168&__c=8092161632&authuser=0&__u=6600827946 So in my auth,ini, I have client id, client secret, refresh token and developer token. But, when I try to run http://adwords.notewaredigital.com/vendor/googleads/googleads-php-lib/examples/AdWords/v201705/BasicOperations/GetCampaigns.php It still gives me error of type An error has occurred: { "error": "unsupported_grant_type", "error_description": "Invalid grant_type: " } Can you please check and suggest what is missing here. Thank you in advance. Regards, Deepak -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] 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 "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/cdf898e4-f589-4068-abd9-aeb5602c6896%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
