Этот документ обновлен.
Перевод (Русский) еще не готов.
Последнее обновление (английский): 22 ноя
Последнее обновление (Русский): 31 авг

Get Started with the Marketing API

To effectively utilize the Marketing API, users must follow some key steps to set up their environment and gain access to the API's features. This section outlines the prerequisites necessary for getting started.

Ad Account Requirements

To manage your ads through the Marketing API, you must have an active ad account. This account is crucial not only for running campaigns but also for managing billing settings and setting spending limits. An ad account allows you to track your advertising expenses, monitor performance, and optimize your campaigns effectively.

Finding Your Ad Account Number

Locating your ad account number can be done through the Meta Ads Manager.

  1. Log into Facebook: Start by logging into your Facebook account that is associated with your business.
  2. Access Ads Manager: Ads Manager can be found in the drop-down menu in the upper right corner of your Facebook homepage or business page.
  3. Locate your ad account: In Ads Manager, click on the ad account Settings from the menu on the bottom left of the screen.
  4. View ad account information: In the Settings screen, you will find your ad account number listed along with other details such as your billing information and spending limits.

Meta Developer Account

See Register as a Meta Developer for more information.

Create an App

See Create an App for more information on setting up an app in the App Dashboard as well as app types and use cases.

Authorization and Authentication

See Authorization for more information on verifying the users and apps that will be accessing the Marketing API and granting them permissions.

See Authentication for more information on getting, extending, and renewing access tokens with the Marketing API.