Do not double-click an etlmcp CSV to open it. Excel then guesses a format for every column on its own, and an ID column it takes for a number can lose digits or leading zeros, while a date can be read in the wrong order. Instead, start from an empty workbook, choose Data > From Text/CSV (in the Get & Transform Data group), and set the ID columns to Text before the data reaches the sheet.
What is in the file
The CSV is plain text with a header row and no type information. etlmcp writes it as UTF-8, with no byte order mark at the start. The same rules apply to the file a pipeline exports to the Spreadsheet (CSV) destination and to the Download CSV button on the Data page; see the CSV destination for what each file covers.
- ID columns:
account_id,campaign_id,adgroup_idandad_id, andsource_idin the Data page download. Treat them as labels, never as numbers. - Date: the
datecolumn holds one day per row, written year first, such as2026-11-14. - Metrics:
impressions,clicks,cost,conversions,conversion_value,ctr,cpc,cpmandcpahold numbers, andcurrencyholds a currency code as text. - Extra fields: platform fields that have no standard column come after the standard ones, each in its own column whose header starts with
extra., such asextra.sessions. When such a field holds a list or an object, its cell holds that value as JSON text, with the keys sorted.
Why double-clicking goes wrong
Microsoft's support page on text files says that a .csv opened directly takes Excel's current default data format for each column. Excel keeps at most 15 significant digits in a number, so an ID of 16 digits or more that Excel stores as a number has every digit after the 15th turned into zero, and it may be shown in scientific notation. A code with leading zeros loses them when it becomes a number. A date written in an order that differs from your system's default can be read wrongly. None of this changes the file itself: the damage happens when Excel converts the text, and saving the workbook back over the CSV makes it permanent.
Altered IDs no longer match the ad platform, and a join on campaign_id silently drops those rows.
Import with From Text/CSV
- Open a new workbook and click the cell where the data should start.
- On the Data tab, in the Get & Transform Data group, choose From Text/CSV, select the file and choose Import.
- In the preview, set File Origin to UTF-8. Power Query assumes UTF-8 only when the file starts with a byte order mark, and etlmcp's files do not, so accented or non-Latin campaign names can otherwise show garbled characters.
- Leave Delimiter on comma.
- In the last dropdown, which sets how data types are detected, choose not to detect them. Every column then arrives as Text, and you change only the metric and date columns you want as numbers or dates. Detection from the first 200 rows can guess that an ID column is a number.
- Choose Transform Data to open the Power Query editor.
Set the types in Power Query
In the editor, click the type icon on the left of a column heading, or right-click the heading and use Change Type. Set every ID column to Text. Set date to Date, and the metric columns to Decimal number or Whole number as you need. If a column of dates comes out as errors, right-click it and use Change Type > Using Locale to say which date order the text follows. Then load the data into the workbook.
Without Power Query
If you prefer the older Text Import Wizard, rename the file from .csv to .txt before you open it. Excel then starts the wizard, which lets you set each ID column's format to Text during the import.
Cells that start with an apostrophe
etlmcp writes an apostrophe in front of any text cell that begins with =, +, -, @, a tab or a carriage return, so that a spreadsheet does not run it as a formula. A campaign named -brand arrives as '-brand. A number value is never changed this way, so a negative figure stays a number. The apostrophe is part of the text in the file, so it stays in the cell after import, and a name with it will not match the same name from another source until you remove it. Remove it only from text you trust: why some CSV values start with an apostrophe explains the risk.
When a spreadsheet is the wrong tool
If you need exact types every time, use a database. When the PostgreSQL destination creates its table, it gives date the date type, the standard metric columns a floating-point number type and the ID columns the text type, so no digits are lost. An AI assistant can also read stored rows directly with query_data. Files that pipelines export are not kept forever; see download links and expiry.