> For the complete documentation index, see [llms.txt](https://docs.milientsoftware.com/help/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.milientsoftware.com/help/moment-by-topic/integrations/file-import/integration-file-import/some-ad-expenses.md).

# SoMe Ad Expenses

Social Media Ad expenses integration supports import of files from various ad providers. By providing the files in the defined format, the integration is able to place these on the correct project/activity.

### What social media ads providers are supported?

The import is currently supporting the following providers:

* Facebook Ads <img src="/files/-MVMdz9Cx_A3nyrMJLQv" alt="" data-size="line">&#x20;
* Google Ads <img src="/files/-MVMdgL9Tk9lCcUOPgU1" alt="" data-size="line">&#x20;
* Display & Video 360 (Google Marketing) <img src="/files/-MVMcl99KR_LP18MgrqU" alt="" data-size="line">&#x20;
* Microsoft Ads
* LinkedIn Ads <img src="/files/-MVMeHvsX8YzzpCHjlZp" alt="" data-size="line">&#x20;
* Snapchat Ads <img src="/files/-MVMeUbaRQ1sdhYgaPVL" alt="" data-size="line">&#x20;

### What is the purpose of the integration?

To cover the need of having expenses that are coming from the various social media ads providers easily split to the correct project/customer in Moment, this integration will handle this part by using what's available in the external platform to relate with projects in Moment.

### How does the integration handle customers?

In the case of the various ad providers, each customer must have a unique ID, this ID will be registered to a project in Moment. By doing so, any expenses related to the customer will be registered to the defined project. Use a custom field on the project for this purpose. Create one field for each ad system that will be used.

#### Multiple customers collected

If there is the need to have multiple customers from the ad provider to be collected on the same project in Moment there is also support for this. Just register multiple customer IDs for the same project, use comma to separate the various customer IDs.

#### Same customer ID on multiple projects

If the same customer ID is found on multiple projects, the project that was most recently created is the one used.

### How does the integration handle campaigns?

In addition, in those cases where there is the need to split expenses on to a specific campaign, the import also handles this. This requires any campaigns where this is to be used to be created as an activity within the project in Moment. It's very important that the name of the activity is exactly matching the name of the campaign in the ad system.


---

# 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://docs.milientsoftware.com/help/moment-by-topic/integrations/file-import/integration-file-import/some-ad-expenses.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.
