Last active
June 18, 2018 08:19
-
-
Save dbrent-amazon/2099984fdf930d5bc7cca2fddca0bef5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Amazon Advertising API | |
Example API call to self-register for sandbox access. Country code can be one of the following: | |
US, CA, UK, DE, FR, ES, IT, IN, CN, JP | |
curl -X PUT \ | |
-H "Authorization: Bearer ACCESS_TOKEN" \ | |
-H "Content-Type: application/json" \ | |
-d '{"countryCode":"IN"}' \ | |
https://advertising-api-test.amazon.com/v1/profiles/register |
I implemented LWA & getting access token with refresh token, also I get name, email, & user id with curl to https://api.amazon.com/user/profile.
Do I have to use this sdk to get the campaign data?
also using tokens retrieved using LWA into this sdk giving authentication failed!
Any help?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How do I get the ACCESS TOKEN