This repository was archived by the owner on Jul 13, 2025. It is now read-only.

Description
I came through a problem where I can see clear disparency in data.
When I send the request from postman the data is different and when I send it from amazon-advertising-api-sdk the data is different.
The reason is amazon ads API send campaignId as a number https://advertising.amazon.com/API/docs/en-us/sponsored-products/2-0/openapi#/Campaigns/listCampaigns and javascript cannot support long numbers so it just rounds offs.
For example, when I hit the API through postman the campaign id is 123456789123456789 but when I hit from sdk it becomes 123456789123456780.
Any work around this? @moltar @nguyentoanit

