laravel-ads-sdk
laravel-ads-sdk copied to clipboard
Out-of-band (OOB) flow for Google has been removed
When using php artisan laravelads:token:generate --service=GoogleAds
, the OOB flow will be used by setting the redirect URL to "urn:ietf:wg:oauth:2.0:oob".
This has been deprecated and removed by Google (https://developers.google.com/identity/protocols/oauth2/resources/oob-migration#overview), especially for new apps. Due to this, it's impossible to generate new refresh tokens on apps created after February 28th.
Google's docs recommend switching to custom API endpoint to handle this