Global Events

  • Updated

Events are the actions that you set to happen when a certain condition is met. Global Events currently consist of two events:

  • In-screen

  • On Load

These two events can be accessed by clicking on the icon (1) in the component settings menu and selecting the prefered event under the Global Events (2).


In-Screen Event

In Screen event allows you to call or stop an action depending on the banner's visibility in the browser window. You can trigger an action as soon as the viewer starts seeing the banner or when the banners is no longer visible to him.

To set an On-Screen event:

  1. Click In Screen under the Global Events in the components menu.

  2. A new settings panel with General section (description and the setup of the visible area) and Actions section (event setting) will open. In the General section, select banner's Visible Area from the drop-down menu. It is defined by the visibility percentages =0%, =<25%, =<50%, =<75%, =<100%. The default percentage is 100%. After selecting, click Save.

  3. In the Actions section, click Actions > New Action, and select one of the following conditions for your banner:

    • On Visible: scroll until ad starts performing action.

    • On Not Visible: scroll until ad ends performing action.

  4. Select a default action from the drop-down menu:

    • Trigger Action On

    • Change Visibility

    • Control Animations

  5. Choose a target component toward which the action will be directed.

  6. Specify the action to be performed on the selected target component.

  7. Click Save.

On Load Events

With On Load event you can trigger an action on a certain component and start performing this action together with the banner load.


On Load event isn't compatible with Builder Mode Particles component.

To set an On Load event:

  1. Click On Load under the Global Events in the components menu.

  2. A new setting panel with General section (description) and Actions section (event setting) will open. Click Actions > New Action > Load.

  3. Assign a default Do Action. You can choose one of the following actions (depending on components):

    • Trigger Action On

    • Change Visibility

    • Control Animations

  4. Choose a target component toward which the action will be directed.

  5. Specify the action to be performed on the selected target component.

  6. Click Save.

Dynamic Weather Targeting


By using the Weather Targeting component, you can apply Dynamic Weather Targeting on your creative and, in this manner, target your audience based on real-time weather conditions (such as temperature, weather type), that are provided by a third-party data provider. The component helps to target audiences by showing relevant content, which changes depending on the current weather.



After you insert the component into your creative, make sure to customize settings accordingly. You can choose from Clear, Rainy, Cloudy, Snowy, or Windy (3) weather conditions and set the temperature units either in °C or in °F. You can mark more than one of the selections, such as Cloudy and Windy.

The rule will be matched if any of the selected conditions match current weather and the temperature meets the indicated interval.

When multiple rules are added (by clicking on a New Rule (4) option), the values will be replaced if any of the rules match current conditions.

If you, on the other hand, want to promote separate products on various weather conditions, such as Clear and Rainy, while maintaining the same message, you have to insert two distinct Dynamic Weather Targeting components into a single creative.



The Dynamic Weather Targeting component comes together with a set of actions that you can choose from and, in this way, enhance your creative even more. The actions will be triggered by the time the conditions, that are indicated in your Rule (-s), are met. When that happens, you can choose from:

  • Trigger Action On: allows you to trigger an action on Panel Slide, Video, Product Retargeting, Cube, Carousel, Slice, Countdown, and Particles components;

  • Change Visibility: allows you to change the visibility of any component by Showing or Hiding its content;

  • Control Animations: allows you to control animations of other components by the time the indicated conditions are met. Read more about animations here.

Building the Excel Spreadsheet

For details about how to build Excel Spreadsheet for Dynamic Ads, see Create Banners for Dynamic Ads. Additionally, the spreadsheet for Dynamic Weather Targeting has these specifics:

  • The component replaces the ordinary CTA with CTA-xxxx according to the applied weather targeting settings, such as the elements that are indicated in Name and Variable Name (1) fields.

  • While conducting the spreadsheet, be aware that the corresponding columns should be made up from the name of the original column, contain a dash symbol (-), and have a group name. For example, if you have a cta column and want to show a specific message when it's cold, there should be a column named "cta-cold".

  • A single Weather Targeting component requires only one version. In case there's a need to define some additional targeting capabilities, like Geo targeting, you can add a new one.

  • The component itself doesn't require creating an additional column in the spreadsheet. However, the information entered in the Name and Variable Name (1) sections has to be reflected in the creative columns (Text and Asset).

  • Columns that are used by the Weather Targeting component should be listed in the Column Mapping interface and also reflected in Adform Studio Builder mode component settings (2).

Was this article helpful?

How we can make it better?

Thank you for your feedback!