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

# Google Ad Library Advertiser Search

> Collect normalized public google ad library advertiser search data.

# Google Ad Library Advertiser Search

```json theme={"system"}
{
  "query": "Nike",
  "region": "US"
}
```

The endpoint returns the complete result set produced by the search and bills the actual number of stored advertisers.

## Result Fields

Task results use the stable SocQ fields below. Source-specific field names and formats are normalized without inferring or enriching values that the source did not provide. To request a smaller field set, use `fields` for MCP queries, `_result_fields` for typed tools, or `--result-fields` in the CLI. Declared fields remain present when their value is `null`.

| Field | Type | Nullable | Description |
| - | - | - | - |
| `id` | `string` | Yes | Unique identifier for this result item. |
| `platform` | `string` | No | Platform the result belongs to, such as `instagram` or `linkedin`. |
| `resource` | `string` | No | SocQ resource represented by the result, such as `videos` or `comments`. |
| `type` | `string` | No | Category of the result item, such as `video`, `post`, or `comment`. |
| `url` | `string` | Yes | Public URL of the result item when available. |
| `published_at` | `string` | Yes | Time the source item was published, in ISO 8601 format when available. |
| `collected_at` | `string` | No | Time SocQ collected or processed this result, in ISO 8601 format. |
| `name` | `string` | Yes | Advertiser or organization name. |
| `website` | `string` | Yes | Website associated with the account, company, or advertiser. |
| `logo_url` | `string` | Yes | URL of the company or advertiser logo. |
| `region` | `string` | Yes | Region, state, or province name. |
| `ads_count` | `integer` | Yes | Number of ads associated with the advertiser. |

## Completed Task Response

```json theme={"system"}
{
  "code": 200,
  "data": {
    "task_id": "24KN5RQK3NBJRXUB",
    "status": "succeeded",
    "public_id": "google-ad-library/advertiser-search",
    "result_count": 10,
    "credits_amount": 5,
    "results": {
      "limit": 1,
      "next_cursor": "MTAyOTE",
      "has_more": true,
      "schema_id": "advertiser",
      "schema_version": "1.0",
      "items": [
        {
          "id": "AR18100938063227125761",
          "platform": "google-ad-library",
          "resource": "advertiser-search",
          "type": "advertiser",
          "url": null,
          "published_at": null,
          "collected_at": "2026-08-11T03:03:35.784530Z",
          "name": "Nike Lee",
          "website": null,
          "logo_url": null,
          "region": null,
          "ads_count": null
        }
      ]
    }
  }
}
```

## Use with MCP and CLI

| Interface | Value |
| - | - |
| REST | `POST /v1/google-ad-library/advertiser-search` |
| Compact MCP | `socq_execute` with `endpoint: "google-ad-library/advertiser-search"` |
| Typed MCP | `socq_google_ad_library_advertiser_search` |
| CLI | `socq google-ad-library advertiser-search` |

The endpoint uses the asynchronous task flow and returns a task\_id. Poll the task endpoint to read normalized results.


## OpenAPI

````yaml api-manual/agent-api/agent-api.json POST /v1/google-ad-library/advertiser-search
openapi: 3.1.0
info:
  title: SocQ Agent API
  version: v1-050b21a3b206
  description: Asynchronous social data API generated from the SocQ Capability Registry.
servers:
  - url: https://api.socq.ai
security: []
paths:
  /v1/google-ad-library/advertiser-search:
    post:
      tags:
        - google-ad-library
      summary: Google Ad Library Advertiser Search API
      description: Search public Google advertisers.
      operationId: socq_google_ad_library_advertiser_search
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $schema: https://json-schema.org/draft/2020-12/schema
              type: object
              additionalProperties: false
              properties:
                query:
                  type: string
                  minLength: 1
                  description: Search query.
                region:
                  type: string
                  minLength: 1
              required:
                - query
      responses:
        '200':
          description: Task accepted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgentSubmitResponse'
        '422':
          description: Input validation failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgentValidationErrorResponse'
      security:
        - bearerAuth: []
        - apiKeyAuth: []
components:
  schemas:
    AgentSubmitResponse:
      type: object
      properties:
        code:
          type: integer
          const: 200
        data:
          type: object
          properties:
            task_id:
              type: string
            status:
              type: string
            created_time:
              type:
                - string
                - 'null'
          required:
            - task_id
            - status
    AgentValidationErrorResponse:
      type: object
      properties:
        code:
          type: integer
          const: 422
        error:
          type: object
          properties:
            message:
              type: string
            type:
              type: string
            details:
              type: object
          required:
            - message
            - type
      required:
        - code
        - error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````

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