youtube-analytics

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

Using the YouTube Analytics API with a CMS account

我是研究僧i 提交于 2020-01-10 10:56:25
问题 I'm getting a 403 Forbidden error when trying to get youtube analytics api data using a CMS account. Just to confirm, is a CMS account the same thing as a Service account? I can get analytics data for channels that are owned by the oauth2 user but I get the 403 on any other channels that I have access to through my CMS account but am not the content owner of. (I have Administrator account level on the CMS account and the channels I get 403 error on have "Managed" relationship) Question: Are

Using the YouTube Analytics API with a CMS account

早过忘川 提交于 2020-01-10 10:55:12
问题 I'm getting a 403 Forbidden error when trying to get youtube analytics api data using a CMS account. Just to confirm, is a CMS account the same thing as a Service account? I can get analytics data for channels that are owned by the oauth2 user but I get the 403 on any other channels that I have access to through my CMS account but am not the content owner of. (I have Administrator account level on the CMS account and the channels I get 403 error on have "Managed" relationship) Question: Are

Obtaining the current user's YouTube content owner id

我的梦境 提交于 2019-12-18 16:30:42
问题 Good afternoon I've created an app that is pulling data from YouTube Analytics API. My task is to get contentOwner monetary reports, and for that I need an OWNER_NAME which is an issue for me. I have test YouTube account that have monetary reports on it but its not connected to a youTube CMS. Is the connection to cms.youtube.com neccessay to pull contentOwner reports which are shown on youtube analytics? Does a user have to provide OWNER_NAME ( or ContentOwner_ID ? ) by himself, or can I pull

Youtube Analytics API PHP Invalid query. Query did not conform to the expectations

浪子不回头ぞ 提交于 2019-12-18 07:20:59
问题 I'm trying to make some analytics query from server to server. I'm using laravel with https://github.com/google/google-api-php-client library. This is the code I'm using: $client = new Google_Client(); $key = file_get_contents(storage_path('key.p12')); $cred = new Google_Auth_AssertionCredentials( '***@developer.gserviceaccount.com', array('https://www.googleapis.com/auth/youtube.readonly', 'https://www.googleapis.com/auth/yt-analytics.readonly'), $key); $client->setAssertionCredentials($cred

Youtube Analytics API PHP Invalid query. Query did not conform to the expectations

不问归期 提交于 2019-12-18 07:20:11
问题 I'm trying to make some analytics query from server to server. I'm using laravel with https://github.com/google/google-api-php-client library. This is the code I'm using: $client = new Google_Client(); $key = file_get_contents(storage_path('key.p12')); $cred = new Google_Auth_AssertionCredentials( '***@developer.gserviceaccount.com', array('https://www.googleapis.com/auth/youtube.readonly', 'https://www.googleapis.com/auth/yt-analytics.readonly'), $key); $client->setAssertionCredentials($cred

YouTube Analytics API channel: The response has no rows parameter

泄露秘密 提交于 2019-12-12 15:46:36
问题 When using the API for retrieving aggregated metrics for the channel 's content the report returns a single row of data that contains totals for each requested metric during the specified date range. Here's an API Example link. Sometimes not even account information is received; the object rows is not present in the response but only columnHeaders , even though the account has the appropriate fields populated (I can see it on the profile available on youtube). 回答1: I have made the same

How to get top 10 videos from your channel with the views count included in the response

不打扰是莪最后的温柔 提交于 2019-12-12 09:17:49
问题 So I have a ouath web app that connects to youtube. I use the youtube analytics calls to get information like number of subscribers from my channel. But right now I try to make a top 10 videos from my channel with the views count for every video included in the response. I use this documentation: Top videos for subscribed or unsubscribed viewers My call looks like this: $command = 'curl -H "Authorization: Bearer ' . $access_token . '" "https://www.googleapis.com/youtube/analytics/v1/reports

How to get top 10 videos from your channel with the views count included in the response

自闭症网瘾萝莉.ら 提交于 2019-12-04 21:38:37
So I have a ouath web app that connects to youtube. I use the youtube analytics calls to get information like number of subscribers from my channel. But right now I try to make a top 10 videos from my channel with the views count for every video included in the response. I use this documentation: Top videos for subscribed or unsubscribed viewers My call looks like this: $command = 'curl -H "Authorization: Bearer ' . $access_token . '" "https://www.googleapis.com/youtube/analytics/v1/reports?ids=channel%3D%3DMINE&start-date=' . date('Y-m-d', strtotime('-31 days')) . '&end-date=' . date('Y-m-d',