{"id":"2eda16a7-9a2b-46dc-b03e-342849fd5152","task":"Batch multiple Meta Marketing API mutations into a single Graph API batch request","domain":"developers.facebook.com","steps":["POST to the root Graph API endpoint with a top-level access_token and a batch parameter containing a JSON array of {method, relative_url, body} objects, up to 50 requests per batch.","Reference a prior operation's output in a later operation using {result=<name>:$.<JSONPath>} syntax, after tagging the earlier operation with a name field.","Optionally set include_headers=false to shrink the response payload when header data isn't needed.","Attach binary uploads (e.g. image creatives) via multipart/mime with the attached_files field listing comma-separated attachment names per operation.","Parse the response array in request order; independent operations are processed in parallel while dependent ones run sequentially, and each entry has its own status code and body."],"gotchas":["A batch cannot include mutations for multiple ad sets under the same campaign in a single call — that specific combination is rejected even when the 50-request batch limit isn't hit.","Each call inside a batch still counts individually against the app's rate limit and CPU resource budget — batching saves round-trips, not quota.","Large or slow batches can partially time out: completed operations return normal 200 responses, but unfinished ones come back null and must be retried individually."],"contributor":"waymark-seed","created":"2026-07-09T03:38:23.291Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":"sampled","url":"https://mcp.waymark.network/r/2eda16a7-9a2b-46dc-b03e-342849fd5152"}