Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When the start date and end date of an SP activity are the same, changing the end date of this activity to no end date will result in an error: START_DATE_AFTER_END_DATE,Start date cannot be after end date. #336

Open
CoderWeiAden opened this issue Dec 11, 2024 · 0 comments
Labels
bug Something isn't working documentation Improvements or additions to documentation

Comments

@CoderWeiAden
Copy link

When the start date and end date of an SP activity are the same, changing the end date of this activity to no end date will result in an error:
START_DATE_AFTER_END_DATE,Start date cannot be after end date.

the interface is :
https://advertising.amazon.com/API/docs/en-us/sponsored-products/3-0/openapi/prod#tag/Campaigns/operation/UpdateSponsoredProductsCampaigns

my param is:
{
"campaigns": [
{
"campaignId": "289634794537571",
"portfolioId": "240367241152955",
"endDate": null,
"name": "ZXSVT9-sp-Yamila-test0906",
"targetingType": "AUTO",
"state": "PAUSED",
"dynamicBidding": {
"placementBidding": [
{
"percentage": 0,
"placement": "PLACEMENT_TOP"
},
{
"percentage": 0,
"placement": "PLACEMENT_PRODUCT_PAGE"
},
{
"percentage": 0,
"placement": "PLACEMENT_REST_OF_SEARCH"
}
],
"strategy": "LEGACY_FOR_SALES"
},
"startDate": "2026-10-01",
"budget": {
"budgetType": "DAILY",
"budget": 1
},
"tags": {
"property1": "{"businessId":"1832004097431105537"}"
}
}
]
}

the result is :
image

When the start date and end date do not match, this situation will not occur
image

@CoderWeiAden CoderWeiAden added bug Something isn't working documentation Improvements or additions to documentation labels Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant