How to get YouTube channel page id for creating Google BigQuery Data Transfer Service YouTube Channel as data source.
Trying to create transfer service from BQ console and CLI. Getting the following error from console and CLI.
Now I am using the pageId from this YouTube Channel URL: https://www.youtube.com/channel/XXXXXXXXXYYYYYYYYYY
From CLI:
bq mk --transfer_config --project_id=test-dts --target_dataset=YTChannelDTS --display_name='YTChannelTest' --params='{"page_id":"XXXXXXXXXYYYYYYYYYY","table_suffix":"MT","configure_jobs":"true"}' --data_source='youtube_channel'
BigQuery error in mk operation: Request contains an invalid argument.
From Console: refer the below image(error marked in red colour).

Navigate to https://www.youtube.com/account_advanced in order to see your YouTube account settings. You will then see a value for
YouTube Channel ID. This is what you pass to BigQuery.Update: After trying to replicate the above steps on a project that I was the
Owneron, I encountered the same error message. The workaround was to:BigQuery Adminprivilege to your account