Assigned
Status Update
Comments
ro...@lickd.co <ro...@lickd.co> #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
Description
Please fill out the following:
The
publishedAfter
andpublishedBefore
filters for the search endpoint don't appear to work, I'm getting a bad request error.GET https://www.googleapis.com/youtube/v3/search
Normal snippet search result but with filtered videos not including those filtered out by the published date parameters.
Not exactly. Today I get this error, last week I was getting results but not correctly filtered by the
publishedAfter
orpublishedBefore
parameter so some inconsistency but never the correct result.