1win Partners - leading affiliate program
1win Partners is a leading affiliate program, known for its high engagement strategies, competitive payouts and flexible earning models.

Guide Auto Domain Rotation & Safety Checks for BeMob (Google Sheets Script)

RollerAds

mmusta

Super Contributor
Joined
May 15, 2018
Messages
173
Hey AffLift community! 👋

I’ve built a Google Apps Script that integrates with BeMob to automate domain rotation, safety checks, and landing page updates. This tool is perfect for affiliate marketers who want to save time and ensure their domains are always safe and optimized.

Here’s how it works and how you can set it up in just a few steps!


What Does This Script Do?

This script connects your Google Sheets with BeMob and Google Safe Browsing API to:

  1. Automate Domain Rotation:
    • Rotates domains at a fixed interval (e.g., every 15 minutes).
    • Skips unsafe domains automatically.
    • Updates landing pages in BeMob with the new domain.
  2. Safety Checks:
    • Uses the Google Safe Browsing API to check domains for threats (malware, phishing, etc.).
    • Checks the current domain and the next 4 domains by default.
    • Flags unsafe domains and removes them from rotation.
  3. Landing Page Management:
    • Fetches landing page URLs from BeMob.
    • Updates landing pages with the current active domain.
    • Tracks the status of each landing page (Success, Failed, Error).
  4. Statistics & Logs:
    • Tracks API usage, domain safety status, and landing page updates.
    • Logs all events for easy troubleshooting.
  5. Telegram Notifications:
    • Sends alerts when unsafe domains are detected.
    • Can
 

Attachments

  • 5.png
    5.png
    79.8 KB · Views: 88
Last edited:
To view the premium content in our affiliate marketing forum (including this awesome thread), you must first register and upgrade your account. Register today and become a part of our amazing community!
Top