ads
Create ad preview records for one or more ad groups
Changed onCreate ad preview records for one or more ad groups that can be shared. Each ad group is processed independently; individual failures do not block other previews.
post/ad_accounts/{ad_account_id}/campaign_ad_preview
Request
- Base URLhttps://api.pinterest.com/v5
- AuthOAuth 2Authorization codehttps://www.pinterest.com/oauth/Token URLhttps://api.pinterest.com/v5/oauth/tokenScopesads:write
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
ad_account_idstring required
Unique identifier of an ad account.
Request body
Example request
[
{
"ad_group_id": "1234567890"
}
]Response
The request has succeeded.
Example response
[
{
"data": {
"ad_account_id": "549755885175",
"ad_group_id": "1234567890",
"url": "https://ads.pinterest.com/web-ad-preview/748db198-bd61-4a6f-b756-996c034e8cbb/"
}
}
]Changes
- info
endpoint added
- info