Once we have created a Facebook ad campaign, set the campaign entities, mapped the asset source and published the campaign, we can configure contextual data triggers. These triggers act as a set of rules and conditions for the ads. Let's start.
The timezone setting step is recommended before starting with social campaign setup. |


You will see the set timezone values, only after you update and edit the campaign. |

| Components | Description |
|---|---|
| Segments | This is the list of values in the Rotation Group column of the asset source. You can select more than one segment at a time if they have the same rules and conditions. |
| Rule Builder | Allows you to create the rule set for the selected segment. |
| Contextual Data triggers | The right-hand side menu displays the contextual triggers that are available on the platform. The available contextual triggers are: Time of Day, Day of Week, Weather triggers (Weather conditions, weather forecast, weather parameters) and Air quality triggers (LAQI, BAQI, dominant pollutants, air quality forecast) |
| Conditional Triggers | Allows you to create conditional nodes in the rule builder. Choose from All of these, Any of these or None of these. |




| Conditional Trigger Name | Type | Operators |
|---|---|---|
| Time | Time of Day | Greater Than, Less Than, Greater Than equal to, Less than equal to |
| Time | Day of Week | Equal To |
| Conditional Trigger Name | Type | Service Frequency | Operators |
|---|---|---|---|
| Weather | Weather Conditions | Current, Forecast 24 hours upto 120 hours | Is Not Contained in, Is Contained In |
| Weather | Temperature | Current, Forecast 24 hours upto 120 hours | Greater Than, Less Than, Greater Than Equal To, Less Than Equal To |
| Weather | Relative humidity | Current, Forecast 24 hours upto 120 hours | Greater Than, Less Than, Greater Than Equal To, Less Than Equal To |
| Weather | UV Index | Current, Forecast 24 hours upto 120 hours | Greater Than, Less Than, Greater Than Equal To, Less Than Equal To |
| Weather | Feels Like Temperature | Current, Forecast 24 hours upto 120 hours | Greater Than, Less Than, Greater Than Equal To, Less Than Equal To |
| Weather | Wind Speed | Current, Forecast 24 hours upto 120 hours | Greater Than, Less Than, Greater Than Equal To, Less Than Equal To |
| Weather | Wind Direction | Current, Forecast 24 hours upto 120 hours | Greater Than, Less Than, Greater Than Equal To, Less Than Equal To |
| Weather | Wind Gust | Current, Forecast 24 hours upto 120 hours | Greater Than, Less Than, Greater Than Equal To, Less Than Equal To |
| Weather | Pressure | Current, Forecast 24 hours upto 120 hours | Greater Than, Less Than, Greater Than Equal To, Less Than Equal To |
| Weather | Visibility | Current, Forecast 24 hours upto 120 hours | Greater Than, Less Than, Greater Than Equal To, Less Than Equal To |
| Weather | Dew Point | Current, Forecast 24 hours upto 120 hours | Greater Than, Less Than, Greater Than Equal To, Less Than Equal To |
| Weather | Cloud Cover | Current, Forecast 24 hours upto 120 hours | Greater Than, Less Than, Greater Than Equal To, Less Than Equal To |
| Weather | Precipitation Probability | Current, Forecast 24 hours upto 120 hours | Greater Than, Less Than, Greater Than Equal To, Less Than Equal To |
| Conditional Trigger Name | Type | Service Frequency | Operators |
|---|---|---|---|
| Air Quality | LAQI | Current, Forecast 24 hours upto 96 hours | Greater Than, Less Than, Greater Than Equal To, Less Than Equal To |
| Air Quality | BAQI | Current, Forecast 24 hours upto 96 hours | Greater Than, Less Than, Greater Than Equal To, Less Than Equal To |






| Option | Description |
|---|---|
| Cut, Paste | To cut and copy a node: 1) Right click on the three dots or anywhere within the node space and select the Cut option. 2) From the parent node, select the Paste option. 3) When you cut a parent node, the entire segment gets deleted i.e. the entire tree below the conditional node. The rule builder now becomes empty. You can paste it back using Ctrl+V. |
| Copy, Paste | To copy a node: 1) Right click the three dots or anywhere within the node space and select the C opy option. 2) Select the P aste option from the parent node to paste the node. 3) When you copy a parent node, the entire segment gets copied i.e. the entire tree below the conditional node. |
| Edit | You can edit a node in two ways: 1) Right click the three dots on the node that you wish you to edit. Select the Edit option. OR 2) Right click anywhere within the node space. |
| Delete | You can delete a node in two ways: 1) Right click the three dots on the node that you wish you to delete. Select the Delete option. OR 2) Right click anywhere within the node space. If it is a child node, the selected node gets deleted without any confirmation message. If it is a parent node, a confirmation message will pop up. |
