ads
Create ad preview with pin or image
Create an ad preview given an ad account ID and either an existing organic pin ID or the URL for an image to be used to create the Pin and the ad.
If you are creating a preview from an existing Pin, that Pin must be promotable: that is, it must have a clickthrough link and meet other requirements. (See Ads Overview.)
You can view the returned preview URL on a webpage or iframe for 7 days, after which the URL expires. Collection ads are not currently supported ad preview.
post/ad_accounts/{ad_account_id}/ad_previews
Path parameters
ad_account_idstring required
Unique identifier of an ad account.
Request body
Example request
{
"image_url": "https://somewebsite.com/someimage.jpg",
"title": "My Preview Image"
}Response
The request has succeeded.
Example response
{
"url": "https://ads.pinterest.com/ad-preview/58f1a0e9ab0bd0f99462a0e4c5dd7e8297888c8a36331e88f757abe8f0295d31/"
}