EEcommerce Coffee Break
← All frameworks
MarketingMati Ram

Three-Stage AI Advertising System

Train on business data, build campaigns, then optimize continuously

Difficulty
Advanced
Time to result
~months to results
Steps
7
Confidence
95%

This system divides AI advertising into three connected stages. Data training comes first: historical store and advertising records are analyzed to produce customer segments, product insights, and business KPIs such as average order value and repurchase frequency. The merchant identifies which constraints advertising can realistically improve and what would move the needle. Campaign creation then combines mathematical AI with generative AI. Mathematical analysis recommends products, channels, audiences, locations, keywords, exclusions, and funnel roles, while generative tools produce platform-compliant copy, images, and videos. Finally, continuous optimization manages budgets, bids, and campaign structure as auction conditions and results change. The stages form a sequence: business diagnosis informs campaign design, campaign design creates the operating portfolio, and live performance supplies the signals required for ongoing adjustment.

Origin

Extracted from Ecommerce Coffee Break, where Mati Ram explicitly divided AI advertising into data training, campaign creation, and optimization stages.

Core principles

  • 01Diagnose business economics before creating campaigns
  • 02Use proprietary data to improve platform targeting
  • 03Combine mathematical analysis with generative creative tools
  • 04Align acquisition, remarketing, and retention campaigns
  • 05Treat campaign optimization as a continuous operating stage

How to run it

  1. 1

    Connect Historical Data

    Connect the store and advertising accounts so AI can learn from available transaction, customer, product, campaign, and performance histories.

    Pro tip Use the longest reliable history available to shorten the learning period.

    Watch out A store with no history will need a longer learning curve.

  2. 2

    Diagnose Business Constraints

    Review business KPIs such as average order value and repurchase frequency to determine what prevents advertising from achieving the desired return.

    Pro tip Ask what advertising can change and which change would materially move the business.

    Watch out Advertising optimization cannot compensate indefinitely for fundamentally unworkable unit economics.

  3. 3

    Prepare Targeting Intelligence

    Convert data into customer segments, product segments, demographic refinements, geographical recommendations, keywords, and exclusions.

    Pro tip Use first-party segments to make broad platform targeting more precise.

    Watch out Do not default to interest, age, and gender targeting without behavioral evidence.

  4. 4

    Design the Campaign Portfolio

    Assign products, channels, audiences, and segments across new-customer acquisition, remarketing, and retention campaigns.

    Pro tip Make each campaign's role in the customer lifecycle explicit.

    Watch out Overlapping campaigns can compete against one another and obscure performance.

  5. 5

    Generate Compliant Assets

    Use generative AI to create ad copy, images, and videos within each platform's length, content, and policy constraints.

    Pro tip Constrain generation with product facts, audience context, and platform specifications.

    Watch out Unconstrained generated copy may be irrelevant or trigger platform rejection.

  6. 6

    Launch with Mathematical Inputs

    Apply the recommended audiences, placements, exclusions, products, and other quantitative insights during campaign creation.

    Pro tip Preserve the reasoning behind each setting so results can be interpreted later.

    Watch out Do not treat automated setup as proof that the underlying strategy is sound.

  7. 7

    Optimize Continuously

    Monitor results and auction behavior, then adjust budgets, bids, and campaign structure as conditions change.

    Pro tip Optimize the combined advertising portfolio rather than evaluating each platform in isolation.

    Watch out Periodic manual reviews can miss short-lived auction opportunities and anomalies.

In the wild

Improving an Unworkable Average Order Value

A store's target return cannot be reached because its average order value is too low relative to click costs and conversion rate. During data training, the system identifies AOV as the limiting KPI. The campaign plan then emphasizes bundles and higher-value product combinations instead of merely trying to buy cheaper traffic.

→ Advertising activity targets the business constraint that prevents profitable scaling.

Building a Full-Funnel Campaign Set

In this illustrative application, AI reviews store history, assigns behavioral segments to acquisition, remarketing, and retention, recommends products and exclusions, and generates correctly sized copy and creative for Google and Facebook. Live results then trigger budget, bid, and structural changes.

→ Separate AI capabilities operate as one connected advertising workflow rather than unrelated tools.

Common mistakes

Starting with Ad Generation

Creating copy and images before diagnosing business KPIs and audiences can accelerate the wrong campaign strategy.

Confusing Automation with Strategy

Automated setup is useful only when it reflects clear products, customers, funnel roles, and business objectives.

Optimizing Platforms in Isolation

Google and Facebook each see their own environment, so separate optimization can produce a weaker total allocation than portfolio-level management.

Is it for you?

Best for

It is best for ecommerce advertisers seeking to connect store economics, campaign production, creative generation, and ongoing optimization.

Not ideal for

It is not ideal for businesses that have not defined their advertising goals, unit economics, or available data sources.

From the transcript

“So the AI advertising is actually divided into three stages.”

Mati Ram

“Stage number one is the data training.”

Mati Ram

“Part number two is generative AI, or AI campaign creation that includes generative AI plus mathematical, uh, insights that are injected into the campaign creation…”

Mati Ram

From the episode

Ecommerce Advertising Made Easy With AI

Mati Ram

→