youtube-analytics-api

How to access new YouTube Analytics Metrics(Impressions, Impressions CTR) from API

半腔热情 提交于 2020-12-29 04:16:50
问题 Can I already access Impressions and Impressions click-through rate from YouTube Analytics API? These metrics are new one. I saw following document. https://productforums.google.com/forum/#!topic/youtube/huFTZ7HzePE But, I could not find these metrics in YouTube Analytics API. https://developers.google.com/youtube/analytics/metrics Plese teach me about how to access Impressions, Impressions CTR from API. Thanks, -Kuwajima 来源: https://stackoverflow.com/questions/50446222/how-to-access-new

How to access new YouTube Analytics Metrics(Impressions, Impressions CTR) from API

非 Y 不嫁゛ 提交于 2020-12-29 04:16:20
问题 Can I already access Impressions and Impressions click-through rate from YouTube Analytics API? These metrics are new one. I saw following document. https://productforums.google.com/forum/#!topic/youtube/huFTZ7HzePE But, I could not find these metrics in YouTube Analytics API. https://developers.google.com/youtube/analytics/metrics Plese teach me about how to access Impressions, Impressions CTR from API. Thanks, -Kuwajima 来源: https://stackoverflow.com/questions/50446222/how-to-access-new

How to load client credentials from json file for YouTube Analytics api?

£可爱£侵袭症+ 提交于 2020-04-29 10:08:18
问题 I want to retrieve monetization data from a friend's YouTube channel. I've used the python code below to get the authentication credentials from him, which I then saved to a JSON file. In that process, he has to click a link and send me the key. I want to avoid that by saving the credentials data. I think I have done that, but how do I load it now? import json import os import google.oauth2.credentials import google_auth_oauthlib.flow from googleapiclient.discovery import build from

How to Retrieve a list of the most-viewed channels by region?

北城以北 提交于 2020-01-14 02:39:22
问题 I did go through Youtube v3 APIs but couldn't figure out how to achieve something which can be done using v2 APIs easily i.e. get all most-viewed channels in a region for e.g. Sweden here https://gdata.youtube.com/feeds/api/channelstandardfeeds/SE/most_viewed?v=2 来源: https://stackoverflow.com/questions/35437243/how-to-retrieve-a-list-of-the-most-viewed-channels-by-region

Youtube.analytics.query api giving forbidden error

99封情书 提交于 2019-12-25 18:28:34
问题 I want to fetch the analytics of any channel of youtube that basically are not owned by me. I am using this API. If this is not the right API please suggest me how to achieve this. Also, I am using node. https://youtubeanalytics.googleapis.com/v2/reports?dimensions=day&endDate=2019-01-01&ids=channel%3D%3DUCZSNzBgFub_WWil6TOTYwAg&metrics=likes&startDate=2018-01-01 Response: { "error": { "code": 403, "message": "Forbidden", "errors": [ { "message": "Forbidden", "domain": "global", "reason":

YouTube analytics API rows empty

家住魔仙堡 提交于 2019-12-23 19:47:10
问题 I know this question has been answered before, but I seem to have a different problem. Up until a few days ago, my querying of YouTube never had a problem. Now, however, every time I query data on any video the rows of actual video data come back as a single empty array. Here is my code in full: # -*- coding: utf-8 -*- import os import google.oauth2.credentials import google_auth_oauthlib.flow from googleapiclient.discovery import build from googleapiclient.errors import HttpError from google

YouTube Analytics API Access Now Forbidden

一曲冷凌霜 提交于 2019-12-21 02:41:48
问题 I have a few reports using the YouTube Analytics API in a Google Spreadsheet. I have made no changes recently. These reports do have a trigger that run daily. On 1/10. they stopped working. Usage Report: http://i.imgur.com/8BRhBZd.png I see at least four similar issues here. I am posting this in hopes to raise more awareness in case there is an bigger issue at hand, than some user error I cannot ID. Spreadsheet reports the following error: [16-01-20 08:55:01:935 PST] Execution failed:

Error: “message”: “Login Required” when use Youtube Analytics API

寵の児 提交于 2019-12-18 14:47:30
问题 I am working with youtube api. when I hit this url " https://www.googleapis.com/youtube/analytics/v1/reports?ids=channel%3D%3DMINE&start-date=2015-01-01&end-date=2016-01-31&metrics=likes%2Cdislikes&key={API Key} " it gives 401 { "error": { "errors": [ { "domain": "global", "reason": "required", "message": "Login Required", "locationType": "header", "location": "Authorization" } ], "code": 401, "message": "Login Required" } } but I hited in the explorer "https://developers.google.com/apis

YouTube APIs - Access mutiple youtube channels (Brand Accounts) using Google Admin account

送分小仙女□ 提交于 2019-12-17 10:55:16
问题 I need to extract information from videos using YouTube Analytics and Reporting Api. I have access to multiple YouTube Brand Accounts, when I log into YouTube with my Google Account. Using the "Try it" for testing the API, I'm only able to retrieve data for a channel once I switch to the Brand Account that this channel belongs, otherwise I get 403 - Forbidden error. Is there any way to extract data using the Google Account that I'm using to log in? Because once I create the credentials in

Appengine server-to-server authentication and Google Domain-wide Authority

佐手、 提交于 2019-12-13 03:57:26
问题 I am trying to pull my reports from YouTube reporting API and upload them into GCS. Since I must use oauth2, I used Google's guide on creating a service account and giving it domain-wide authority. While I can get authenticated service to pull the reports at user level. I get "The caller does not have permission" when appengine runs the request. Any idea where to look next? SCOPES = ['https://www.googleapis.com/auth/yt-analytics-monetary.readonly', 'https://www.googleapis.com/auth