In this tutorial, you will learn how to create a set of rules to automatically change your bids or budgets. To implement it, you will need to have the rules ready, f.e. “increase bid by 10% if the cost per purchase is lower than $50 in the last 3 days”
Video Tutorial
Instructions
- Add Select Facebook Ad Account Ids. Choose the accounts to that you would like to apply the rules.
- Add Fetch Facebook Campaign Ids node. Select
ACTIVE
aseffective_status
. Connect ad_account_ids sockets. - Add Fetch Facebook Campaigns node. Connect
campaign_ids
sockets. - Add Filter node. Connect
campaigns
toitems
. Choose/name
as apointer
. Choosenot contains
as anoperator.
Enter thevalue
you don’t want your campaign name to include. - Add Extract List node. Connect
items
todata_list
. Input/id
as apointer
. - Add Parse strings to ids node. Connect
values
todata_list
. SelectFacebook Campaign Id
asschema
. - Add Fetch Facebook Campaign Adsets IDs node. Connect
campaign_ids
toresult
. ChooseACTIVE
aseffective_status
. - Add Extract List node. Connect
adset_ids
todata_list
. Input/id
as apointer
. - Add Fetch Facebook Insights node. Connect
ad_account_ids
sockets. Choose your desireddate_range
. Chooseadset
level
. Add the relevant fields:adset_id
,adset_name
,actions
,cost_per_action_type
. - Add Filter node. Connect
insights
toitems
. Build 2 filters: pointer:/{{your_metric_name}}
operator:not equals
value:null
pointer:/your_metric_name
operator:greater than/less than
value:{{your_value}}
- Add Extract List node. Connect
items
todata_list
. Input/adset_ids
as apointer
. - Add Calculate Set Operation node. Connect
data_list
(Extract List 1) toa
. Connectdata_list
(Extract List 2) tob
. Chooseintersection
operator
. - Add Parse Strings to ids node. Connect
data
tovalues
. SelectFacebook Adset Id
schema. - Follow the tutorial from section C to complete the automation.