Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive
On this page

Creating a YouTube Channel

Updated on 2025-01-23 GMT+08:00

Prerequisites

The connection to YouTube has been completed. If the connection has not been completed, perform the following steps to complete the connection:

  1. Apply for a developer account.
    1. Access Google Cloud, register a Google account, and sign in.
    2. Click Select a project, click NEW PROJECT, and create a project.
      Figure 1 Select a project
      Figure 2 New Project
  2. Enable YouTube.
    1. In the navigation pane of Google Cloud, choose APIs & Services > Enabled APIs & services.
      Figure 3 Enabled APIs & services
    2. Click ENABLE APIS AND SERVICES.
      Figure 4 ENABLE APIS AND SERVICES
    3. Search for YouTube.
      Figure 5 Searching for YouTube
    4. Find and enable YouTube Data API v3.
      Figure 6 Enabling the API

      If the following page is displayed, the API is enabled successfully.

      Figure 7 API enabled successfully
  3. Create a credential.
    1. In the navigation pane of Google Cloud, choose Credentials, and click CREATE CREDENTIALS.
      Figure 8 Creating a credential
    2. Create a key.
      Figure 9 Creating a key

      The value corresponds to the API key in the AICC.

  4. Create an OAuth consent screen.
    1. In the navigation pane of Google Cloud, choose OAuth consent screen.
    2. Select External and click CREATE.
      Figure 10 Creating an OAuth consent screen

      Set all mandatory parameters and retain the default values for other parameters until the 3 Test users page is displayed.

    3. Click ADD USERS and add a test user.
      Figure 11 Adding a test user
    4. Click SAVE AND CONTINUE to complete the configuration.
    5. In the navigation pane of Google Cloud, choose Credentials, click CREATE CREDENTIALS, and choose OAuth client ID.
      Figure 12 Choosing OAuth client ID
      Figure 13 Creating an OAuth client ID

      Add the redirection URI https://developers.google.com/oauthplayground. Note that the URI cannot end with a slash (/).

      After you click CREATE, obtain the values of OAuth Client ID and OAuth Client secret that are generated automatically. The values correspond to the values of Client ID and appKey in the AICC, respectively.

  5. Access Google Developers, select all APIs under the YouTube Data API v3, and enter the obtained OAuth client ID and secret to generate an API.
    Figure 14 Generating an API
    Figure 15 Obtaining the generated access token and refresh token
  6. Use the developer account to sign in to Google. Select Select all to assign all permissions to the developer account.

  7. Create a channel on YouTube.
    Figure 16 Creating a channel

    Go to the YouTube home page and choose Your channel. The last segment of the URL is the channel ID, which corresponds to the channel ID in the AICC.

Context

None

Procedure

  1. Sign in to the AICC as a tenant administrator and choose > Account Post.
  2. Click Configure Channel and then click New.
  3. In the Create Channel dialog box, set parameters based on Table 1.

    Table 1 Parameters for creating a channel

    Parameter

    Description

    Channel Name

    Enter a customized value.

    Channel Configuration

    Select YouTube.

    Channel ID

    ID of the channel created in Figure 16.

    apiKey

    Key created in Figure 9.

    Client ID

    Client ID generated in Figure 13.

    appKey

    Client key generated in Figure 13.

    accessToken

    Access token and refresh token generated in Figure 15.

    refreshToken

    ApiFabricAK

    Contact the system administrator to obtain the app key of the app that has subscribed to the refreshNorth API and bound to the tenant space for which the YouTube channel needs to be configured on the Configuration Center > Expansion and Integration > API Management > APP Service > APP Management page, and enter the app key here.

    ApiFabricSK

    Contact the system administrator to obtain the app secret of the app that has subscribed to the refreshNorth API and bound to the tenant space for which the YouTube channel needs to be configured on the Configuration Center > Expansion and Integration > API Management > APP Service > APP Management page, and enter the app secret here.

  4. Click Save.

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback