A Google Ads custom experiment runs as a campaign of its own. Google copies your original campaign into a treatment campaign with its own campaign ID, and the two share the experiment's traffic. When the Google Ads connector is available, etlmcp loads both as separate campaigns, because its rows carry the campaign ID and name but nothing that ties the treatment to its original. If you convert the experiment, the original stops and the treatment carries on under the new ID, so a trend chart grouped by campaign shows one line ending and another starting. To keep one series, map the treatment's ID to the original's in a lookup table.
How an experiment is built
Google's API documentation describes each experiment as a control arm and one or more treatment arms. For a system-managed experiment, Google creates the treatment campaign from the control campaign, you edit it before the start, and traffic is divided between the two while the experiment runs. Performance Max replacement tests for Shopping are an exception: they can use a new or an existing Performance Max campaign as the treatment.
In the Google Ads API's campaign resource, two read-only fields describe this:
| Field | What it holds |
|---|---|
campaign.experiment_type |
BASE for a normal campaign, DRAFT for a draft, EXPERIMENT for a treatment campaign |
campaign.base_campaign |
The resource name of the original campaign; on a normal campaign it equals the campaign's own resource name |
Apply or convert
When an experiment ends, you choose what happens to it:
- Apply. The experiment ends and its changes are copied into the original campaign. The original keeps its campaign ID, so your history stays in one series, and the treatment's days remain a separate campaign.
- Convert. Google pauses the original campaign and the experiment becomes a regular campaign in your campaign list, with the original's budget and dates. From then on, new spend arrives under the treatment's campaign ID.
Either way, Google keeps the performance data of both campaigns. The FAQ adds that an experiment you stop by hand before its end date is not applied.
Why the Experiments page never matches your rows
The experiment results view is built for comparing arms, not for totals. Google's FAQ says it drops the first 7 days of data to allow for ramp-up, and that it scales each arm's figures when the split is not 50/50, for example to 70% and 30%. The campaigns table and the API report every day at its real size. Sum etlmcp's rows for the two campaigns and you get actual spend and conversions, which will differ from the Experiments page. Compare your rows with the campaigns table instead; see matching Google Ads.
What etlmcp loads
The Google Ads connector is not available on this build yet. Its campaign and ad queries select campaign.id and campaign.name with the date, customer and metrics. They do not select campaign.experiment_type or campaign.base_campaign, and they have no status filter. Once the connector is available, that means:
- the treatment campaign will appear as its own campaign ID for every day it served;
- a paused original will keep all the days it served, since removed or paused campaigns are not filtered out;
- nothing in a row will tell you which campaign was the base.
See the Google connector for the full column list.
Joining the arms in SQL
Look up each treatment's base campaign in Google Ads (the experiment's settings name the original), then keep a small table of the pairs:
CREATE TABLE campaign_lineage (
campaign_id text PRIMARY KEY,
base_campaign_id text NOT NULL
);
SELECT date,
COALESCE(l.base_campaign_id, r.campaign_id) AS campaign_series,
SUM(cost) AS cost,
SUM(conversions) AS conversions
FROM google_ads_rows r
LEFT JOIN campaign_lineage l ON l.campaign_id = r.campaign_id
GROUP BY 1, 2;
Adjust the table and column names to your destination. Campaigns with no entry fall back to their own ID. Keep the raw campaign ID too, so you can still compare the arms during the test window, and add a row to the table each time you convert an experiment.