---
title: "Meta Ads Options"
method: GET
path: "/v2/credentials/{credential_id}/meta-ads/options"
tags: ["v2 - Meta Ads"]
---

# Meta Ads Options

`GET /v2/credentials/{credential_id}/meta-ads/options`

## Request

- Base URL: `https://api.jubjubapp.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.jubjubapp.com/v2/credentials/{credential_id}/meta-ads/options`
- Auth: HTTP bearer

Ad accounts, Pages (with their Instagram account) and pixels this
connection can use, what is selected, and each ad account's own cap
(`account_caps`). `needs_meta_permission` is set, and the lists empty,
when the grant lacks the ads permissions.

## Path parameters

- `credential_id` string, required

## Query parameters

- `ad_account_id` string, nullable: List this ad account's pixels instead of the selected one's

## Headers

- `Authorization` string
- `X-JubJub-Service-Key` string
- `X-JubJub-Agent-Key` string
- `X-JubJub-Platform-Key` string
- `Origin` string
- `Referer` string
- `X-JubJub-Trial-Token` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/jubjubapp/apis/jubjub-api.md) - [All operations](https://skmtc.dev/jubjubapp/apis/jubjub-api/llms.txt) - [OpenAPI document](https://skmtc.dev/jubjubapp/apis/jubjub-api/revisions/353157b296f2?raw)
