| Source platform | Supported media types |
|---|---|
Facebook post | Image, Video, Image Carousel |
Instagram post | Image, Video, Image Carousel |
source_instagram_media_id of the organic Instagram post in your ad creative, along with the required identity fields. This media should be eligible to be boosted as an ad.curl -X POST \
-F 'source_instagram_media_id=<IG_MEDIA_ID>' \
-F 'object_id=<PAGE_ID>' \
-F 'instagram_user_id=<IG_USER_ID>' \
-F 'threads_user_id=<THREADS_USER_ID>' \
-F 'call_to_action={"type": "LEARN_MORE", "value": {"link": "<LINK_URL>"}}' \
-F 'access_token=<ACCESS_TOKEN>' \
https://graph.facebook.com/v25.0/act_<AD_ACCOUNT_ID>/adcreatives
{ "id": "<CREATIVE_ID>" }
object_story_id (<PAGE_ID>_<POST_ID>) to identify the Facebook post, along with the required identity fields.curl -X POST \
-F 'object_story_id=<PAGE_ID>_<POST_ID>' \
-F 'instagram_user_id=<IG_USER_ID>' \
-F 'threads_user_id=<THREADS_USER_ID>' \
-F 'call_to_action={"type": "LEARN_MORE", "value": {"link": "<LINK_URL>"}}' \
-F 'access_token=<ACCESS_TOKEN>' \
https://graph.facebook.com/v25.0/act_<AD_ACCOUNT_ID>/adcreatives
{ "id": "<CREATIVE_ID>" }
curl -X POST \
-F 'name=<AD_SET_NAME>' \
-F 'adset_id=<ADSET_ID>' \
-F 'creative={"creative_id": "<CREATIVE_ID>"}' \
-F 'status=PAUSED' \
-F 'access_token=<ACCESS_TOKEN>' \
https://graph.facebook.com/v25.0/act_<AD_ACCOUNT_ID>/ads