# Search Creatives

Searches the Ads Transparency Center by text (brand, advertiser name, or domain) within a region. Returns raw creative payloads. Use advertiser.search first when you only know the advertiser by name.

- Platform: [Google Ads Transparency](https://docs.upscrape.com/docs/platforms/google-adstransparency)
- Capability ID: `google-adstransparency.creative.search`
- Cost: 1 credit per request
- Maximum runtime: 120 seconds
- Execute endpoint: `POST https://data.upscrape.com/execute`

## Request

Use the exact public capability ID in the shared execute envelope.

```bash
curl -X POST https://data.upscrape.com/execute \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"limit":5,"query":"nike","region":"US"},"capability":"google-adstransparency.creative.search"}'
```

## Input

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `cursor` | `string` | No | Page token from a previous response's next_cursor. |
| `limit` | `integer` | No | Maximum number of creatives to return (default: 50). |
| `query` | `string` | Yes | Free text: advertiser name, brand, or domain. |
| `region` | `string` | No | ISO-3166 alpha-2 region code, or "anywhere" (default: US). |

### Example input

```json
{
  "limit": 5,
  "query": "nike",
  "region": "US"
}
```

## Response

Successful output is returned in `results[0].data`. Raw platform output is intentionally open-ended and may evolve with the upstream source.

No committed sample output is available for this capability.


## Execution behavior

A `200` response completed inline. A `202` response was queued; poll `GET /jobs/{id}` until the job reaches `completed` or `failed`. Use an `Idempotency-Key` when retrying must not create a duplicate logical job.

See [jobs and results](https://docs.upscrape.com/docs/api/jobs), [errors and retries](https://docs.upscrape.com/docs/api/errors), and [idempotency](https://docs.upscrape.com/docs/api/idempotency).

## Machine-readable contract

- [Capability OpenAPI 3.1](https://docs.upscrape.com/docs/platforms/google-adstransparency/google-adstransparency.creative.search/openapi.json)
- [Platform OpenAPI 3.1](https://upscrape.com/scrapers/google-adstransparency/openapi.json)
- [Focused coding-agent prompt](https://upscrape.com/scrapers/google-adstransparency/capabilities/google-adstransparency.creative.search/llm.md)
