# Hermoso: microsoft_ads_bulk_download · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/ads/microsoft_ads_bulk_download/. Generated from the shipped page. Do not edit by hand.
> Full agent guide: https://hermoso.ai/llms.txt · MCP: https://app.hermoso.ai/mcp

[Docs](https://hermoso.ai/docs/) / [Tool reference](https://hermoso.ai/docs/reference/) / [Ad campaign management](https://hermoso.ai/docs/reference/ads/) / microsoft_ads_bulk_download

# `microsoft_ads_bulk_download`

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

Area: MICROSOFT BULK SERVICE + MEASUREMENT · [Ad campaign management](https://hermoso.ai/docs/reference/ads/). Generated from the running MCP server, like the rest of the [tool reference](https://hermoso.ai/docs/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

Parameter Type Description

`adAccountId` `string` Microsoft ad account id — omit to use the single shared account

`accountId` `string` older name for adAccountId (MCP only)

`entities` `string[]` 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

`campaignIds` `string[]` export only these campaigns (max 1000) instead of the whole account

`since` `string` ISO 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

`dataScope` `string[]` EntityData (default), QualityScoreData, BidSuggestionsData — the last two force a FULL export

`limit` `number` how many rows to return inline, default 200 (the full file is still in `file`)

`allowUnlistedEntities` `boolean` send an entity name we do not recognise verbatim — for a record type Microsoft added after our copy of its list was read

`downloadRequestId` `string` pick up an export that came back pending. Valid 2 days, and far cheaper than exporting the account again

`waitMs` `number` how 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](https://hermoso.ai/docs/credits/).

## Related tools

- [microsoft_ads_bulk_upload](https://hermoso.ai/docs/reference/ads/microsoft_ads_bulk_upload/) Apply a Microsoft Advertising bulk file (spend-gated)
- [list_microsoft_ads_conversion_goals](https://hermoso.ai/docs/reference/ads/list_microsoft_ads_conversion_goals/) Microsoft Advertising conversion goals
- [send_microsoft_ads_offline_conversions](https://hermoso.ai/docs/reference/ads/send_microsoft_ads_offline_conversions/) Send offline + enhanced conversions to Microsoft
- [microsoft_ads_auction_insights](https://hermoso.ai/docs/reference/ads/microsoft_ads_auction_insights/) Who else is bidding on the same Microsoft auctions

[All 759 Ad campaign management tools](https://hermoso.ai/docs/reference/ads/) · [tools.json](https://hermoso.ai/docs/reference/tools.json)
