GenerateText

  • The GenerateText RPC uses generative AI to create text assets for campaigns.

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

  • The GenerateText RPC can throw various errors, including AuthenticationError, AuthorizationError, and QuotaError.

GenerateText

rpc GenerateText(GenerateTextRequest) returns (GenerateTextResponse)

Uses generative AI to generate text that can be used as assets in a campaign.

List of thrown errors: AuthenticationError AuthorizationError AssetGenerationError HeaderError InternalError QuotaError RequestError

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.