2015-06-23 23:05:46 +00:00
|
|
|
# Copyright 2015 Google Inc.
|
|
|
|
#
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
# You may obtain a copy of the License at
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
# limitations under the License.
|
|
|
|
|
|
|
|
require 'google/apis/youtube_analytics_v1/service.rb'
|
|
|
|
require 'google/apis/youtube_analytics_v1/classes.rb'
|
|
|
|
require 'google/apis/youtube_analytics_v1/representations.rb'
|
|
|
|
|
|
|
|
module Google
|
|
|
|
module Apis
|
|
|
|
# YouTube Analytics API
|
|
|
|
#
|
2016-05-16 16:49:15 +00:00
|
|
|
# Retrieves your YouTube Analytics data.
|
2015-06-23 23:05:46 +00:00
|
|
|
#
|
|
|
|
# @see http://developers.google.com/youtube/analytics/
|
|
|
|
module YoutubeAnalyticsV1
|
|
|
|
VERSION = 'V1'
|
2016-05-16 16:49:15 +00:00
|
|
|
REVISION = '20160513'
|
2015-06-23 23:05:46 +00:00
|
|
|
|
|
|
|
# Manage your YouTube account
|
|
|
|
AUTH_YOUTUBE = 'https://www.googleapis.com/auth/youtube'
|
|
|
|
|
|
|
|
# View your YouTube account
|
|
|
|
AUTH_YOUTUBE_READONLY = 'https://www.googleapis.com/auth/youtube.readonly'
|
|
|
|
|
|
|
|
# View and manage your assets and associated content on YouTube
|
|
|
|
AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'
|
|
|
|
|
2015-07-20 21:49:34 +00:00
|
|
|
# View monetary and non-monetary YouTube Analytics reports for your YouTube content
|
2015-06-23 23:05:46 +00:00
|
|
|
AUTH_YT_ANALYTICS_MONETARY_READONLY = 'https://www.googleapis.com/auth/yt-analytics-monetary.readonly'
|
|
|
|
|
|
|
|
# View YouTube Analytics reports for your YouTube content
|
|
|
|
AUTH_YT_ANALYTICS_READONLY = 'https://www.googleapis.com/auth/yt-analytics.readonly'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|