# REST Resource: accounts.textSuggestions

- [Resource: ProductTextGenerationSuggestion](https://developers.google.com/merchant/api/reference/rest/productstudio_v1alpha/accounts.textSuggestions#ProductTextGenerationSuggestion)
  - [JSON representation](https://developers.google.com/merchant/api/reference/rest/productstudio_v1alpha/accounts.textSuggestions#ProductTextGenerationSuggestion.SCHEMA_REPRESENTATION)
- [Methods](https://developers.google.com/merchant/api/reference/rest/productstudio_v1alpha/accounts.textSuggestions#METHODS_SUMMARY)

## Resource: ProductTextGenerationSuggestion

Text generated for a product, optionally including its quality score.

| JSON representation |
|---|
| ``` { "text": string, "score": number, "changeSummary": string } ``` |

| Fields ||
|---|---|
| `text` | `string` The text generated |
| `score` | `number` The quality score associated with the generation. Heuristic implemented according to the feedgen team's implementation styles. |
| `changeSummary` | `string` A brief summarization of all the changes that have been made. |

| ## Methods ||
|---|---|
| ### `https://developers.google.com/merchant/api/reference/rest/productstudio_v1alpha/accounts.textSuggestions/generateProductTextSuggestions` | GenerateProductTextSuggestions generates a set of candidate text completions (e.g., product titles, descriptions) based on provided product information. |