Create ad preview with pin or image

POST {{baseUrl}}/ad_accounts/:ad_account_id/ad_previews

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.

Request Body

{"image_url"=>"<string>", "title"=>"<string>"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;url&quot;:&quot;\u003cstring\u003e&quot;}