12 mins to complete
In this tutorial, you will learn how to increase or decrease the budget of a selected campaign.
Video Tutorial
Instructions
- Add Update Facebook Campaign node.
- Add Select Facebook Ad Account Id. Connect
ad_account_ids
sockets. - Add Select Facebook Campaign Id node. Next, choose the campaign that you want to update.
- Add Fetch Facebook Campaign node. Connect
campaign_id
sockets. Please, remember that thedaily_budget
is reported in cents! - Add Extract node. Connect
campaign
todata
. Type in/daily_budget
in thepointer
field. - Add Calculate Math Operation node. Connect data (Extract) to
b
socket. - Add Input Number node. Input the
budget multiplier
. In this example, the budget is being doubled. Choosemultiplication
operator
. - Add Patch JSON mode. Connect
campaign_id
(Fetch Facebook Campaign) todata
. Connectdata
(Calculate Math Operation) tovalue
. Add ADD patch with apath /daily_budget.
Type in{{input.value}}
in thevalue
field. - Connect
data
(Patch JSON) tocampaign
(Update Facebook Campaign).