Meta Ads icon

Meta Ads

Access Meta Ads Marketing API

Actions20

Ad Creative → Create

AI-generated

Summary

Create a new ad creative in a specified Meta Ads ad account by providing the ad account ID, a name, and a JSON object story specification.

Inputs

  • Ad Account ID (required) — The numeric ID of the ad account to create the ad creative in, without the act_ prefix.
  • Name (required) — The name to assign to the new ad creative.
  • Object Story Spec (required) — A JSON object defining the story specification for the ad creative, including details like page ID, link data, message, and image hash.

Output shape

a single JSON object representing the created ad creative, including its assigned ID and details as returned from the Meta Ads API.

The operation executes a POST request to the endpoint /act_{adAccountId}/adcreatives with the provided parameters in the request body. The response includes the newly created ad creative's data. No pagination applies since this concerns single resource creation.

Examples

Example 1: Create an ad creative named 'Summer Sale' in ad account ID 75230120461793 with a specified object story spec JSON.

Set Ad Account ID to '75230120461793', Name to 'Summer Sale', and Object Story Spec to the corresponding JSON defining the ad's link, image, and message.

Links

Discussion