The Advantage+ Creative Preview API supports generating previews for ads both before and after publishing the ad.
See the Ad Preview documentation for more information on the existing functionality.
curl -X GET \
-d 'ad_format="DESKTOP_FEED_STANDARD"' \
-d 'access_token=<ACCESS_TOKEN>' \
https://graph.facebook.com/v21.0
/<CREATIVE_ID>/previews
{ "data": [ { "body": "<PREVIEW_LINK>", } ] }
curl -X GET \
-d 'ad_format="DESKTOP_FEED_STANDARD"' \
-d 'access_token=<ACCESS_TOKEN>' \
-d 'creative_feature=standard_enhancements' \
https://graph.facebook.com/v21.0
/<CREATIVE_ID>/previews
{ "data": [ { "body": "<preview link>", "transformation_spec": { "standard_enhancements": [ { "body": "<preview link>", "optimization_type_description": "Vary image aspect ratio", "status": "eligible" }, { "body": "<preview link>", "optimization_type_description": "Image templates for Feed", "status": "eligible" } ] } } ] }
See the Ad Preview documentation for existing parameters. New parameters are listed below.
Name | Description |
---|---|
| Creative feature to apply to preview. |
Advantage+ Creative previews are currently only supported on the MOBILE_FEED_STANDARD
, INSTAGRAM_STANDARD
, INSTAGRAM_REELS
and INSTAGRAM_STORY
placements.
Image ad previews on MOBILE_FEED_STANDARD
may appear cropped, even without manual crops, because the placement supports a limited range of aspect ratios. See Aspect ratios supported by placements in Meta Ads Manager for more information about aspect ratio support for each placement.
The following transformations in Standard Enhancements do not have preview support: