Assigned
Status Update
Comments
gt...@capellasystems.net <gt...@capellasystems.net> #3
Hi,
Thank you for quick response. Yes, I actually copied curl code above from the API explorer.
I also tried with Python code below:
request = youtube.search().list(
part="snippet",
maxResults=50,
order="viewCount",
publishedAfter="2024-09-01T00:00:00Z",
q="artificial intelligence",
videoPaidProductPlacement="true",
)
response = request.execute()
return response
This also gave me invalid parameter error:
TypeError: Got an unexpected keyword argument videoPaidProductPlacement
cs...@gmail.com <cs...@gmail.com> #4 Restricted+
Restricted+
Description
Errors occur when POSTing APIs using CMS.
- Result (copy and paste a JSON response you received)
"error": {
"code": 500,
"message": "Internal error encountered.",
"errors": [
{
"message": "Internal error encountered.",
"domain": "global",
"reason": "backendError"
}
],
"status": "INTERNAL"
}
}
- Expected result
No errors.
- Is it 100% reproducible?
Yes
- Reproducible API explorer link