Skip to main content
Attaches an existing creative (by creative_id) to an existing ad (by ad_id), replacing whatever creative was attached before. The ad keeps its same ad set, schedule, budget, and targeting. Use to update ad and edit its creative content without creating a new ad.The creative_id typically comes from meta_ads_create_ad_creative (edit-ad workflow: meta_ads_get_ad_creative -> modify payload -> meta_ads_create_ad_creative -> meta_ads_replace_ad_creative) or from any create_*_ad operation (e.g. meta_ads_create_single_image_ad, meta_ads_create_carousel_ad) run with creative_only=true.

Inputs

Output

Type: Dict Returns the ad ID, the attached creative ID, and whether the replacement succeeded. Fields: ad_id, creative_id, updated