CreateAdPreviewFromImage
Create an ad preview given an ad account ID and the URL of an image to be used to create the Pin and the ad.
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 CreateAdPreviewFromImage stored procedure requires AdAccountId, ImageUrl and Title to be specified.
For example:
EXEC CreateAdPreviewFromImage AdAccountId = '549769357724', ImageUrl = 'https://somewebsite.com/someimage.jpg', Title = 'Testing'
Input
| Name | Type | Required | Description |
| AdAccountId | String | True | Unique identifier of an ad account. |
| ImageUrl | String | True | Image URL. |
| Title | String | True | Title displayed below ad. |
| PromotionId | String | False | Promotion id for the ad to preview, optional and only applicable when creating ad preview for an existing promotion. |
Result Set Columns
| Name | Type | Description |
| Status | String | Returns the execution status of the stored procedure. |
| Url | String | Preview URL, expires in 7 days. |