> ## Documentation Index
> Fetch the complete documentation index at: https://docs.adside.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Keyword-ideas generate

> Generate new Google Search keyword ideas from up to 20 seed terms, a public page, both, or a whole site. Returns historical volume, competition and bid estimates without changing the account. Resolve geo and language IDs first; paginate explicitly with next_page_token.

CLI: `adside google-ads keyword-ideas generate`



## OpenAPI

````yaml /api-reference/openapi.yaml post /v1/workspaces/{workspaceId}/google-ads/keyword-ideas/generate
openapi: 3.1.0
info:
  title: Adside API
  version: 1.0.0
  description: >-
    Campaigns, creatives, assets and reporting across your ad accounts. Call it
    with a personal API key as a bearer token, or with the `adside` CLI: each
    page names its command.
servers:
  - url: https://api.adside.ai
    description: Production
security:
  - userAccess: []
tags:
  - name: Account
  - name: Reporting
  - name: Meta
  - name: Google Ads
  - name: LinkedIn
  - name: TikTok
  - name: Reddit
  - name: Snapchat
  - name: X
  - name: Google Tag Manager
  - name: Creatives
  - name: Creative styles
  - name: Media
  - name: Characters
  - name: Assets
  - name: Brands
  - name: Brain
  - name: Research
  - name: Boards
  - name: Artifacts
  - name: Audiences
  - name: Ad comments
  - name: Publications
  - name: Routines
  - name: Skills
  - name: To-dos
  - name: Audit
  - name: Credits
paths:
  /v1/workspaces/{workspaceId}/google-ads/keyword-ideas/generate:
    post:
      tags:
        - Google Ads
      summary: Keyword-ideas generate
      description: >-
        Generate new Google Search keyword ideas from up to 20 seed terms, a
        public page, both, or a whole site. Returns historical volume,
        competition and bid estimates without changing the account. Resolve geo
        and language IDs first; paginate explicitly with next_page_token.


        CLI: `adside google-ads keyword-ideas generate`
      operationId: google-ads.generate_keyword_ideas
      parameters:
        - name: workspaceId
          in: path
          required: true
          schema:
            type: string
            minLength: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $schema: https://json-schema.org/draft/2020-12/schema
              type: object
              properties:
                customer_id:
                  description: >-
                    Omit it: it defaults to the account this workspace is
                    connected to, and any other account is refused.
                  type: string
                seed:
                  oneOf:
                    - type: object
                      properties:
                        type:
                          type: string
                          const: KEYWORDS
                        keywords:
                          minItems: 1
                          maxItems: 20
                          type: array
                          items:
                            type: string
                            minLength: 1
                          description: One to 20 seed keywords or phrases.
                      required:
                        - type
                        - keywords
                    - type: object
                      properties:
                        type:
                          type: string
                          const: URL
                        url:
                          type: string
                          format: uri
                          description: A specific public page to crawl.
                      required:
                        - type
                        - url
                    - type: object
                      properties:
                        type:
                          type: string
                          const: KEYWORDS_AND_URL
                        keywords:
                          minItems: 1
                          maxItems: 20
                          type: array
                          items:
                            type: string
                            minLength: 1
                          description: One to 20 seed keywords or phrases.
                        url:
                          type: string
                          format: uri
                          description: A specific public page to crawl.
                      required:
                        - type
                        - keywords
                        - url
                    - type: object
                      properties:
                        type:
                          type: string
                          const: SITE
                        site:
                          type: string
                          minLength: 1
                          maxLength: 2048
                          description: >-
                            A public site domain (for example www.example.com)
                            whose pages Google may use as idea sources.
                      required:
                        - type
                        - site
                  description: >-
                    Exactly one seed mode: keywords, one page, both, or a whole
                    site.
                geo_target_ids:
                  description: >-
                    Geo target IDs from `adside google-ads geo-targets get`.
                    Strongly recommended; omitting them requests worldwide
                    ideas.
                  maxItems: 10
                  type: array
                  items:
                    type: string
                    pattern: ^\d+$
                language_id:
                  description: >-
                    Language ID from `adside google-ads languages get`. Defaults
                    to English (1000).
                  default: '1000'
                  type: string
                  pattern: ^\d+$
                network:
                  default: GOOGLE_SEARCH
                  type: string
                  enum:
                    - GOOGLE_SEARCH
                    - GOOGLE_SEARCH_AND_PARTNERS
                include_adult_keywords:
                  default: false
                  type: boolean
                include_average_cpc:
                  default: true
                  type: boolean
                include_monthly_volumes:
                  description: Show the monthly volume series returned for every idea.
                  default: false
                  type: boolean
                page_size:
                  description: >-
                    Ideas to return in this call. Deliberately capped below
                    Google's 10,000-result limit to protect agent context.
                  default: 100
                  type: integer
                  minimum: 1
                  maximum: 1000
                page_token:
                  description: >-
                    Exact next-page token from a previous call. All other
                    request fields must remain identical.
                  type: string
                  minLength: 1
              required:
                - seed
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $schema: https://json-schema.org/draft/2020-12/schema
      security:
        - userAccess: []
components:
  securitySchemes:
    userAccess:
      type: http
      scheme: bearer
      description: >-
        A personal API key (`adside_pat_…`) or a token from `adside login`.
        Either carries the permissions of the person it belongs to.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.