13 mins to complete
In this tutorial, you will learn how to change ad status from active to paused.
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
.