Sign in

Create Ad Set

documented

Create a new ad set.

POST /ad-setsAd Setsno 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-partner.spotify.com/ads/v3/ad_accounts/{{$ad_account_id}}/ad_sets" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"name": "{{$ad_set_name}}", "start_time": "{{$start_time}}", "end_time": "{{$end_time}}", "type": "{{$ad_set_type}}", "budget": {"micro_amount": {{$budget_micro_amount}}}, "targets": {"geo_targets": {"country_code": "{{$country_code}}"}}}'
Create Ad Set · Spotify · OpenIntegrations