Each Microsoft Advertising conversion goal has its own conversion window, and it can be as long as 90 days after the click. When the Microsoft Advertising connector is available, a routine etlmcp sync fetches only the most recent 31 days again, a figure chosen to fit a 30-day window. If any of your goals count conversions for longer than 30 days, the extra conversions land on days your routine syncs have stopped refreshing, and your table drifts below the Microsoft Advertising reports. A backfill over the last 90 days, repeated on a schedule you keep, closes that gap.
How Microsoft defines the window
The Campaign Management API stores the window on the goal as ConversionWindowInMinutes: the time after an ad click during which a conversion still counts for that click. It is set in minutes, so convert from days by multiplying by 1,440:
| Window in days | ConversionWindowInMinutes |
|---|---|
| 1 | 1440 |
| 7 | 10080 |
| 30 | 43200 |
| 60 | 86400 |
| 90 | 129600 (the largest value allowed) |
The smallest value is 1 minute. Editing the window applies from then on only: conversions already recorded are not recounted under the new length. So raising a goal from 30 to 90 days today does not reach back and fill in last quarter.
Goals also carry ViewThroughConversionWindowInMinutes, the window that applies to view-through conversions. Its ceiling is 43,200 minutes, or 30 days, and it only takes effect when the account property IncludeViewThroughConversions is on. A view-through window can never be longer than the 31 days a routine sync covers, so it causes no gap of its own.
To find your longest window, list your goals through GetConversionGoalsByIds or GetConversionGoalsByTagIds. The view-through window is left out of the API response unless you name it in ReturnAdditionalFields.
Offline conversions stretch the gap further
If you import conversions from a CRM, the OfflineConversion object has two rules that decide what counts:
- The
ConversionTimeyou send must fall within the last 90 days, or the upload fails. - The conversion must come after the recorded click and inside the goal's window.
After an upload, Microsoft says the data can take up to six hours to show in its reporting. A batch you send at the end of the month can therefore change figures for clicks from weeks earlier, well past the routine re-pull.
What a routine etlmcp sync re-pulls
When the connector is available, every scheduled sync, and every run started without dates, pulls a trailing range that ends today. Its length is the larger of two numbers: the server's trailing setting, 7 days by default, and the number of days the connector says the platform keeps restating. The Microsoft connector sets that to 31 days, sized for the common 30-day window. Nothing in a routine sync looks at your goals' actual windows. The trailing window page covers the rule for every platform.
Days older than the trailing range keep whatever figures they had when a sync last touched them. With a 90-day goal, roughly two months of late credit can be missing from those days.
Set up a periodic 90-day backfill
A backfill is a run with a start and an end date. In a warehouse destination, etlmcp deletes the pipeline's stored rows for that date range and writes Microsoft's current figures in their place, so running the same range again leaves one copy of each day, not two. Start one from the backfill form on the pipeline's page, with Start a run in the REST API, or with run_pipeline from an MCP client. Backfill rules lists the checks a range must pass.
For Microsoft goals with windows over 30 days:
- Pick the range. Set
start90 days before today andendto today, or match your longest goal window if it is shorter. Offline imports also need the full 90 days, since that is how old an uploaded conversion may be. - Pick the rhythm. etlmcp does not schedule backfills itself. Run one on a fixed day, such as every Monday or the first of the month, by hand or from your own scheduler calling the REST API or MCP. Weekly keeps the error small; monthly is enough if you only report closed months.
- Check your plan's history. A backfill cannot start before your plan's history begins. Free keeps 30 days, which is shorter than 90, so on Free the oldest part of a long window cannot be refreshed. Starter keeps 365 days. See the plans.
- Mind the run cap. A backfill counts as a run started by hand, so it uses one of the slots your plan allows queued or running at once (10 on Free). Scheduled syncs are not counted.
A month's conversion totals settle only once 90 days have passed after its last day and a backfill has pulled that month again.