Microsoft Advertising splits report data into UTC days, whatever time zone you put in the request. The ReportTimeZone setting does only one job: it decides what "today" is, so that ranges such as "Yesterday" and the end of a custom range can be worked out. If you leave it out, Microsoft uses Pacific time (PacificTimeUSCanadaTijuana). A request can also set ReturnOnlyCompleteData; when it does and the requested days are not fully processed, the Reporting service answers with error 2004 (NoCompleteDataAvaliable, spelled that way in Microsoft's docs) instead of a report. etlmcp treats that error as a temporary one and tries the run again.
What the report time zone changes, and what it does not
Microsoft's reporting guide says the data in a downloaded report is always measured in UTC. In an hourly report, hour 7 holds what happened from 07:00 to 08:00 UTC, and a daily row covers one UTC calendar day. The timestamps in the report header, such as "Last Completed Available Day", are UTC too, even though the file labels them GMT.
ReportTimeZone takes one of 75 named zones, such as EasternTimeUSCanada or GreenwichMeanTimeDublinEdinburghLisbonLondon. Its effect is on the date range you get back, not on the days inside it. Microsoft gives the example of a "Yesterday" request sent at 2 AM US Eastern time: with no zone set, Pacific time applies, where it is still the previous evening, so "Yesterday" means two days back by the Eastern calendar. With the zone set to Eastern, it means the day before.
A custom range has its own rule: its end date may not be later than today, and "today" is again read in the report time zone.
What this means for your analysis:
- Treat every Microsoft Advertising date as a UTC date. A click in the evening, US time, can fall on the next UTC day.
- Compare UTC days with UTC days; a view cut in another zone will show different daily figures.
- Do not try to fix the day boundary by changing
ReportTimeZone. It does not move rows between days.
Complete data and error 2004
By default a report request succeeds even while Microsoft is still processing the period, and nothing in the rows says whether they are final; you get what has been processed at that moment. The header line "Potential Incomplete Data" can warn you that the last requested day may be unfinished.
ReturnOnlyCompleteData is the stricter option. Set to true, it makes Microsoft check that all data for the requested aggregation, scope and time has been processed, and answer with error 2004 when it has not. It cannot be combined with a range that includes today, because today is still in progress. Microsoft suggests pulling today without the flag for current figures, then asking for the day again with the flag once it has closed.
Two details decide when a day closes:
- If the report covers campaigns set to different time zones, the data is not complete until the day is over in every one of those zones and the clicks for each have been processed.
- Microsoft says a click can take up to two hours to reach reports and a conversion up to three, and that data is generally treated as final after about three hours. In exceptional cases, adjustments for invalid traffic can take a week or more to resolve.
What etlmcp does
When the Microsoft Advertising connector is available, etlmcp asks for daily reports and sends GreenwichMeanTimeDublinEdinburghLisbonLondon as the report time zone on every request, rather than the Pacific default. That zone is never behind UTC, so asking for the current UTC day is always allowed. etlmcp ends each request no later than today in UTC, and the rows it stores keep Microsoft's UTC days.
etlmcp does not set ReturnOnlyCompleteData, so its own requests take the default answer: whatever Microsoft has processed so far. It reads the report header only for the row count, which it checks against the rows it received; it does not read "Potential Incomplete Data". A routine sync instead pulls a trailing window that ends today and replaces the stored rows for every day in it, so an unfinished day is overwritten by later syncs. For Microsoft that window is 31 days; see the trailing window.
If Microsoft does answer with error 2004, etlmcp reads it as a temporary problem, like Microsoft's internal error 0, and the run is retried as described in Retries, with 3 attempts in all.
To get settled figures for a day in your own reporting, read it after it has been re-pulled at least once following the close of the UTC day, and refresh it with a backfill if an invalid-traffic credit lands later than the trailing window reaches.