Assigned
Status Update
Comments
sn...@google.com <sn...@google.com>
pr...@gmail.com <pr...@gmail.com> #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
pr...@gmail.com <pr...@gmail.com> #4
Hello,
I wanted to check if there are any updates regarding this issue, as it is critical for my application. Could you share whether it's planned to be resolved and if there is an estimated timeline for a fix?
I would greatly appreciate any insights you can provide.
Thank you for your time and support.
Description
Hi, we are trying to obtain monetization data via a channel report. The access token that I'm using has the following scope:
I am getting valid responses when running the same query for other channels with the same kind of scope, so I was hoping to get some clarification as to what's different about this channel or if this is a bug that needs to be resolved. Appreciate any input here.
- API request with parameters used (DO NOT include your credential)
curl -i -X GET \
-H "Authorization:Bearer <access_token>" \
'
- Result (copy and paste a JSON response you received)
{
"error": {
"code": 403,
"message": "Forbidden",
"errors": [
{
"message": "Forbidden",
"domain": "global",
"reason": "forbidden"
}
]
}
}
- Expected result
json response with metrics values