Versions Compared


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



Similar to a 'regular' Adhese implementation, you can add extra target parameters to the request.

When using Using this JSON parameter, you have to start with a 'targeting' property, as shown in the example.

The 'targeting' property itself , consists of the target prefixes (which are configured in your Adhese account) with as value an array of 1 or more targets.

Code Block
	"targeting": {
		"br": ["sport", "info"],
		"dt": ["desktop"]


To let the AMP page know an ad is available, a custom event is used called "adhLoaded" is used.

This event should contain an object 'detail', which in turn includes three parameters and should be bound to the div with ID "c".