Update a video of an ad
Endpoint for updating info about a single uploaded video.
Path parameters
-
Id of an advertisement. It is either id that was provided in the response of the insert endpoint or it can be thirdPartyId, if it has been provided in the request body of the advertisement insert endpoint.
-
Id of a video. It is either id that was provided in the response of the insert endpoint or it can be thirdPartyId, if it has been provided in the request body of the video insert endpoint.
PATCH
/advertising/v1.0/ads/{adId}/videos/{videoId}
curl \
--request PATCH 'http://apis.public-staging.reas.cz/advertising/v1.0/ads/63d9007e66fc41b2cd1057c6/videos/63d9007e66fc41b2cd1057c6' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"order":1}'
Request examples
{
"order": 1
}
Response examples (200)
{
"success": true,
"data": {
"id": "string",
"url": "string",
"order": 42.0,
"createdAt": "2025-05-04T09:42:00Z"
}
}