Use Facebook ads with your existing customers and to reach new ones. Each guide describes Facebook ads products to help meet your advertising goals. There are several types of ad units with a variety of appearances, placement and creative options. For guidelines on ads units as creative content, see Facebook Ads Guide.
Creative
An ad creative is an object that contains all the data for visually rendering the ad itself. In the API, there are different types of ads that you can create on Facebook, all listed here.
If you have a campaign with the Page Post Engagement Objective, you can now create an ad that promotes a post made by the page. This is considered a Page post ad. Page post ads require a field called object_story_id, which is the id property of a Page post. Learn more about Ad Creative, Reference.
An ad creative has three parts:
The ad creative itself, defined by the visual attributes of the creative object
There are limits on the creative’s text, image size, image aspect ratio and other aspects of the creative. See the Ads Guide.
Read
In the Ads API, each field you want to retrieve needs to be asked for explicitly, except for id. Each object’s Reference has a section for reading back the object and lists what fields are readable. For the creative, it’s the same fields as specified when creating the object, and id.
A placement is where your ad is shown on Facebook, such as on Feed on desktop, Feed on a mobile device or on the right column. See Ads Product Guide.
We encourage you to run ads across the full range of available placements. Facebook’s ad auction is designed to deliver ad impressions to the placement most likely to drive campaign results at the lowest possible cost.
The easiest way to take advantage of this optimization is to leave this field blank. You can also select specific placements in an ad set’s target_spec.
This example has a page post ad. The available placements are Mobile Feed, Desktop Feed and Right column of Facebook. In the API, see Placement Options. If you choose desktopfeed and rightcolumn as the page_type, the ad runs on Desktop Feed and Right column placements. Any ad created below this ad set has only the desktop placement.
The available values for ad_format differ a bit from page_types. But, in this scenario, Desktop Feed and Right column of Facebook are selected. This requires you to make two API calls to generate the previews for each placement: