List an ad account's pixels
The ad account's Meta (Facebook) pixels — for discovering the optional `pixelId` a campaign create can attach. Read-only by design: pixels are created and managed in Meta, not through this API.
/ad-accounts/{adAccountId}/pixelsBeta
Authorization
x-api-key x-date x-signature x-api-version Your API key (the ApiKeys document id).
In: header
Current timestamp as an IMF-fixdate string (GMT, US locale) "EEE, dd MMM yyyy HH:mm:ss z", e.g. "Sun, 06 Dec 2020 12:59:11 GMT". 30-second TTL.
In: header
HMAC-SHA256 of the x-date string keyed by your secret, lowercase hex.
In: header
API version you're coding against — currently 1. Required; a missing or unsupported value returns 400 with Missing or unsupported x-api-version header. Supported versions: 1.
In: header
Path Parameters
The Meta ad account id.
Response Body
application/json
application/json
application/json
application/json
Try it
read-onlyKept in this tab only and signed in your browser — your secret never leaves your device.
Path
Enter your key and secret to send.
curl -X GET "https://example.com/ad-accounts/act_1234567890/pixels"[ { "id": "string", "name": "string", "lastFiredTime": "string" }]{ "message": "string"}{ "message": "string"}{ "message": "string"}List marketing message campaigns in an ad account
Marketing message campaigns in one ad account, cursor-paginated — echo a response's `nextCursor` back as `after` for the next page. Returns `400` if the org isn't connected to Meta Ads.
Create a marketing message campaign
Create a marketing message campaign in this ad account. Meta creates the campaign, ad set, ad and creative together in one call.