make use of a response's header row to find out the purchasing with the report's columns. by way of example, never believe that views will be the initial metric returned inside of a response Simply because it is actually the very first metric listed in a very report description. rather, make use of the reaction's header row to pick which column includes that facts.
even so, studies that mixture metrics for just a set of resources do continue to contain metrics connected with deleted goods.
There's a number of documentation on these alternatives offered to you, I might recommend examining as a result of it in its entirety to ensure that you Have a very Youtube Analytics Stats company grasp over the concepts. Just click here to read about OAuth two.0 Using the YouTube Analytics API
within a report, Each individual row of data has a unique mixture of dimension values. as a result, the scale you end up picking for a report determine how YouTube calculates the values for the metrics in that report.
The value of your ids= parameter tells the API no matter if you want to do a report from a channel associated with the current licensed user (ids=channel==UC...) or from channels/movies you have entry to as being a CMS written content proprietor (ids=contentOwner==CONTENT_OWNER_NAME).
How usually have your video clips been considered? how much time do viewers commonly invest observing a video? Are the quantities diverse for feminine viewers concerning twenty five and 34 several redirected here years outdated? how can viewing designs vary in nations you are really centered on?
once you request a report, using the API's stories.query method, the API ask for contains 5 parameters that decide how the report values might be calculated:
We’ve invested the past three months speaking with suppliers of our 8,000 APIs. for the duration of these conversations, we’ve heard handy insights from complex tips to major photo strategic more bonuses […]
The Analytics API supports qualified, real-time queries to generate personalized reports in reaction to consumer interaction.
as an example, suppose a channel owner retrieves two experiences. the initial report lists total everyday views for the entire channel's video clips in excess of a certain time frame. The second report lists whole everyday views over a video-by-movie basis more than exactly the same time period.
GitHub Youtube Analytics Stats is property to around forty million builders Operating together to host and critique code, regulate tasks, and Develop program together.
The channel owner could filter the request to return values only for a particular source state. (How repeatedly were being videos viewed in Canada on every single day of your reporting period of time?)
The Reporting API supports apps that could retrieve and keep bulk reviews, then deliver tools to filter, type, Youtube Analytics Stats and mine the information.
Jeff PosnickJeff Posnick 33k44 gold badges8282 silver badges107107 bronze badges many thanks Jeff with the prompt reaction. I am however confused in regards to the 3rd query. I'm making an application which will request a person to authenticate through OAuth. After authenticating, how do I realize if this user is a daily consumer (making sure that I'd personally make channel report queries) or In the event the person can be a CMS material operator so that I ought to make written content proprietor queries. If CMS, how can I get their CONTENT_OWNER_NAME? – Jerry Hardaway Dec eighteen '12 at 19:forty nine you would must code explicitly for the people two distinctive scenarios. If you're thinking that that there's a opportunity that some CMS information homeowners are going to make use of your application, you're going to have to make a unique UI flow through which you check with them to enter their content material proprietor title just before working studies.
The metrics parameter specifies the measurements that could be A part of the report. In channel experiences, metrics evaluate consumer action and contain values like views and go likes. Some metrics also measure advertisement functionality or believed income.