# Get Meta ad details

Returns public metadata for one Meta ad, including its advertiser. Requires `ad_archive_id` and the advertiser `page_id`, both from a search or page-ads result. Optional `country` sets the region; `raw` returns the unprocessed payload.

- Platform: Meta Ads
- Request: `GET https://api.toolzerhub.com/v1/meta/ad-details`
- Auth: `x-api-key` header
- Cost: 1 credit per successful request. Failed requests are not billed.
- Page: https://docs.toolzerhub.com/reference/meta-ads/get-ad-details

| Parameter | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `ad_archive_id` | query | yes | string | Ad archive ID, from the ad_archive_id field of a search or page-ads result. |
| `page_id` | query | yes | string | Numeric advertiser Page ID, from a Search Pages result or Resolve Page ID. |
| `country` | query | no | string | ISO 3166-1 alpha-2 country code. Examples: IN, US, GB, DE. |
| `raw` | query | no | boolean | Set to true to return the unprocessed Ad Library payload instead of the normalized response. |

## Example request

```bash
curl "https://api.toolzerhub.com/v1/meta/ad-details?ad_archive_id=<ad_archive_id>&page_id=<page_id>" \
  -H "x-api-key: $TOOLZERHUB_API_KEY"
```

Success responses are wrapped as `{ "data": ... }`. Errors return `{ "error": { "code", "status", "message", "retryable", "details" } }`. See https://docs.toolzerhub.com/docs/responses-and-errors.
