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 <img width="402" alt="Screenshot 2022-08-04 at 8 04 21 PM" src="https://user-images.githubusercontent.com/41017303/182873925-301a29e4-ad16-4c80-ad1e-f9d99c4d7771.png"> <img width="1680" alt="Screenshot 2022-08-04 at 7 59 27 PM" src="https://user-images.githubusercontent.com/41017303/182872656-8a0fa2c0-eed8-4093-b0e3-e3b79779cc63.png">
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