# Get Started with the Marketing API To use the Marketing API, you must follow some key steps to set up your 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](https://www.facebook.com/business/help/915885887059947) to run campaigns and manage billing. An ad account allows you to track your advertising expenses, monitor performance, and optimize your campaigns. ### Finding your Ad Account number Find your ad account number in [Meta Ads Manager](https://adsmanager.facebook.com). 1. **Log into Facebook:** Start by logging into your Facebook account that is associated with your business. 2. **Access Ads Manager:** Find Ads Manager 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, your ad account number appears in the Account overview section along with other details such as your billing information and spending limits. ## Meta Developer account See [Register as a Meta Developer](https://developers.facebook.com/docs/development/register) for more information. ## Create an app See [Create an App](https://developers.facebook.com/docs/development/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](https://developers.facebook.com/documentation/ads-commerce/marketing-api/get-started/authorization) for more information on verifying the users and apps that will be accessing the Marketing API and granting them permissions. See [Authentication](https://developers.facebook.com/documentation/ads-commerce/marketing-api/get-started/authentication) for more information on getting, extending, and renewing access tokens with the Marketing API. ## Next steps 1. [Create an Ad Campaign](https://developers.facebook.com/documentation/ads-commerce/marketing-api/get-started/basic-ad-creation/create-an-ad-campaign) 2. [Manage Ad Campaigns](https://developers.facebook.com/documentation/ads-commerce/marketing-api/get-started/manage-campaigns) 3. [Optimize Ad Campaigns](https://developers.facebook.com/documentation/ads-commerce/marketing-api/get-started/ad-optimization-basics)