
| Parameter | Description |
|---|---|
is_cartingboolean Optional | Indicate whether the ad will include where-to-buy hyperlinks ( true |
destination_urlstring Optional | Provide the MikMak product URL, which a shopper can use to link to the retailer's site. |
curl --location 'https://api.pinterest.com/v5/ad_accounts/123456789012/ads' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer pina_ABCD1234...' \ --data '[ { "ad_group_id": "2680085321504", "android_deep_link": "", "creative_type": "REGULAR", "destination_url": "https://shop.mikmak.ai/social/6893c661862d000f9ea710da", "ios_deep_link": "", "is_pin_deleted": false, "is_removable": false, "name": "prod test WTB MM v5 ad", "status": "ACTIVE", "tracking_urls": {}, "grid_click_type": "DIRECT_TO_DESTINATION", "customizable_cta_type": "FIND_RETAILERS", "pin_id": "1010706341381983794", "is_carting": true } ]'
| Field | Description |
|---|---|
carting_productsarray | Carting product metadata parsed from the MikMak URL that you provided in the request. Currently, only one product ID and product price are returned. This array is empty for non-where-to-buy ads. |
carting_products.carting_product.idstring | Identifier of the product in the MikMak site. |
carting_products.display_product_priceboolean | Whether the product price is displayed in the where-to-buy ad closeup after the user clicks into the Pin on the Pinterest mobile app, for all retailers ( true |
{ "items": [ { "data": { "id": "687302510865", "ad_group_id": "2680085321504", "ad_account_id": "549768407943", "android_deep_link": "", "campaign_id": "626755146078", "carousel_android_deep_links": null, "carousel_destination_urls": null, "carousel_ios_deep_links": null, "click_tracking_url": null, "collection_items_destination_url_template": null, "created_time": 1770748356, "creative_type": "REGULAR", "destination_url": "https://shop.mikmak.ai/social/6893c661862d000f9ea710da", "ios_deep_link": "", "is_pin_deleted": false, "is_removable": false, "name": "prod test WTB MM v5 ad", "pin_id": "1010706341381983794", "rejected_reasons": [], "rejection_labels": [], "review_status": "PENDING", "status": "ACTIVE", "summary_status": "PENDING", "tracking_urls": null, "type": "ad", "updated_time": 1770748357, "view_tracking_url": null, "lead_form_id": null, "quiz_pin_data": null, "grid_click_type": "DIRECT_TO_DESTINATION", "customizable_cta_type": "FIND_RETAILERS", "ext_features": null, "disclosure_type": null, "disclosure_url": null, "is_carting": true, "carting_platform_type": 1, "carting_products": [ { "carting_product_id": "2045931448855232133", "display_product_price": false } ] } } ] }
| Error code | Action |
|---|---|
400 | Check to make sure:
|
403 | Check if the product in destination_url |
500 | Retry the request later or contact Support for this Pinterest server error. |
curl --location 'https://api.pinterest.com/v5/ad_accounts/123456789012/ads/210987654321' \ --header 'Authorization: Bearer pina_ABCD1234...' \
curl --location 'https://api.pinterest.com/v5/ad_accounts/123456789012/ads?ad_ids=432143214321' \ --header 'Authorization: Bearer pina_ABCD1234...' \
| Field | Description |
|---|---|
carting_productsarray | Carting product metadata parsed from the MikMak URL that you provided in the request. Currently, only one product ID and product price are returned. This array is empty for non-where-to-buy ads. |
carting_products.carting_product.idstring | Identifier of the product in the MikMak site. |
carting_products.display_product_priceboolean | Whether the product price is displayed in the where-to-buy ad closeup after the user clicks into the Pin on the Pinterest mobile app, for all retailers ( true |
{ "id": "687302510865", "ad_group_id": "2680085321504", "ad_account_id": "549768407943", "android_deep_link": "", "campaign_id": "626755146078", "carousel_android_deep_links": null, "carousel_destination_urls": null, "carousel_ios_deep_links": null, "click_tracking_url": null, "collection_items_destination_url_template": null, "created_time": 1770748356, "creative_type": "REGULAR", "destination_url": "https://shop.mikmak.ai/social/6893c661862d000f9ea710da", "ios_deep_link": "", "is_pin_deleted": false, "is_removable": false, "name": "prod test WTB MM v5 ad", "pin_id": "1010706341381983794", "rejected_reasons": [], "rejection_labels": [], "review_status": "PENDING", "status": "ACTIVE", "summary_status": "PENDING", "tracking_urls": null, "type": "ad", "updated_time": 1770748358, "view_tracking_url": null, "lead_form_id": null, "quiz_pin_data": null, "grid_click_type": "DIRECT_TO_DESTINATION", "customizable_cta_type": "FIND_RETAILERS", "ext_features": null, "disclosure_type": null, "disclosure_url": null, "is_carting": true, "carting_platform_type": 1, "carting_products": [ { "carting_product_id": "2045931448855232133", "display_product_price": false } ] }