enroll_status field must be provided with either an OPT_IN or OPT_OUT value.SALES or TRAFFIC objectivecurl -X POST \
-F 'name=Product Extension Creative' \
-F 'object_story_spec={
"link_data": {
"link": "<URL>",
},
"page_id": "<PAGE_ID>",
"instagram_actor_id": "<INSTAGRAM_ACTOR_ID>",
}' \
-F 'access_token=<ACCESS_TOKEN>' \
https://graph.facebook.com/v25.0/act_<AD_ACCOUNT_ID>/adcreatives
curl -X POST \
-F 'name=Product Extension Creative' \
-F 'object_story_spec={
"link_data": {
"link": "<URL>",
},
"page_id": "<PAGE_ID>",
"instagram_actor_id": "<INSTAGRAM_ACTOR_ID>",
}' \
-F 'creative_sourcing_spec={
"associated_product_set_id": "<PRODUCT_SET_ID>",
}' \
-F 'degrees_of_freedom_spec={
"creative_features_spec": {
"product_extensions": {
"enroll_status": "OPT_IN",
"action_metadata": {
"type": "MANUAL",
},
},
},
}' \ -F 'access_token=<ACCESS_TOKEN>' \
https://graph.facebook.com/v25.0/act_<AD_ACCOUNT_ID>/adcreatives
curl -X POST \
-F 'creative={
"object_story_spec": {
"page_id": "<PAGE_ID>",
"link_data": {
"link": "<WEBSITE_URL>",
}
},
}' \
-F "adset_id=<ADSET_ID>" \
-F "name=New Ad" \
-F "status=PAUSED" \
-F "access_token=<ACCESS_TOKEN>" \
https://graph.facebook.com/v25.0/act_<AD_ACCOUNT_ID>/ads
curl -X POST \
-F 'creative={
"object_story_spec": {
"page_id": "<PAGE_ID>",
"link_data": {
"link": "<WEBSITE_URL>",
}
},
"creative_sourcing_spec": {
"associated_product_set_id": "<PRODUCT_SET_ID>",
},
"degrees_of_freedom_spec": {
"creative_features_spec": {
"product_extensions": {
"enroll_status": "OPT_IN",
"action_metadata": {
"type": "MANUAL"
},
}
}
}}' \
-F "adset_id=<ADSET_ID>" \
-F "name=New Ad" \
-F "status=PAUSED" \
-F "access_token=<ACCESS_TOKEN>" \
https://graph.facebook.com/v25.0/act_<AD_ACCOUNT_ID>/ads
| Name | Description |
|---|---|
product_extensions | Product extensions is an Advantage+ creative optimization that showcases products from your catalog below your static single media when it’s likely to improve performance. Please set the enroll_status field with OPT_IN to enable it.It can be added in creative_features_spec. For more details, see the Ad Creative Features Details reference documentation. |
associated_product_set_id | Specifies the product set ID for product extensions in Advantage+ creative optimization. This product set will be shown below your single media. It can be added in the creative_sourcing_spec. See the Ad Creative Sourcing Spec reference documentation for more details. |