> For the complete documentation index, see [llms.txt](https://documentation.freshpaint.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.freshpaint.io/integrations/destinations/direct-response-ads/bing-ads/bing-ads-multi-config-reference.md).

# Microsoft Ads Multi-Config Reference

By default, built in `pageview` events will be sent to all configured tag IDs in a given environment, for every page where the Freshpaint Autotrack snippet is loaded.

So, for example, if you have 15 tag IDs for a single environment, on any page where you load Freshpaint with your environment ID, a `pageview` event will be sent to all 15 tag IDs in Microsoft Ads.

In some scenarios, such as where each tag ID is intended to be for only a specific page or subdomain, this can result in duplicate events in Microsoft Ads.

If you would like to have a view of a given page go to just one particular tag ID, and not others, then you would not want to use the built in `pageview` event.

Even when you have only a single measurement ID, you might not want these built-in events to be sent from every page the Freshpaint Autotrack snippet is loaded.

You can instead create a custom `page_view`event (note that the custom event must be `page_view` and not `pageview`) to be sent only for the conditions you choose (such as page URL), as detailed below.

### Built in event setup options:

#### There are 2 ways a user can set up Microsoft Ads `pageview:`

1. Enable "Automatically Send Page View Events". This will send `pageview` events from all pages where the Freshpaint Autotrack snippet is loaded, to every configured tag ID.
2. Disable "Automatically Send Page View Events", and create your own custom `page_view` event. If you name it something other than `page_view`, you can use [Transformations](/admin-panel/transformations.md) to rename it to `page_view` so we can process it correctly.\
   \
   If using GTM, you would create a Bing Ads Page View tag (only when "Automatically Send Page View Events" is disabled):

<figure><img src="/files/EysLYRy9np6YkQSpnVvh" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://documentation.freshpaint.io/integrations/destinations/direct-response-ads/bing-ads/bing-ads-multi-config-reference.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
