Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

I want to know that Youtube Content Owner id

I'm trying to use BigQuery Transfer to pull in data for YouTube content owners.
The following error occurred to me.
 
Http(403) Forbidden; { "error": { "code": 403, "message": "The caller does not have permission", "errors": [ { "message": "The caller does not have permission", "domain": "global", "reason": "forbidden", "debugInfo": "detail: \"[ORIGINAL ERROR] generic::permission_denied: com.google.apps.framework.request.CanonicalCodeException: User does not have access to content owner: gaiaId: XXXX, contentOwner: XXXX. Code: PERMISSION_DENIED\"\n" } ], "status": "PERMISSION_DENIED", "details": [ { "@type": "type.googleapis.com/google.rpc.DebugInfo", "detail": "[ORIGINAL ERROR] generic::permission_denied: com.google.apps.framework.request.CanonicalCodeException: User does not have access to content owner: gaiaId: XXXX, contentOwner: XXXX. Code: PERMISSION_DENIED" } ] } } ; Request to YouTube reporting API failed for method GET_JOBS
 
I attempted the following to verify the YouTube content owner ID.
seongjun_0-1704873966207.png
 However, I couldn't confirm the content owner ID.
Is it possible that there is no content owner ID, or is there another method to verify it?
 
Solved Solved
1 1 6,185
1 ACCEPTED SOLUTION

It looks like the error is related to permissions, specifically stating that the caller does not have access to the content owner. The content owner ID `gaiaId` seems to be causing the permission denial.

To verify the content owner ID, you can try the following steps:

  • Check YouTube Studio:
    Log in to YouTube Studio using the Google account associated with the content owner. Go to the "Settings" section and navigate to the "Channel" tab. You should be able to find the content owner details, including the gaiaId.
  • Use YouTube Reporting API:
    You can use the YouTube Reporting API to retrieve information about the content owner. The API method `contentOwners.list` allows you to list all content owners that the authenticated user is an owner of. You can use the API Explorer provided by Google to test this API method: YouTube Reporting API Explorer.
  • Verify Permissions:
    Ensure that the Google account you are using has the necessary permissions. Check if the account has the "View monetization information" and "View financial reports" permissions in the YouTube account settings.

If you still cannot find the content owner ID or resolve the permission issues, consider reaching out to YouTube support for assistance. They can provide specific guidance and help troubleshoot the issue.

View solution in original post

1 REPLY 1

It looks like the error is related to permissions, specifically stating that the caller does not have access to the content owner. The content owner ID `gaiaId` seems to be causing the permission denial.

To verify the content owner ID, you can try the following steps:

  • Check YouTube Studio:
    Log in to YouTube Studio using the Google account associated with the content owner. Go to the "Settings" section and navigate to the "Channel" tab. You should be able to find the content owner details, including the gaiaId.
  • Use YouTube Reporting API:
    You can use the YouTube Reporting API to retrieve information about the content owner. The API method `contentOwners.list` allows you to list all content owners that the authenticated user is an owner of. You can use the API Explorer provided by Google to test this API method: YouTube Reporting API Explorer.
  • Verify Permissions:
    Ensure that the Google account you are using has the necessary permissions. Check if the account has the "View monetization information" and "View financial reports" permissions in the YouTube account settings.

If you still cannot find the content owner ID or resolve the permission issues, consider reaching out to YouTube support for assistance. They can provide specific guidance and help troubleshoot the issue.