API Documentation

n_2 API provides a unified REST interface that simplifies access to major ad platforms. It is designed for managing advertising accounts and campaigns across platforms. It is intended for developers who want to integrate n_2 into their AdTech product.

In addition to its unified endpoints, n_2 also allows you to send raw requests directly to the underlying advertising platforms, giving you faster access to platform-specific features and enabling full flexibility.


Getting started

  1. Log in to your account: Before you start, you need to have an n_2 account. If you don't have one yet, you can request early access.
  2. Create a company token: A company token is used to make API calls against n_2 in the name of a company. Visit the Integrations page to retrieve your company token. Keep it safe and do not share it with anyone. In case you suspect that it has been compromised, revoke it immediately.
  3. Follow the AdTech Quickstart: This guide explains how to get started with your account to leverage the integrations of n_2 for your AdTech.

If you are lacking inspiration, check out our guides and resources for ideas on how to use the API.

Guides

Authentication

Learn how to authenticate your API requests.

Read more

Tutorials

Learn how to use the API with a tutorial.

Read more

Webhooks

Learn how to programmatically configure webhooks for your app.

Coming soon

Resources

Platforms

Learn about the Platforms model and how to retrieve a list of all supported advertising platforms.

Campaigns

Learn about the Campaigns model and how to create, retrieve, update, delete, and list campaigns.

Ad sets

Learn about the Ad sets model and how to create, retrieve, update, delete, and list all ad sets.

Raw requests

Learn how to tunnel raw requests to the underlying advertising platforms.

Was this page helpful?