Sign in

Create ad

documented

Create an ad in an ad account.

POST /ad_accounts/{ad_account_id}/adsAdsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl \"https://api.pinterest.com/v5/ad_accounts/{{$ad_account_id}}/ads\" \
  -X POST \
  -H \"Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}\" \
  -H \"Content-Type: application/json\" \
  -H \"Accept: application/json\" \
  -d '[{\"ad_group_id\": \"{{$ad_group_id}}\", \"pin_id\": \"{{$pin_id}}\", \"creative_type\": {\"value\": \"{{$creative_type}}\"}, \"name\": \"{{$ad_name}}\", \"destination_url\": \"{{$destination_url}}\", \"tracking_urls\": {\"click\": [\"{{$click_tracking_url}}\"]}}]'