This guide covers creating ads and ad creatives with opted-in Advantage+ creative features.
Previously, Advantage+ creative was only supported through standard enhancements, a bundle of Advantage+ creative features. Starting with Marketing API v22.0 and applying to all subsequent versions, the opt-in and preview functionality for standard enhancements will be deprecated. Instead, you can opt-in to or preview individual Advantage+ creative features by following the guidelines outlined in this document.
Set up your ad campaigns using the following instructions:
Create an ad using the /ads endpoint or create a standalone ad creative using the /adcreatives endpoint. With either approach, specify the individual opt-in features in the creative_features_spec parameter.
To implement the image_touchups, inline_comment, and image_templates opt-in features:
// creative example
curl -X POST \
-F 'name=Advantage+ Creative Creative' \
-F 'degrees_of_freedom_spec={
"creative_features_spec": {
"image_touchups": {
"enroll_status": "OPT_IN"
},
"inline_comment": {
"enroll_status": "OPT_IN"
},
"image_template": {
"enroll_status": "OPT_IN"
}
}
}' \
-F 'access_token=<ACCESS_TOKEN>' \
https://graph.facebook.com/v25.0/act_<AD_ACCOUNT_ID>/adcreatives
// ad example
curl -X POST \
-F 'adset_id=<ADSET_ID>' \
-F 'creative={
"name": "Advantage+ Creative Adgroup",
"object_story_spec": {
"link_data": {
"image_hash": "<IMAGE_HASH>",
"link": "<URL>",
"message": "You got this.",
},
"page_id": "<PAGE_ID>"
},
"degrees_of_freedom_spec": {
"creative_features_spec": {
"image_touchups": {
"enroll_status": "OPT_IN"
},
"inline_comment": {
"enroll_status": "OPT_IN"
},
"image_template": {
"enroll_status": "OPT_IN"
}
}
}
}' \
https://graph.facebook.com/v25.0/act_<AD_ACCOUNT_ID>/ads
These are the Advantage+ creative opt-in features that can be implemented in the creative_features_spec parameter.
| Name | Description |
|---|---|
| Optional. Default is opt-in. By default, 4:5 and 9:16 placements are enabled. If you wish to control how the images are adjusted, you can use the The Note: This feature is labeled **Image touch-ups* in Ads Manager. |
| Optional. The Note: This feature is labeled Add dynamic overlays in Ads Manager. If you want to have manual control on how the overlay is rendered, see the Ad Creative Link Data Image Layer Spec reference documentation for more details. |
| Optional. The Note: This feature is labeled Create sticker CTA in Ads Manager. |
| Optional. The Note: This feature is labeled Dynamic description in Ads Manager. |
| Optional. The The
{
"text_extraction": {
"enroll_status": "OPT_IN"
}
Note: This feature is labeled Enhance CTA in Ads Manager. |
| Optional. The Note: This feature is labeled Generate backgrounds in Ads Manager. |
| Optional. The Note: This feature is labeled Adjust brightness and contrast in Ads Manager. |
| Optional. The Note: This feature is labeled Add overlays in Ads Manager. |
| Optional. The Note: This feature is labeled Visual-touch ups in Ads Manager. |
| Optional. The Note: This feature is labeled Expand image in Ads Manager. |
| Optional. The Note: This feature is labeled Relevant comments in Ads Manager. |
| Optional. The Note: This feature is labeled Dynamic media in Ads Manager. See Dynamic Media for more information. |
| Optional. The Note: This feature is labeled Flex media or Flexible media in Ads Manager. |
| Optional. The Note: This feature is labeled Show products in the Collection dropdown within format display options in Ads Manager. See Product Extensions (Add Catalog Items) Features on Marketing API for more details. |
| Optional. The Note: This feature is labeled Reveal details over time in Ads Manager. |
| Optional. The The
{
"text_extraction": {
"enroll_status": "OPT_IN"
}
Note: This feature is labeled Text improvements in Ads Manager. |
| Optional. The Note: This feature is labeled Translate Text in Ads Manager. |
| Optional. The Note: This feature is labeled Visual-touch ups in Ads Manager. |
Features specified as OPT_IN but ineligible for the given ad setup will be automatically removed from the creative_features_spec parameter. For example, image_templates (or Add overlays) is not eligible to be applied to video format creatives — if you opt-in to this feature on a video ad, it will be automatically removed as ineligible.
To confirm the final configuration, use a GET request to retrieve the creative_features_spec parameter.
Don't worry if you see standard_enhancements or any standard enhancements sub-features appended to creative_features_spec when you retrieve it. As long as they are not set to OPT_IN, they will not be applied. Standard enhancements are in the process of being deprecated, and this behavior will be phased out once the deprecation is complete.
Most Advantage+ creative features can be opted into using the creative_features_spec parameter with the exception of the music feature which is implemented with the asset_feed_spec parameter. To opt out of the music feature, pass the assest_feed_spec.audios parameter in as empty.
To opt into the music feature using the asset_feed_spec parameter:
curl -X POST \
-F 'name="Advantage+ Creative Music"' \
-F 'object_story_spec={
"page_id": "<PAGE_ID>"
}' \
-F 'asset_feed_spec={
"audios": [
{
"type": "random"
}
]
}' \
-F 'access_token=<ACCESS_TOKEN>' \
https://graph.facebook.com/v25.0/act_<AD_ACCOUNT_ID>/adcreatives
If the opted-in features include features generated with AI, you must create the ad with a PAUSED status, then follow Step 2 and Step 3 below to complete the publishing process. If no AI-generated features are included, Step 2 and Step 3 are optional, and you can create the ad with an ACTIVE status.
Note: When creating an ad through the /ads endpoint, the status field on the ad is set to PAUSED by default.
See the Ad Previews reference for more information on the existing functionality of previews.
To preview an Advantage+ creative feature, add the creative_feature parameter to your existing preview request with the desired feature name specified.
Features that support preview include: image_templates, image_touchups, video_auto_crop, enhance_cta, text_optimizations, image_background_gen, image_uncrop, and description_automation.
curl -X GET -G \
-d 'ad_format="DESKTOP_FEED_STANDARD"' \
-d 'creative_feature=<FEATURE_NAME> \
-d 'access_token=<ACCESS_TOKEN>' \
https://graph.facebook.com/v25.0/<AD_ID>/previews
{
"data": [
{
"body": "<iframe src='<PREVIEW_URL>'></iframe>",
"transformation_spec": {
"<FEATURE_NAME>": [
{
"body": "<iframe src='<PREVIEW_URL>'></iframe>",
"status": "eligible"
}
]
}
}
]
}
Click on the returned URL to see the previews.
Note: If a transformation_spec object is not returned, the creative is not eligible for the Advantage+ creative feature on the chosen placement, and the feature will not be applied.
Once you have reviewed the previews and deemed them acceptable to publish, set the ad to ACTIVE, if it is not already. If any of the previews are not acceptable, create a new ad or ad creative without the corresponding features opted-in.
ACTIVEWhen your ad is ready, set its status to ACTIVE.
curl -X POST \
-F 'status=ACTIVE' \
-F 'access_token=<ACCESS_TOKEN>' \
https://graph.facebook.com/v25.0/<AD_ID>
Other Advantage+ creative features:
adapt_to_placement and media_type_automationproduct_extensionsimage_background_gen and image_uncropOther adcreative resources:
Advantage+ creative was previously available as standard enhancements: