# Ads Buying
The following guide shows how to create ad campaigns for [Click to Messenger Ads](#messenger) and Facebook Page [promotions](#page-promo).
## Click to Messenger Ads {#messenger}
Click-to-Messenger Ads allow people to directly start a thread with your Facebook Page when they click on your ad.
### Requirements
* An Ad Account ID
### Sample Code
The following code example shows you how to create an ad that will run during a designated time period.
## Page Promotion {#page-promo}
Create an ad to increase traffic to your Facebook Page.
### Requirements
* An Ad Account ID
* A Facebook Page ID
### Sample Code
The following code example shows you how to create an ad campaign to promote your Page to get more Page Likes. The ad will run in the US with a daily budget of $1000 USD where ad impressions is the goal of the campaign.
## Learn More
- [Messenger Ads docs](https://developers.facebook.com/docs/messenger-platform/discovery/ads) – Learn more about Messenger Ads
- [Ad Set Reference](https://developers.facebook.com/documentation/ads-commerce/marketing-api/reference/ad-campaign) – Learn more about Ad Sets