CMS channel list using Youtube API with onBehalfOfContentOwner
<p>I am using the Youtube Data API to do targeted queries (<a href="https://developers.google.com/youtube/analytics/v1/reference/reports/query" rel="nofollow">like this example</a>) for a few CMS accounts in an MCN. I enabled the proper APIs and set up an oAuth for an installed app on Google's developer console. I made sure to call the right scopes:</p>

<pre><code>YOUTUBE_SCOPES = ["https://www.googleapis.com/auth/youtube.readonly",
                  "https://www.googleapis.com/auth/yt-analytics-monetary.readonly",
                  "https://www.googleapis.com/auth/youtubepartner"]
</code></pre>

<p>Authentication has no qualms...</p>

<pre><code>(youtube, youtube_analytics) = get_authenticated_services(args)
</code></pre>

<p>Until a sanity check to list the channels associated with the CMS:</p>

<pre><code>youtube.channels().list(
    part='snippet,contentDetails', 
    managedByMe=True, 
    maxResults=50, 
    onBehalfOfContentOwner=CONTENT_OWNER_ID
  ).execute()
</code></pre>

<p>returning a 403 "Access Forbidden" Error. I am wondering if this is because I don't have admin privileges with my CMS account?</p>