Create Ad Account for Business
documentedCreate a new ad account under a business.
POST /businesses/{business_id}/ad_accountsAd Accountsno implementation yet0 runsNo 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/businesses/{{$business_id}}/ad_accounts\" \
-X POST \
-H \"Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}\" \
-H \"Content-Type: application/json\" \
-H \"Accept: application/json\" \
-d '{"bill_to_address": {"name": "{{$bill_to_name}}", "street": "{{$bill_to_street}}", "city": "{{$bill_to_city}}", "region": "{{$bill_to_region}}", "postal_code": "{{$bill_to_postal_code}}", "tax_region": "{{$bill_to_tax_region}}"}, "tax_ids": [{"id": "{{$tax_id}}", "type": "{{$tax_type}}"}], "currency_code": "{{$currency_code}}", "name": "{{$account_name}}", "type": "{{$account_type}}", "industry": "{{$industry}}", "country_code": "{{$country_code}}", "legal_entity_name": "{{$legal_entity_name}}", "website": "{{$website}}"}'