amzn / ads-advanced-tools-docs

Code samples and supplements for the Amazon Ads advanced tools center
https://advertising.amazon.com/API/docs/en-us/index
MIT No Attribution
87 stars 33 forks source link

Issue Report: /en-us/reference/2/portfolios #274

Closed CoderWeiAden closed 2 months ago

CoderWeiAden commented 3 months ago

Describe the bug update portfolio of data_range to no endDate,i set the endDate is null,but the response tips me must be yyyyMMdd format,so how can i to update the portfolio is not endDate it is my req:

[{"portfolioId":68205574673785,"name":"TA1XD3-portfolio-aden,"budget":{"amount":12,"currencyCode":"USD","policy":"dateRange","startDate":"20240618","endDate":null},"inBudget":null,

jerirose commented 2 months ago

Hi @CoderWeiAden , it does appear that once set, the endDate cannot be changed to null. I've added a note to that field in the specification for portfolios.

Two possible workarounds for your issue:

Let us know if this solves your problem!

CoderWeiAden commented 2 months ago

@jerirose Thank you for your reply, but I have tried the method you mentioned and it still doesn't work. I sincerely hope that you can provide support in this area in the future,Also, thank you for updating the document