hermosodocs

microsoft_ads_bulk_download

Export a Microsoft Advertising account as a bulk file read-only

Area: MICROSOFT BULK SERVICE + MEASUREMENT · Ad campaign management. Generated from the running MCP server, like the rest of the tool reference.

Description

Export a Microsoft Advertising account as a BULK FILE — one spreadsheet holding whatever slice of the account you ask for. This is the ONLY way to read most of a Microsoft account: roughly 185 of Microsoft’s record types are reachable here and nowhere else in Hermoso — sitelink / callout / structured-snippet / image / logo / price / promotion ad extensions, labels, shared negative keyword lists, bid strategies, audiences and their associations, experiments, seasonality adjustments, conversion goals, asset groups and listing groups, feeds. Pass entities[] (default Campaigns, AdGroups, Ads, Keywords), campaignIds[] to narrow it, or since for a DELTA of what changed (Microsoft refuses anything older than 30 days). The reply carries the WHOLE FILE as a string in `file` — edit that and pass it straight to microsoft_ads_bulk_upload, which is the round trip this exists for. A bulk export is a SNAPSHOT of what Microsoft held when it ran, never a live view, so do not quote a status from it as current after a change. Microsoft builds it asynchronously: a large account can come back pending:true with a downloadRequestId — call again with that id rather than resubmitting, which would export the whole account a second time. Read-only, 0 credits.

Parameters

ParameterTypeDescription
adAccountIdstringMicrosoft ad account id — omit to use the single shared account
accountIdstringolder name for adAccountId (MCP only)
entitiesstring[]Microsoft DownloadEntity names — Campaigns, AdGroups, Ads, Keywords (the default), plus SitelinkAdExtensions, CalloutAdExtensions, Labels, Budgets, BidStrategies, AssetGroups, ConversionGoal, Experiments, Audiences and ~180 more. An unknown one is refused BY NAME, because Microsoft answers it with a deserialization error that names no field and reads like an outage
campaignIdsstring[]export only these campaigns (max 1000) instead of the whole account
sincestringISO date — export only what CHANGED since then. Microsoft refuses a delta older than 30 days, and refuses one at all alongside QualityScoreData / BidSuggestionsData
fileType"Csv" | "Tsv"default Csv
compression"GZip" | "Zip"default GZip
dataScopestring[]EntityData (default), QualityScoreData, BidSuggestionsData — the last two force a FULL export
limitnumberhow many rows to return inline, default 200 (the full file is still in `file`)
allowUnlistedEntitiesbooleansend an entity name we do not recognise verbatim — for a record type Microsoft added after our copy of its list was read
downloadRequestIdstringpick up an export that came back pending. Valid 2 days, and far cheaper than exporting the account again
waitMsnumberhow long to wait for Microsoft to build the file before returning pending, max 120000

Example call

Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/microsoft_ads_bulk_download.

MCP (tools/call)

{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"microsoft_ads_bulk_download","arguments":{}}}

CLI

hermoso call microsoft_ads_bulk_download --json '{}'

Credits

Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.

All 759 Ad campaign management tools · tools.json