YT Analytics API: Likes added and Likes removed - youtube-api

We were previously collecting the "likes added" and "likes removed" metrics in the YouTube Analytics API viewership report on a daily basis but now we are only given "likes", which is the net of the added and removed.
Are there plans to publish the data as separate metrics again in the future? We would find the "likes added" valuable in our own data analysis.

Related

iOS Instagram API fetch Insights, Engagement, media details

How to fetch instagram insights, engagement and media for a particular user. If you search like "instagram stats" in iOS, you could find many apps providing paid service to fetch the following details
Most comments by user
Least comments by user
Most likes by user
Least likes by user
Most popular media
Least popular media
Ghost followers
Who's interested in me
But instagram official API doesn't provide direct end points to fetch these details. How these many apps providing paid service to get these insights and engagement details ? Are there any open source api's to fetch these data from instagram?? If so please list out here I am implementing a similar stats app and I need these data to be fetched from instagram.
Official API provides follow, unfollow, like, unlike, fetching relationship status like followed by, not following me back, total comments count, total likes count for media.
But how to get the data for the list I mentioned??
To find the engagement rate, you might have to do some manual calculations.
Engagement rate is usually calculated as a portion of your followers. So likes + comments / number of followers. All three of those are endpoints provided by the API. You can calculate this average with PHP once you have the data.
$engagementRate = array_sum($totalLikesandComments) / count($followers);
You could also use an analytics service to calculate your engagement rate for you. Crowdbabble provides engagement rate and can export data to excel. https://www.crowdbabble.com/blog/how-to-find-your-instagram-engagement-rate/

How do I get reports from before dates earlier than the date I created the job in Reporting API?

I'm testing out the new Youtube Analytics Reporting API. However, it looks like I can only get reports from dates on the date I created the job that generates the reports and later. How can I get bulk data from earlier dates than this? Am I forced to use the Analytics API then?
I think if you want to retrieve data in an older timeline Youtube Analytics API is recommended.
You can find the answer you are looking for in Retrieve YouTube Analytics Data.
These are the possible data you can get from Analytics and Reporting API by date.
Feature
Date Ranges
YouTube Analytics API
Some API reports specify the date that user activity occurred. Some of those reports support dimensions to aggregate user activity metrics by 7-day periods, 30-day periods, or months.
YouTube Reporting API
All API reports specify the day that user activity occurred. Applications using the API can implement features to aggregate data for periodic intervals.

Tracking subs referral

Is it possible using the current APIs to track where one's subscribers are subscribing from?
For example perhaps I want to see how many subscribers an annotation on a certain video (that any user uploaded) generated for my channel.
The closest thing to what you're describing is running a YouTube Analytics API report with
ids=channel==UC...
dimensions=video
metrics=subscribersGained,subscribersLost
sort=-subscribersGained
This will return the top ten videos that led to subscriptions to your channel. But I don't think that videos uploaded in third-party channels that have annotations prompting people to subscribe to your channel will show up on that list. My understanding is that only videos in your own channel will show up on the list, and it might be that only subscriptions made via the Subscribe link on the web page (not via an annotation) would trigger inclusion on that report.
Sorry that I don't have more specific details.

YouTube difference between FavoritesCount from statistics (API call) and YouTube Analytics Dashbord Favorites Metrics?

I am using following API call for retrieving FavoritesCount : -
https://gdata.youtube.com/feeds/api/videos/{$video_ID}?v=2&alt=json
I am parsing above API's response to retrieve Favorites Count from statistics .
But, when I log in to YouTube account and go to Analytics of that video : -
I can see following metrics when i click on Favorites on dashbord -
Favorites Net Change
Favorites Added
Favorites Removed
I am confused between above Three metrics count (values) from Analytics Dashbord and
Favorites Count getting from API call (statistics).My question is what is the difference or connection between these metrics from Analytic DashBoard and fav count from API call ?
In Youtube Analytics:
favoritesAdded
The number of times that users marked a video as a favorite video.
favoritesRemoved
The number of times that users removed a video from their favorite video lists.
And the Favorites report (formerly part of Community in Insight) displays a summary of how many users favorited your content, how many removed it from their favorites, and the net change.
http://support.google.com/youtube/bin/static.py?hl=en&topic=1715146&guide=1714169&page=guide.cs
And in the YouTube Data API V2
https://developers.google.com/youtube/2.0/reference#youtube_data_api_tag_yt:statistics
favoriteCount:
The favoriteCount attribute specifies the number of YouTube users who have added a video to their list of favorite videos. The favoriteCount attribute is only specified when the tag appears within a video entry.

Latency with Youtube Analytics API

This page (http://apiblog.youtube.com/2012/03/keeping-things-fresh.html) does a great job of explaining the latency of results obtained using the Youtube API version 2.0. Is there an equivalent explanation for the Youtube Analytics API?
I viewed and liked a video today that previously had no action and then retrieved statistics using the Analytics API (with both start-date and end-date equal to today) and my actions were not reflected - all metrics were still zero. Do I need to wait until tomorrow for today's totals to be calculated? If yes, is there any way to get the current day's analytics?
The YouTube Analytics API uses the same backend as the YouTube Analytics website, and the public information about data freshness that applies to the website also applies to the API. There's some relevant info at
http://support.google.com/youtube/bin/static.py?hl=en&guide=1714169&page=guide.cs
Specifically, the bottom of the page reads (as of right now):
YouTube Analytics data is updated daily, which means that the numbers displayed in these reports may differ from the public values displayed on the Watch page, Channel page, Video Manager, or other sources.
I don't think we specifically guarantee what time of day the data updates, but it's safe to assume that the previous day's data is processed sometime after midnight Pacific Time (which is the time zone used for YouTube Analytics).

Resources