---
title: "Company Ads"
method: GET
path: "/v1/scrape/facebook-ad-library/company-ads"
tags: ["facebookAdLibrary"]
---

# Company Ads

`GET /v1/scrape/facebook-ad-library/company-ads`

## Request

- Base URL: `https://api.sociavault.com`
- URL: `https://api.sociavault.com/v1/scrape/facebook-ad-library/company-ads`
- Auth: API key in header `X-API-Key`

Get all the ads a company has running

## Query parameters

- `pageId` string
- `companyName` string
- `country` string
- `status` 'ALL' | 'ACTIVE' | 'INACTIVE'
- `media_type` 'ALL' | 'IMAGE' | 'VIDEO' | 'MEME' | 'IMAGE_AND_MEME' | 'NONE'
- `language` string
- `start_date` string
- `end_date` string
- `cursor` string
- `trim` boolean

## Response `200`

Successful response

**Key Response Fields:**
- `is_active`: Whether the ad is currently running
- `ad_archive_id`: The *actual* ad id

## Other responses

- `400`: Bad Request - Invalid parameters or missing required fields
- `401`: Unauthorized - Invalid or missing API key
- `402`: Payment Required - Insufficient credits
- `500`: Internal Server Error - Service configuration or processing error

---

[API](https://skmtc.dev/sociavault/apis/sociavault-api.md) · [All operations](https://skmtc.dev/sociavault/apis/sociavault-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sociavault/apis/sociavault-api/revisions/0a430c97f53a?raw)
