GenerateTrendingInsights

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

  • This method requires a GenerateTrendingInsightsRequest and returns a GenerateTrendingInsightsResponse.

  • Several errors can be thrown, including authentication, authorization, and internal errors.

  • Access to this method requires the https://www.googleapis.com/auth/adwords OAuth scope.

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.