ghl_ad_fb_pixel_upsert
Creates a Facebook conversion pixel or renames an existing one by passing conversionPixelId; only renaming is supported for updates, and INSTAGRAM_DM renames are rejected.
Instructions
Upsert conversion pixel
Create a Facebook conversion pixel, or rename an existing one by passing conversionPixelId. The two paths acknowledge differently: a create returns the new id, a rename returns only { success: true }. Renaming is the only update supported, and it rejects type: INSTAGRAM_DM. Creating an INSTAGRAM_DM dataset requires igUserId and fails if one already exists for that account.
Endpoint: PUT /ad-publishing/facebook/pixels (Version header: v3; source: v3/ad-publishing-v3.json)
OAuth scopes: adPublishing.write
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": {
"body": "<body>"
},
"name": "ghl_ad_fb_pixel_upsert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Request body (schema carried verbatim from the official OpenAPI spec). |