Edujugon / laravel-google-ads

Google Adwords API for Laravel
MIT License
68 stars 23 forks source link

Client error: `POST https://www.googleapis.com/oauth2/v4/token` resulted in a `400 Bad Request` response: { "error": "invalid_grant", "error_description": "Bad Request" } #5

Closed hichamuim closed 7 years ago

hichamuim commented 7 years ago

Hello,

$ads = new GoogleAds(); $ads->service(CampaignService::class);

I Get This Error

Client error: POST https://www.googleapis.com/oauth2/v4/token resulted in a 400 Bad Request response: { "error": "invalid_grant", "error_description": "Bad Request" }

Edujugon commented 7 years ago

Hi @hichamuim Did you generate the refresh token?

hichamuim commented 7 years ago

Hello, yes i generated using the command :) thank you so much

2017-09-17 18:06 GMT+01:00 Eduardo Marcos notifications@github.com:

Hi @hichamuim https://github.com/hichamuim Did you generate the refresh token?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Edujugon/laravel-google-ads/issues/5#issuecomment-330062802, or mute the thread https://github.com/notifications/unsubscribe-auth/AecaJYNLWBjBSXsIi2FsZn9w-Zlfr1cyks5sjVF3gaJpZM4PX_r1 .

Edujugon commented 7 years ago

Hi @hichamuim Glad to know that worked for you.

I'm now closing this issue.