Skip to main content

🚀 Getting Started

Your ads will be completely free of +18 and gambling content. You'll be able to generate high revenue with prestigious global brands and premium ads offered by Magfi itself. If you're ready, let's get started quickly.

At Magfi, we prioritize brand safety and high-quality advertising. That's why we guarantee that your ad spaces will never feature any +18 or gambling-related content. We understand the importance of maintaining a positive brand image and user experience, and we're committed to providing a clean and respectful advertising environment.

Instead, you'll have the opportunity to showcase ads from reputable global brands, ensuring that your audience is exposed to relevant and trustworthy products and services. We work closely with these brands to deliver engaging and effective ad campaigns that resonate with your users.

In addition to our partnerships with global brands, Magfi also offers its own premium ad inventory. These exclusive ads are carefully curated to maximize revenue generation for our publishers. By leveraging our premium ads, you can significantly increase your earnings and unlock the full potential of your ad spaces.

With Magfi, you can confidently monetize your content while upholding your brand values and providing a positive experience for your audience. Our platform is designed to help you achieve sustainable revenue growth without compromising on quality or integrity.

So, if you're ready to partner with a trusted ad network that prioritizes brand safety, high-quality ads, and maximum revenue potential, let's get started quickly. Integrate the Magfi Ad Network SDK today and unlock a world of premium advertising opportunities.

Ad Types

Magfi Ad Network supports a variety of ad formats to help you maximize your revenue potential. Here are some of the available ad types:

  • Interstitial Ads: These are full-screen ads that appear between page transitions or at natural breaks in your app's flow. Interstitial ads can be highly effective for capturing user attention and delivering targeted messages.
  • Rewarded Ads: These are ads that users can choose to watch in exchange for in-app rewards, such as virtual currency, extra lives, or exclusive content. Rewarded ads are a great way to monetize your app without disrupting the user experience.

Quick Start

  1. Include the SDK: Add the SDK to your HTML using the <script> tag. Ensure the correct path to your magfi.min.js file.

    <script src="https://gcdn.magfiads.com/magfi.min.js"></script>
  2. Initialize Magfi: Initialize Magfi with MagfiAdNetwork.getInstance(). Replace "APP_CODE" with your application code.

    const magfi = window.MagfiAdNetwork.getInstance("APP_CODE");
  3. Show the Ad: Create the ad with magfi.add() and show it with show(). Ensure your code are correct.

    const rewarded = magfi.add({ AD_CODE: "AD_CODE" });
    rewarded.show();

Example: Basic Rewarded Ad

<!DOCTYPE html>
<html>
<head>
<script src="https://gcdn.magfiads.com/magfi.min.js"></script>
<script>
const magfi = window.MagfiAdNetwork.getInstance("DEBUGGER");
const rewarded = magfi.add({ AD_CODE: "AD_CODE" });
</script>
</head>
<body>
<button id="showRewardedAd">Show Rewarded Ad</button>
<script>
document.getElementById("showRewardedAd").addEventListener("click", () => {
rewarded.show();
});
</script>
</body>
</html>