# Microsoft Advertising

> Check Microsoft Advertising's search ad limits, and how Handline sends offline conversions and reads delivery reports.

Responsive search ads on Microsoft Advertising. The limits below are from Microsoft's Campaign Management API reference, counted after dynamic text is filled in. Double-width characters count twice.

## What Microsoft's documentation says

- **Conversions** go to an offline conversion goal, named in the conversion mapping, with the `msclkid` click id, within 90 days. Microsoft removes duplicates by click id and conversion time, not by an event id. An answer can report that a conversion was not applied even when the request succeeded; Handline records it as rejected.
- **Sign-in:** Microsoft may issue a new refresh token on each refresh; Handline keeps the newest.
- **Reads** use the Reporting API: Handline asks for a daily ad performance report, waits for it, and downloads it. Conversions are Microsoft's qualified conversions, which leave out goals excluded from bidding. Days are the account's days.
- **Permissions:** Microsoft's permission also allows changes, so Handline enforces read-only itself.

## Copy formats

Copy is checked against these limits as it is written and again by the `copyLimits` check. Limits count characters after product facts are filled in.

### Responsive search ad

Format id `responsive-search-ad`.

| Field | Id | Kind | Limit | Required | Notes |
| --- | --- | --- | --- | --- | --- |
| Headlines | `headlines` | List | 3 to 15 entries of 30 characters | Yes |  |
| Descriptions | `descriptions` | List | 2 to 4 entries of 90 characters | Yes |  |
| Display path 1 | `path1` | Text | 15 characters | No | No slashes. The domain and both paths together stay within 67 characters. |
| Display path 2 | `path2` | Text | 15 characters | No | Only with a first path. |
| Keywords | `keywords` | List | 1 to 200 entries of 100 characters | Yes | Match types: plain for broad, "quoted" for phrase, [bracketed] for exact. |
| Negative keywords | `negatives` | List | 0 to 500 entries of 100 characters | No |  |

## Creative formats

Microsoft Advertising takes no images or video in Handline.

## AI label

Not required. Search ads carry no generated media.

## Numbers

The numbers this channel can have: `spend`, `impressions`, `clicks`, `platformConversions`.

Handline reads `spend`, `impressions`, `clicks`, `platformConversions` from Microsoft Advertising every day, once a person connects an ad account. The last 30 days are read again each day, because the platform revises them; a revised row replaces the old one, which stays in its history.

To connect an ad account for reading, a person signs in on the platform’s own consent screen, which asks for `https://ads.microsoft.com/msads.manage` and `offline_access`. The platform has no read-only permission, so Handline refuses, before it is sent, any request that isn’t a read.

## Conversion route

Outcomes from visits that came through a Microsoft Advertising ad are sent to Microsoft Advertising, through offline conversions, from Handline’s server, only with the visitor’s consent under their region’s rule.

- **Click id:** `msclkid`, which the platform adds to the landing URL. A visit without one sends no conversion.
- **Oldest event sent:** 90 days after the outcome happened, the platform’s limit. An outcome reported later is recorded but not sent.
- **To connect:** A person signs in on the platform’s own consent screen, which asks for `https://ads.microsoft.com/msads.manage` and `offline_access`.
- **Also set in the conversion mapping:** Microsoft Advertising customer id; Microsoft Advertising account id.

## Platform tag

Microsoft UET tag, turned on per product with its UET tag ID. One page view. Conversions still go from the server, never from the tag. It loads only after consent allows it, from `bat.bing.com`.

## Country rules and tests

A placement may name the countries it targets; each must be allowed by the country rules. With no rule for Microsoft Advertising, it may run anywhere.

A test on Microsoft Advertising varies one of: bidding, landing page, ad copy.

Definition version 1, id `microsoft-ads`.
