Creating a YouTube API Key

In order to submit API requests to YouTube's Data API v3, you must register your application to obtain the proper authorization credentials. Use the instructions below to register each application that contains YouTube activities to get your YouTube API Keys.

Create a New Project in the Google Developers Console

Step 1 - Go to the Google Developer Console and sign in with your Google account, or create a new one.

Step 2 - Press the "Create Project" button.

youtube_console_create_project.png

Step 3 - On the New Project dialog, enter a project name in the "Project name" field and click the "Create" button (leave the Project ID as it's default).

youtube_console_new_project.png

Step 4 - In the sidebar on the left, select "APIs & auth" to expand the category, and then "APIs".

youtube_console_apis.png

Step 5 - In the list of APIs, select "YouTube Data API".

youtube_console_youtube_apis.png

Step 6 - Click the "Enable API" button to enable it in your project.

youtube_console_enable_api.png

Step 7 - In the sidebar on the left, select "Credentials".

youtube_console_credentials.png

Step 8 - Under "Public API access", click the "Create new Key" button.

youtube_console_create_new_key.png

Step 9 - On the "Create a new key" dialog, select "Android key".

youtube_console_create_android_key_button.png

Step 10 - On the "Create an Android key and configure allowed Android applications" dialog, just click the "Create" button (LEAVE THE FIELD BLANK).

youtube_console_create_android_key_dialog.png

Step 11 - You should now see your application's "API key" value under the section "Key for Android applications". Copy that key into your Andromo project's "YouTube API Key" field.

youtube_console_api_key.png

Note: It can take some time for your API access to become fully enabled, so we recommend waiting about 15 minutes before testing your app.

Recent Discussions

18 Aug, 2017 10:54 PM
18 Aug, 2017 12:44 PM
16 Aug, 2017 11:25 PM
16 Aug, 2017 04:10 PM
14 Aug, 2017 12:49 PM