CreateAdPreviewFromPin
Create an ad preview using an existing Pin, given an ad account ID and a Pin ID.
Stored Procedure Specific Information
Pinterest allows only a small subset of columns to be used in the EXECUTE query. These columns can typically only be used with the = comparison.
The CreateAdPreviewFromPin stored procedure requires AdAccountId and PinId to be specified.
For example:
EXEC CreateAdPreviewFromPin AdAccountId = '549769357724', PinId = '7389479023'
Input
| Name | Type | Required | Description |
| AdAccountId | String | True | Unique identifier of an ad account. |
| PinId | String | True | Pin ID. |
| CreativeType | String | False | Creative type of the ad preview.
The allowed values are SHOPPING, COLLECTION, MAX_VIDEO, MAX_WIDTH_VIDEO_COLLECTION, MAX_WIDTH_REGULAR_COLLECTION, CTV_VIDEO. |
Result Set Columns
| Name | Type | Description |
| Status | String | Returns the execution status of the stored procedure. |
| Url | String | Preview URL, expires in 7 days. |