GenerateTrendingInsights

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

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

  • Various errors, such as AuthenticationError, AuthorizationError, and InternalError, may be thrown by this method.

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.