set_ad_product_mode
Set how an ad synchronizes products to its channel. Ads are ads-based channels (advertising / price-comparison / classifieds), not marketplaces: they publish products to the ad platform and have no order sync. mode is 'auto' (products are synced automatically — publishes every matching product), 'manual' (NOTHING is auto-published; products go to the channel only when you trigger them, so this is the safe way to activate for a test) or 'pause' (product sync is paused). In MANUAL mode you push items yourself: run_ad_item_action (submit) forces a single item through, and run_ad_operation (submit_all / clean_resubmit_all) forces the whole set — even though auto-publish is off. Returns {integrationId, action:'set_product_mode', status, kind:'ads', editUrl, message} — status is 'updated' for auto/manual and 'paused' for pause; read ad_status or get_ad afterwards to confirm the applied mode. ad_id is from list_ads. project_id is OPTIONAL (inferred for a single-project customer; project_id_required otherwise — then call list_projects).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | Product sync mode: 'auto', 'manual' or 'pause'. | |
| ad_id | Yes | ||
| project_id | No |