Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
@lylone

This comment has been minimized.

Copy link

lylone commented May 9, 2018

How do I get the ACCESS TOKEN

@bokya

This comment has been minimized.

Copy link

bokya commented Jun 18, 2018

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
You can’t perform that action at this time.