Update Ad status
13 mins to complete
In this tutorial, you will learn how to change ad status from active to paused.
![Notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F268d883d-6d0d-43ea-b5de-e8dbbda2a124%2FUntitled.png?table=block&id=3439a5d3-73eb-4d47-a287-781db51db99f&cache=v2)
Video Tutorial
Instructions
- Add Update Facebook Ad node.
- Add Select Facebook Ad Account Ids. Choose your ad account. Connect
ad_account_ids
sockets.
- Add Select Facebook Adset Ids node. Next, choose the adset in which the ad you want to change is located.
- Add Fetch Facebook Adset Ad Ids node. Connect
adset_ids
sockets. Select theeffective_status
of the ads to be fetched.
- Add Patch JSON List node. Connect
ad_ids
todata_list
.
- Add Input String node. Type ACTIVE in the
string
socket of the node. Connect string tovalue
(Patch JSON list).
- Inside Patch JSON list node, add an ADD patch with a path
/status
. Then, in thevalue
field, add{{input.value}}
to add the new status of the ad.
- Add For Each node. Connect
data_list
toitems
. Connectitem
toad
.
Did this answer your question?
😞
😐
🤩
Last updated on August 4, 2021