ghl_ad_fb_pixel_list
Retrieves Facebook conversion pixels for a location, with optional pagination, field projection, and channel selection for Facebook or Instagram datasets.
Instructions
Get conversion pixels
Retrieve Facebook conversion pixels for a location. channel selects between two unrelated behaviours. For FACEBOOK (the default) the response is { items, total }, or a paginated { items, paging } envelope when limit (max 100) is given — pass after from paging.next for the next batch — and projection (comma-separated, from createdAt, fbIsCrmPixel, fbPixelCode, fbPixelId, name, type) narrows each item. For IG the response is instead a bare array of Instagram datasets carrying only an id, and limit, after, and projection are ignored.
Endpoint: GET /ad-publishing/facebook/pixels (Version header: v3; source: v3/ad-publishing-v3.json)
OAuth scopes: adPublishing.readonly
Pagination params: limit — pass them to page through full result sets.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"locationId": "<locationId>"
},
"name": "ghl_ad_fb_pixel_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Opaque cursor for the next batch, taken from the previous response paging.next | |
| limit | No | Page size for a paginated fetch (max 100, FACEBOOK channel only). When set, the response is a { items, paging } envelope instead of { items, total }. | |
| pageId | No | Facebook page ID | |
| channel | No | Channel type | |
| igUserId | No | Instagram user ID | |
| locationId | Yes | Location identifier | |
| projection | No | Fields to return on each item, comma-separated (e.g. ?projection=name,fbPixelId). When set, only the requested fields are returned. Selectable fields: createdAt, fbIsCrmPixel, fbPixelCode, fbPixelId, name, type — any other value is rejected. Omit the param entirely to receive the full item as-is. |