BETA

An easy way to monetize embedded content on your website.

Getting started...

Getting started

1Include adwire dependencies

							


							
						

2Include Google IMA SDK dependency

							

							
						

3Initialize adwire

							
const options = {
	// Link to your ad provider or ad file.
	adTagUrl: "https://cdn.example.com/ads/example-ad.vast.xml",
	// You should obtain valid user consent before settings this option to true.
	cookies: true,
	// Select desired iframe mode according your embed.
	mode: Adwire.Mode.INSTREAM_IFRAME_YOUTUBE,
	// Read terms first and then change this option true.
	terms: !true,
};

const target = document.querySelector("iframe[src*='youtube.com']");

new Adwire(options).run(target);
							
						
Terms

If you have any suggestion, feature request, idea or found a bug, please reach me at feedback@adwire.dev.