Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In ATF SDK there is a feature which automatically destroys ad slots in GAM when it is detected that they are removed from the DOM. It can be turned on/off in PPTMATF-Manager.

Info

NOTE! This feature is only implemented when automated ad slot detection is turned on. Usually for React based publishers this feature ist turned off!

Mapping new ad slots on a function call

...

Code Block
languagejs
atf.unregisterSlots(['adSlotId1', 'adSlotId2', '...'])

Add atf-targeting as attribute (Slot Targeting)

This attribute is optional and build by request. It is possible to define targetings like attributes in the ad slot via atf-targeting-<key>="<value>"

...