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

Conversation

@moltar
Copy link
Contributor

@moltar moltar commented Aug 5, 2022

Convert all number identifiers to BigInt.

Closes: #975

@NishealJ
Copy link
Contributor

NishealJ commented Aug 7, 2022

@moltar we'll have to cover all the ids right? keywordId, adgroupId etc.
Also while sending a request to amazon we can send them as a string (but not sure if all the APIs accept them as String).

@moltar
Copy link
Contributor Author

moltar commented Aug 7, 2022

Ya that's the hardest part is to feed them ints back. Not sure if the api will accept strings. Need to experiment. However, it should be still possible to use some custom serialization method to convert stringified ints to proper ints. Even if it means just using a regex to strip off " from string json.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Amazon Apis sends campaignId as number/integer

2 participants