> For the complete documentation index, see [llms.txt](https://docs.devtodev.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devtodev.com/~/changes/KHSfVuDz62f75T3NzrM9/3rd-party-sources/cohort-export.md).

# Cohort export

Export your cohorts to Google Ads and Facebook to use the audiences for ad targeting. To start the integration, open Settings → 3rd party sources → Cohort export.

![](https://2105883905-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LnGcP_ZeRJ1ipj9O8dF%2Fuploads%2FIyFoaxPZRJnyWH1oDqiA%2Fimage.png?alt=media\&token=67b0fb5d-400b-4787-94e9-1ca887b6b9b4)

Click the pen icon to sign in and allow devtodev to edit campaigns in the ad network.

**Google Ads**\
Configure the fields required for cohort synchronization:\
Specify Google Ads customerID. To find your customerID, go to the [page](https://support.google.com/google-ads/answer/1704344).&#x20;

**Facebook** \
Configure the fields required for cohort synchronization:\
Specify Ad Account ID. To find your Ad Account ID, go to the [page](https://www.facebook.com/business/help/2534657046763437).<br>

The integration is finished. To cancel the integration with the ad cabinet, toggle it off:

![](https://2105883905-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LnGcP_ZeRJ1ipj9O8dF%2Fuploads%2Fx1NMTDRKEhzMghusAOwR%2Fimage.png?alt=media\&token=200524ca-ef0f-4bed-af80-3ae95ec34a46)


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.devtodev.com/~/changes/KHSfVuDz62f75T3NzrM9/3rd-party-sources/cohort-export.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
