AI & Creative Settings
Configure API keys, default copywriting models, and tones. Configure AI Settings →
AdFuz features an intelligent AI Ad Generator powered by a Unified Asynchronous Background Queue & Real-Time Polling Engine. In just a few seconds, you can transform a single product or offer prompt into a complete advertising campaign — including copywriting, custom banner graphics, responsive HTML/CSS code, campaign schedules, ad space placements, and ready-to-use WordPress shortcodes — with zero risk of HTTP gateway timeouts.
You can open the AI Generator modal from two locations:
✨ Generate with AI button in the top action bar of WordPress Admin > AdFuz > Ads.The AI Generator supports all 3 core ad classifications in AdFuz with 1-click visual selection cards:
Generates catchy headlines, persuasive marketing copy, call-to-action (CTA) button labels, and commercial banner creatives.
Generates fully self-contained, responsive HTML and CSS banner code blocks with modern gradients, badges, responsive layouts, and interactive CTA buttons.
728×90), vertical layouts for Skyscrapers (160×600), or compact cards for Medium Rectangles (300×250).<style> blocks with clean typography and hover transitions.Generates video ad headlines, persuasive video captions, CTA buttons, and a structured 15–30 second voiceover and storyboard script outline.
Unlike traditional synchronous web requests that hang and timeout on slow AI calls, AdFuz utilizes a Non-Blocking Background Worker:
sequenceDiagram autonumber actor User as User (Browser) participant Modal as Modal UI participant Server as WordPress Server participant Worker as Background Worker participant AI as Gemini / OpenAI
User->>Modal: Clicks "Generate & Launch" Modal->>Server: Enqueues Job Server-->>Modal: Returns Job ID (< 300ms) Server-)Worker: Dispatches background worker
loop Real-Time Polling (every 1.5s) Modal->>Server: Checks Job Progress Server-->>Modal: Step: "Writing copy..." -> "Designing graphic..." -> "Linking placement..." Modal->>Modal: Updates Progress Bar & Stepper end
Worker->>AI: Calls API & saves records Worker->>Server: Marks Job Completed Modal->>User: Renders Success Screen & Shortcode!wp_adfuz_jobs.Choose Ad Format Click on Image Ad, Script / HTML, or Video Ad. The active selection highlights with a purple border.
Describe Your Product or Offer In the prompt field, describe what you are advertising.
Example Prompt:
“Summer Flash Sale! 50% off all premium ergonomic office chairs with code SUMMER50. Free 2-day shipping, valid until Sunday midnight.”
Select Tone of Voice & Dimensions
300×250 Medium Rectangle, 728×90 Leaderboard, or 160×600 Skyscraper).Configure 1-Click Campaign & Placement (Right Panel) Automate your entire setup in a single click:
Create New Campaign: Automatically creates a new campaign named [Ad Title] Campaign and links your new ad.Assign to Existing Campaign: Select any existing active campaign from the dropdown.None (Save Ad only): Saves the creative in your Ads library without attaching to a campaign.Create New Ad Space: Automatically provisions a new ad space matching the exact width and height of your ad. You can select format as Banner, Slider, or Global.Assign to Existing Space(s): Check one or more existing ad spaces to immediately add this creative to their rotation.None (Skip Ad Space): Skip ad space provisioning.Click “Generate & Launch” AdFuz enqueues the job and starts live polling. You will see real-time updates as the AI generates copy, designs graphics, and connects database placements.
Once generation finishes, the modal transitions to the Success Screen:
[ad-fuz ad_space_id="12"]).If image generation fails due to billing or zero quota limits, AdFuz automatically displays a dedicated resolution screen:
AI & Creative Settings
Configure API keys, default copywriting models, and tones. Configure AI Settings →
Ad Space Insertion Guide
Learn how to embed generated shortcodes in Gutenberg, Elementor, and widgets. Insert Shortcodes →