Skip to content
Denne side findes på dansk. Læs på dansk
HeyMySocial

Ad results file format

Which columns of an Ads Manager export are read, how currency, numbers and dates are understood, and what happens when the same period is imported twice.

Ad results come in as the CSV export from Ads Manager. One file becomes an ad account with its campaigns, ad sets and ads, and one stored result per thing and reporting period. It works without any connection and without an approval, and it only stores data: HeyMySocial has no code that changes an ad or a budget.

The automatic Meta Ads sync is built but switched off while the app waits for approval, so the file is how ad results get in today.

Columns

ColumnHeadings recognisedNeededWhat it is
account_idaccount id, ad account id, konto-id, kontoid, annoncekonto-idOptionalThe ad account's id on the platform.
account_nameaccount name, ad account name, kontonavn, annoncekontonavn, navn på kontoOptionalThe ad account's name.
campaign_idcampaign id, kampagne-id, kampagneidOptionalThe campaign's id on the platform.
campaign_namecampaign name, campaign, kampagnenavn, kampagne, navn på kampagneOptionalThe campaign's name.
adset_idad set id, adset id, annoncesæt-id, annoncesætidOptionalThe ad set's id.
adset_namead set name, adset name, ad set, annoncesætnavn, annoncesæt, navn på annoncesætOptionalThe ad set's name.
ad_idad id, annonce-id, annonceidOptionalThe ad's id.
ad_namead name, ad, annoncenavn, annonce, navn på annonceOptionalThe ad's name.
date_startreporting starts, date start, start date, day, date, rapportering starter, rapporteringsstart, startdato, dag, datoYesThe first day the row covers.
date_stopreporting ends, date stop, end date, rapportering slutter, rapporteringsslut, slutdatoOptionalThe last day the row covers. Left out, the row covers the first day only.
currencycurrency, account currency, valuta, kontovalutaUnless the file or you say it another wayThe currency of the amounts, as a three-letter code. It can also be read from a spend heading that ends in a code in brackets, or be chosen on the screen.
spendamount spent, spend, cost, beløb brugt, forbrug, brugt beløb, omkostningerYesThe amount spent. A row with results but no amount is refused; a row with neither is skipped.
impressionsimpressions, eksponeringer, visningerOptionalTimes the ad was shown.
reachreach, rækkeviddeOptionalPeople who saw the ad.
clicksclicks (all), clicks, klik (alle), klikOptionalAll clicks.
link_clickslink clicks, inline link clicks, linkklik, klik på link, klik på linksOptionalClicks on the link.
platform_leadsleads, on-facebook leads, website leads, kundeemner, leads på facebook, websiteleadsOptionalLeads as the ad platform counts them. Kept apart from the leads recorded in the workspace.
platform_conversionsresults, purchases, conversions, website purchases, resultater, køb, konverteringer, websitekøbOptionalConversions as the ad platform counts them.
platform_conversion_valuepurchases conversion value, conversion value, website purchases conversion value, konverteringsværdi for køb, konverteringsværdi, købskonverteringsværdiOptionalThe value the ad platform gives its conversions.
attribution_settingattribution setting, attribution window, attributionsindstilling, tilskrivningsindstilling, attributionsvindueOptionalThe attribution setting the platform reported with.
objectiveobjective, campaign objective, målsætning, kampagnemålsætning, formålOptionalThe campaign's objective.
statusdelivery, campaign delivery, ad delivery, status, levering, kampagnelevering, annonceleveringOptionalThe delivery status.
creative_titleheadline, title, overskrift, titelOptionalThe ad's headline.
creative_bodybody, primary text, ad text, brødtekst, primær tekst, annoncetekstOptionalThe ad's text.
creative_ctacall to action, call-to-actionOptionalThe ad's call to action.
creative_linkwebsite url, link, destination url, websiteadresse, webadresse, destinations-urlOptionalThe address the ad leads to.
utm_campaignutm_campaign, utm campaign, url parameters, url-parametreOptionalThe utm_campaign value, alone or inside a whole string of URL parameters.

The headings in the table are the ones Ads Manager writes in English and Danish. They are matched in lower case, and the first heading that fits a field wins. You can change every proposed column before importing. Two columns must be mapped: the start of the reporting period and the amount spent.

Exporting from Ads Manager

In Ads Manager, open Reports, choose Export table data and take CSV. Break the report down by day if you want a daily picture. Include the campaign, ad set and ad names (and their ids when you can), the reporting dates, amount spent, impressions, clicks (all), link clicks and leads.

Rules for a row

  • Level. A row reports the deepest thing it names: an ad, else an ad set, else a campaign, else the account. A row that names an ad set or an ad but no campaign is left out.
  • Ids. When the file has the platform's ids they are used. Otherwise a stable id is worked out from the name inside its parent, so the same name in the next file is the same campaign, ad set or ad.
  • Amount spent. Needed on every row that has results. A row with no amount and no results had no delivery and is skipped; a row with results but no amount is left out, and so is a negative amount.
  • Counts. Impressions, reach, clicks, link clicks, leads and conversions must be whole numbers. An empty cell is stored as unknown, never as zero.
  • Dates. The end of the period is the start when the file has no end column. A period that ends before it starts is left out.
  • Platform numbers stay apart. Clicks (all) and link clicks are kept as two numbers. Leads and conversions are stored as reported by the platform and are never added to the leads matched in your workspace.
  • Ad text. Headline, text, call to action and destination address are stored with the ad when the row names one.
  • utm_campaign. The cell may hold the value alone or a whole string of URL parameters. It is used to suggest which of your own campaigns the imported campaign belongs to.

Currency, numbers and dates

Amounts are never stored without a currency, and the currency is never guessed. It comes from a currency column on each row, from a three-letter code in brackets at the end of the spend heading, such as Amount spent (DKK), or from what you type on the screen. If the file says nothing, the screen asks before you can import. An account has one currency, which is shown when you pick an existing account, and a row in another currency than its account is left out.

Numbers may be written as 1,234.56 or 1.234,56. The screen works out which from the spend column, and you can set it yourself under How numbers are written. A lone 1,234 is read as one thousand two hundred and thirty-four unless the other cells show decimal commas.

Dates are read as 2026-11-24, 24-11-2026, 24.11.2026 or 24/11/2026. For American dates such as 11/24/2026, choose that form under How dates are written.

Importing the same period again

  • A row whose ad, dates and numbers are already stored changes nothing and is counted as Already stored, unchanged.
  • A row with the same ad and dates but new numbers updates the stored row.
  • A row whose dates overlap an older row for the same ad replaces it, so a weekly export after a daily one never counts a day twice.
  • Two rows in one file for the same ad with the same or overlapping dates cannot both be right: the first is kept and the other is left out with that reason.

"Ad" here stands for whatever level the row reports. If the import stops on an unexpected error, none of the file's rows are saved.

Sample

The numbers are made up for illustration. The spend heading carries the currency.

Campaign name,Ad set name,Ad name,Reporting starts,Reporting ends,Amount spent (DKK),Impressions,Clicks (all),Link clicks,Leads
Example spring campaign,Homeowners 35-60,Roof check video,2026-04-01,2026-04-01,412.50,9120,231,148,6
Example spring campaign,Homeowners 35-60,Before and after carousel,2026-04-01,2026-04-01,388.00,8433,197,120,3

A file with every column and two fictional rows is at https://heymysocial.com/docs/files/samples/ads.csv

In the app

  1. Open Paid and the tab Import. The tab is shown to roles that may manage paid data, on the agency's own team.
  2. 1. Choose a file. The file is read at once; nothing is imported yet.
  3. 2. Match the columns. Known headings are filled in. The two needed fields are marked with a star.
  4. 3. Account and currency. Choose A new account and give it a name, or an account an earlier file created. Set the currency if the screen asks, and the number and date forms if the first rows shown below look wrong.
  5. Press Import results. The result shows Rows read, New, Updated, Already stored, unchanged and Left out, how many older rows were replaced, and every row that was left out with its line and the reason.

From the result, Map campaigns takes you to the screen where imported campaigns are tied to your own. Spend from an imported campaign that is not mapped is missing from the funnel matrix and from every campaign's cost per lead and return on ad spend. Earlier imports at the bottom of the screen opens the result of any previous file under Details.

The size and row limits are on the overview of files. A file with more rows than the limit is not refused: the first rows are read and the screen tells you to split the file and import the rest.

Through the API or an assistant

The same rows can be sent without a file. import-ads takes an account with its currency and a list of rows, and needs a key with the scope ads:write; its reference page lists the field names, which differ slightly from the file's. An assistant does the same with import_paid_results. Both follow the rules above for levels, currency and overlapping dates, and both show up under Earlier imports.