The AI Assisted Setup (Beta) tool guides you through five simple steps:
- URL Submission
- Implementation Preferences
- Disclosure Options
- Settings
- Code Generation
Below is an overview of each stage and how to use it.
1. Enter the Page URL
Upload the URL where you want rewarded ads implemented.
You can choose between:
Page-Specific Code
- Code tailored to the structure and elements of the specific page you entered
- Best for complex or unique layouts
Generic Code
- Code that works broadly across similar page templates
- Best for blogs, article pages, or template-based designs
After selecting an option, click Next.
2. Describe Your Reward Behavior
The AI needs to understand what you want to lock or reward. You’ll enter:
A description of the feature you're implementing
Examples:
- “Unlock article content after the user completes a rewarded ad.”
- “Gate a downloadable PDF behind a rewarded ad.”
- “Trigger a rewarded ad after the 3rd click on the ‘hint’ button.”
What triggers the ad?
- Button or link click
- Scroll position
- Custom/other triggers
What should happen after the ad is completed?
Examples:
- Unlock content
- Show a hidden video
- Allow downloading a file
- Enable a progression element (e.g., quiz question or game move)
What should happen if the user declines or skips?
Examples:
- Keep content locked
- Show alternative content
- Allow partial access
Any visual customizations?
Optional instructions such as:
- “Blur paragraphs 4–8 until the ad is completed.”
- “Dim background when overlay appears.”
Click Next to generate recommendations or continue customizing.
3. AI-Generated Recommendations
The AI analyzes your page’s structure (if page-specific) and your requirements to create:
- Suggested implementation patterns
- Recommended triggers
- Auto-formatted code snippets
You may adjust inputs and regenerate if needed.
4. Settings & Disclosures
Rewarded ads must follow Google and Ezoic user experience policies.
The tool will guide you through settings such as:
- Whether you want an overlay or inline ad request
- Reward messaging & user disclosures
- Fallback behavior when no ad is available
5. Generate Your Script
Click Generate, and the tool will create your final JavaScript implementation.
This script is then added directly to your Script Library, where you can:
- Preview/edit the code
- Activate it through Page Rules
- Duplicate or deactivate versions
- Manage multiple rewarded-ad implementations across your site
Managing Rewarded Ad Scripts in the Script Library
The Script Library is where all AI-generated or manually added rewarded-ad scripts are stored.
Key actions you can take:
Activate or Deactivate Scripts
Use Manage Script → Activate / Deactivate to control which scripts run on your site.
Edit Your Script
Every script is fully editable. You can modify:
- Trigger logic
- Reward behavior
- Custom visual effects
- Logging/debugging options
Assign Activation Rules
Click Page Rules to define conditions such as:
- Specific URLs
- URL patterns
- Page types
Duplicate or Delete Scripts
Useful for testing variants or cleaning up your library.
Rewarded Ads Policies & Requirements
Allowed Rewards
- Extra lives, hints, in-game currency
- Access to premium content
- Non-transferable platform-only discounts up to 25%
- Free trials or feature unlocks
Prohibited Rewards
- Cash or cash-equivalent rewards
- Gift cards
- Discounts exceeding 25%
- Transferable/monetary items
Randomized Reward Rules
If using randomized rewards (loot-box-like):
- Odds must be disclosed
- Rewards must be accessible
- Odds must be greater than 0
Best Practices for Success
User Experience
- Clearly communicate what the reward unlocks
- Make rewards valuable
- Provide fallbacks when ads fail to load
- Respect user choice
Technical Optimization
- Test across devices and browsers
- Ensure fast ad loading
- Use clear error handling
Content Strategy
- Integrate rewarded ads naturally
- Use sparingly for maximum value
- Experiment with trigger placement
Monitoring Performance
Use the Rewarded Ads Report in your dashboard to track:
- Ad completions
- User engagement
- Revenue performance
- Reward effectiveness
This helps you refine your strategy over time.
Conclusion
Ezoic’s AI Assisted Setup Tool streamlines the entire rewarded-ads implementation process—from generating page-specific scripts to deploying them across selected parts of your site. With a few inputs, the tool produces clean, optimized, policy-compliant code that you can manage and customize in your Script Library.