Ad ID to update (from openai_ads_list_ads). Do not include this inside update_payload.
update_payload
object or string
Yes
-
OpenAI Ads ad update payload as an json object. Only the fields provided here are sent to OpenAI Ads. If you include creative, send the full creative object. Use focused operations first when they exist, for example openai_ads_update_ad_status or openai_ads_rename_ad. Do not include identity fields like ad_id or id.
dry_run
boolean
No
False
When true, return the resolved update payload without calling OpenAI Ads.
Type: DictReturns the updated ad object exactly as returned by the OpenAI Ads API. In dry_run mode, returns the resolved payload without calling the API.Fields: dynamic (depend on the inputs)Example: