Industry / Advertising, Marketing & Media

Analytics on
ad, campaign and audience data

Ad platforms, media companies and marketing software teams collect data from ad serving, from their apps and sites, and from the systems where campaigns and contacts are managed. Advertisers, marketers, analysts, apps and AI agents all ask questions of it, often over billions of events that arrive as streams, database changes and files.

Ad, campaign and audience data in PhoenixAI, a real-time analytical databaseImpressions, clicks and conversions stream into PhoenixAI tables, along with changes to campaigns and contacts and offline files. PhoenixAI, a real-time analytical database, runs SQL over those tables and over campaign history in Apache Iceberg tables in the data lake, which it queries in place, and serves advertiser dashboards, audience segments and AI agents.AD EVENTS · STREAMSIMPRESSIONCLICKCONVERSIONCAMPAIGNS ANDCONTACTSDATABASE CHANGESPARTNER ANDOFFLINE FILESFILESPhoenixAIREAL-TIME ANALYTICAL DATABASEPHOENIXAI TABLESSQLENGINEqueried in placeDATA LAKE · CAMPAIGN HISTORYApache IcebergDASHBOARDSSEGMENTSAI AGENTS

Use cases

What advertising, marketing and media teams do with their data

From the ad platform to software built for marketers to the questions beyond the dashboard.

In the ad platform

Ad events arrive by the billion, and advertisers expect to see spend and results while their campaigns run.

Give every advertiser its own dashboards

Let each advertiser pick its own metrics, dimensions and date ranges, and aggregate them when the dashboard loads, for thousands of advertisers at once without slowing the largest accounts.

Example: Pinterest

Track spend while campaigns run

Update spend, impressions and clicks per campaign as events stream in, so pacing tools, ad models and advertisers all read the same live numbers under heavy query load.

Example: RedNote

Keep billed numbers right after corrections

Replace a day of ad data in one step when anti-fraud review corrects it, and make sure a restarted stream never counts the same event twice.

Example: iQIYI

In software for marketers

Software built for marketers joins contacts, accounts and campaigns for each tenant, and every tenant sees only its own data.

Build audience segments on current data

Join contacts, orders and engagement events when a marketer refines a segment, so a contact who changed a minute ago is counted correctly when the campaign goes out.

Example: Intuit Mailchimp

Serve account analytics to thousands of tenants

Answer each tenant’s questions on normalized account and intent data, instead of keeping a denormalized copy for every view and a separate cluster for every group of tenants.

Example: Demandbase

Run reports with hundreds of custom metrics

Run long report queries with custom formulas and joins across many sources at steady latency, and show a campaign edit in the report within seconds.

Example: SplitMetrics

Beyond the dashboard

The same data answers ad-hoc questions, searches over content and, more and more often, AI agents.

Analyze any time range, down to the row

Let users pick any date range and drill from a trend to the rows behind it, instead of reading reports that were precomputed for fixed periods.

Example: Conductor

Find what people say about a brand

Search millions of new posts and comments a day by keyword and by meaning, filter by brand, product and time, and count the results without labeling the data first.

Example: RedNote

AI agents that answer questions on your data

An agent asks questions nobody wrote down in advance. Its SQL has to stay inside one tenant’s data and come back fast enough for the person asking to keep the conversation going.

Example: Intuit Mailchimp

PhoenixAI for Advertising, Marketing & Media

A real-time analytical database for ad and campaign data

PhoenixAI keeps streaming and historical data in one SQL layer, for queries from analysts, apps and AI agents.

Fresh data that can change

Streams from Kafka and changes from operational databases land in tables that take updates and deletes, queryable within seconds.

Real-time analytics

Questions nobody planned for

A cost-based optimizer runs multi-table joins on detailed data directly, so a new question from an analyst or an agent doesn’t wait for a new pre-computed table.

AI & agents

One query layer over the data lake

Query Apache Iceberg and Hive tables in place, and give each workload its own compute so dashboards, ad-hoc analysis and agents don’t compete.

Lakehouse analytics

Works with your ad and campaign data stack

Standard SQL over the MySQL protocol. No proprietary query language.

Streams and databases

Apache KafkaAmazon MSKConfluent CloudApache FlinkFlink CDCMySQLPostgreSQLElasticsearch

Data lake

Apache IcebergApache HudiDelta LakeApache PaimonApache HiveUnity CatalogAmazon S3Azure StorageGoogle Cloud Storage

Tools and agents

TableauPower BIMetabaseSupersetHexdbtPythonMCP

Further reading

How it works underneath

Making real-time precomputation truly incremental

How incremental materialized views keep ad impression, click and conversion aggregates fresh, including conversions that get reattributed, without recomputing history.

Read the post

Real-time analytics for customer-facing applications

A white paper on serving analytics inside your product, to the people who use it, with fresh data and fast queries at high concurrency.

Read the white paper

Real-time analytics infrastructure for AI agents

A white paper on what agents need from the data layer: freshness, concurrency and SQL that nobody planned for.

Read the white paper

Questions

Common questions

How does PhoenixAI handle late conversions and corrected ad data?

Late or corrected rows replace the earlier version by key, so the right number is queryable within seconds and a replayed event is not counted twice. When a full day is restated after anti-fraud review, an overwrite writes the corrected data to temporary partitions and swaps them in for that day. See the iQIYI story.

Can PhoenixAI serve real-time dashboards to thousands of advertisers?

Yes. Advertiser dashboards query event-level data directly and can run on their own warehouse, which can be scaled out without disrupting running queries and keeps internal analysis from competing with them. Resource groups cap the CPU, memory and concurrency a user or role can take, and materialized views can serve the most-opened reports. See Customer-facing analytics.

How does PhoenixAI keep each advertiser’s data separate?

Row access policies filter rows by user or role on every query, and column masking hides column values. An app that connects with one account can switch each session to the advertiser’s user with EXECUTE AS, so that user’s policy applies. A table with a row access policy can’t be the base of a materialized view. More on row access policies.

How do ad platforms and marketing software teams use PhoenixAI?

For advertiser dashboards, audience segments built on current contact data, spend numbers that hold up after replays and corrections, and ad hoc analysis on campaign history. See the stories from this industry.

See how this would work on your data.

Meet with our solutions team for a live product walkthrough.