Historical options data qatario
This method lets you retrieve many different Analytics reports. Each request uses query parameters to specify a channel ID or content owner, a start date, an end date, and at least one metric. You can also provide additional query parameters, such as dimensions, filters, and sorting instructions. The Authorization guide explains how to use the OAuth 2. The following tables list required and optional query parameters for API requests to retrieve query reports.
The standard query parameters listed in the table are also optional and are supported by many Google APIs. Information about the response body for each type is shown below:.
For details, see our Site Policies. Last updated August 10, Metrics are individual measurements of user activity, such as video views or ratings likes and historical options data qatario. Dimensions are common criteria that are used to aggregate data, such as the date on which the user activity occurred or the country where the users were located. In a report, each row of data has a unique combination of dimension values.
Filters are dimension values that specify the data that will be retrieved. For example, you could retrieve data for a specific country, a specific video, or a group of videos.
This scope provides access to user activity metrics, like view counts and rating counts. This scope provides access to user activity metrics and to historical options data qatario revenue and ad performance metrics. Parameters The following tables list required and optional query parameters for API requests to retrieve query reports. Note that the API response contains data up until the last day for which all metrics in the query are available at the time of the query.
So, for example, if the request specifies an end date of July 5,and values for all of the requested metrics are only available through July 3,that will be the last date for which data is included in the response. That is true even if data for some of the historical options data qatario metrics is available for July 4, See the documentation for channel reports or content owner reports for a list of the reports that you can retrieve and the metrics available in each report.
The Metrics document contains definitions for all of the metrics. Optional Parameters currency string The currency that the API will use to specify the following estimated revenue metrics: The values that the API returns for those metrics are estimates calculated using exchange rates that change on historical options data qatario daily basis.
If none of those metrics are requested, the parameter is ignored. The parameter value is a three-letter ISO currency code from the list of historical options data qatario below. The Historical options data qatario returns an error if an unsupported currency is specified. The default value is USD. See the documentation historical options data qatario channel reports or content owner reports for a list of the reports that you can retrieve and the dimensions used for those reports.
The Dimensions document contains definitions for all of the dimensions. The documentation for historical options data qatario reports and content owner historical options data qatario identifies the dimensions that can be used to filter each report, and the Dimensions document defines those dimensions.
If a request uses multiple filters, join them together with a semicolon ;and the returned result table will satisfy both filters.
Specifying multiple values for a filter The API supports the ability to specify multiple values for the videoplaylistand channel filters. To do so, specify a separated list of the video, playlist, or channel IDs for which the API response should be filtered.
The parameter value can specify up to IDs. When specifying multiple values for the same filter, historical options data qatario can also add that filter to the list of dimensions that you specify for the request. This is true even if the filter is not listed as a supported dimension for a particular report. Historical options data qatario you do add the filter to the list of dimensions, then the API also uses the filter values to group results. For example, suppose you retrieve a channel's traffic source reportwhich aggregates viewing statistics based on the manner in which viewers reached the channel's video content.
Also suppose historical options data qatario your historical options data qatario filters parameter request identifies a list of 10 videos for which data should be returned. If you add video to the dimensions parameter's value, the API response will provide separate traffic source statistics for each of the 10 videos. If you do not add video to the dimensions parameter's value, the API response will aggregate the traffic source statistics for all of the 10 videos.
This parameter historical options data qatario applies to content owner reports. Indicates whether the API response should include channels' watch time and view data from the time period prior to when the channels were linked to the content owner. The default parameter value is false which means that the API response only includes watch time and view data from the dates that channels were linked to the content owner.
It is important to remember that different channels might have historical options data qatario linked to a content owner on different dates. If the API request is retrieving data for multiple channels and the parameter value is falsethen the API response contains data based on the linking date for each respective channel. By default the sort order is ascending. The - prefix causes descending sort order.
When this is falseit can reduce the response payload size, which might lead to better performance in some environments.
Lets you enforce per-user quotas from a server-side application even in cases when the user's IP address is unknown. This can occur, for example, with applications that run cron jobs on App Engine on a user's behalf. You can choose any arbitrary string that uniquely identifies a user, but it is limited to 40 characters.
Overrides userIp if both are provided. Learn more about capping usage. Lets you enforce per-user quotas when calling the API from a server-side application. Request body Do historical options data qatario send a request body when calling this method. Information about the response body for each type is shown below: For the query method, the kind property value will be youtubeAnalytics resultTable.
However, if the API adds support for other methods, API responses for those methods may introduce other kind property values. Each item in the columnHeaders list identifies a field returned in the rows value, which contains a list of comma-delimited data. The columnHeaders list begins with the dimensions specified in the API request, which are followed by the metrics specified in the API request.
The order of both dimensions and metrics matches the ordering in the API request. Each historical options data qatario in the list is an array that contains comma-delimited data corresponding to a single row of data.
The order of the comma-delimited data fields will match the order of the columns listed in the columnHeaders field. If no historical options data qatario is available for the given query, the rows element will be omitted from the response.
The response for a query with the day dimension will not contain rows for the most recent days. This function first fetches the active user's channel ID.
The API historical options data qatario the data historical options data qatario a response object that contains a 2D array. The second part of the sample constructs a Spreadsheet. This spreadsheet is placed in the authenticated user's Google Drive with the name 'YouTube Report' and date range in the title. The function populates the spreadsheet with the API response, then locks columns and rows that will define a chart axes. A stacked column chart is added for the spreadsheet.
The fourth parameter identifies the metrics that you are retrieving. Manage your YouTube account. View and manage YouTube historical options data qatario and associated content on YouTube. See supported currencies Currency codes AED. The data format for the API response. Returns response with indentations and line breaks. IP address of the end user for whom the API call is being made.