amzn / amazon-advertising-api-php-sdk

⛔️ DEPRECATED - Amazon Advertising API PHP Client Library
Apache License 2.0
93 stars 67 forks source link

how to access scope cpc_advertising:camapign_management #19

Open JBLathiya opened 4 years ago

JBLathiya commented 4 years ago

i am not able to generate authorization code and refresh token because scope is unknown givw error like that how to solve tghis error

ritz07 commented 4 years ago

@JBLathiya are you following this URL? to generate authorization code. https://www.amazon.com/ap/oa?client_id=YOUR_LWA_CLIENT_ID&scope=cpc_advertising:campaign_management&response_type=code&redirect_uri=YOUR_RETURN_URL

ritz07 commented 4 years ago

@dbrent-amazon Hi could you please help me to generate authorization code by CURL followed by this url. https://www.amazon.com/ap/oa?client_id=YOUR_LWA_CLIENT_ID&scope=cpc_advertising:campaign_management&response_type=code&redirect_uri=YOUR_RETURN_URL or is there any other method to generate authorization code. I dont want to hit this url to generate code.

Thanks.