Assigned
Status Update
Comments
sn...@google.com <sn...@google.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
Description
- Description
Records from before Nov 17th are not being returned by the Youtube reporting API for video_id = 'w2wipw4uXPY' and ContentOwner='iUflxRLxQURE55VxcDcQng'. Why is the Youtube API not returning any data for this videoID when requesting the content_owner_basic_a3 before that date, while the UI shows views/revenue starting around Nov 12? This is leading to discrepancies when comparing Youtube API and UI totals.
- API request with parameters used (DO NOT include your credential)
Job for Nov 15th:
- Result (copy and paste a JSON response you received)
Attached CSV does not include videoID : w2wipw4uXPY
- Expected result
Attached image from YouTube Analytics UI
- Is it 100% reproducible?
Yes
- Reproducible API explorer link
Verify content_owner_basic_a3 type report:
Get list of jobs after Nov 11th: