method | enum (GET, POST, DELETE, PUT) | Yes | - | HTTP method: GET, POST, DELETE or PUT. DELETE is permanent for most objects; use the status operations to pause or delete ads normally. |
relative_url | string | Yes | - | Graph API path (Graph API v26.0, added for you) without the version or a leading slash, e.g. ‘120249701623300208’ to update an ad, ‘120249701623300208?fields=name,tracking_specs’ to read one, or ‘act_123/ads’ to create. |
body | object or string | No | - | POST/PUT parameters, as an object (nested objects and lists are JSON-encoded for you) or a URL-encoded string, e.g. {“tracking_specs”: [{“action.type”: [“offsite_conversion”], “fb_pixel”: [“705510069587299”]}]}. Updates that replace a list, like tracking_specs, must include the existing entries to keep. |
page_id | string | No | - | Facebook Page ID whose Page access token to send for this call instead of the user token. Set it when Meta answers that the call needs a Page access token (e.g. Page canvases, lead forms, Page posts). |
name | string | No | - | Optional call name, so a later call can reference its result (e.g. {result=create-ad:$.id}). References only work within the same group of 50 calls. |