GenerateTrendingInsights

  • The GenerateTrendingInsights RPC call returns insights for trending content on YouTube.

  • It requires the https://www.googleapis.com/auth/adwords OAuth scope for authorization.

  • Several errors can be thrown, including AuthenticationError, AuthorizationError, and InternalError.

GenerateTrendingInsights

rpc GenerateTrendingInsights(GenerateTrendingInsightsRequest) returns (GenerateTrendingInsightsResponse)

Returns insights for trending content on YouTube.

List of thrown errors: AuthenticationError AuthorizationError FieldError HeaderError InternalError QuotaError RangeError RequestError

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/adwords

For more information, see the OAuth 2.0 Overview.