Create Ad Creative
create_adcreativeCreate Meta ad creatives by supplying a JSON story spec with page ID and creative content (image, video, or carousel) for use in ad campaigns.
Instructions
Create an ad creative. The object_story_spec is a JSON string defining the creative content (image, video, or carousel with link_data or video_data). Requires a page_id.
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": {
"name": "<name>",
"object_story_spec": "<object_story_spec>"
},
"name": "create_adcreative"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Creative name | |
| object_story_spec | Yes | JSON creative spec. Image example: {"page_id":"123","link_data":{"image_hash":"abc","link":"https://...","message":"Ad text","call_to_action":{"type":"LEARN_MORE","value":{"link":"https://..."}}}} |