Ads

Create an ad account

Changed on
post/api/v1/ads/accounts

Request

  • Base URL: https://app.tryadeli.com
  • URL: https://app.tryadeli.com/api/v1/ads/accounts
  • Auth: HTTP bearer

Query parameters

accountIdstring uuid

The connected account. It names its profile, so profileId can be left out.

profileIdstring uuid

The profile, when no accountId is given.

Headers

Idempotency-Keystring required

Required stable key; a replay returns 200 and an in-progress or failed creation returns 409.

Request body

businessIdstring required
namestring required
currency'USD' | 'CAD' | 'MXN' | 'BRL' | 'GBP' | 'EUR' | 'AUD' | 'NZD' | 'INR' | 'SGD' | 'AED' | 'JPY'
timezone'America/Los_Angeles' | 'America/Denver' | 'Pacific/Honolulu' | 'America/Anchorage' | 'America/Phoenix' | 'America/Chicago' | 'America/New_York' | 'America/Toronto' | 'America/Vancouver' | 'America/Mexico_City' | 'America/Sao_Paulo' | 'Europe/London' | 'Europe/Dublin' | 'Europe/Paris' | 'Europe/Berlin' | 'Europe/Madrid' | 'Europe/Amsterdam' | 'Asia/Dubai' | 'Asia/Kolkata' | 'Asia/Singapore' | 'Asia/Tokyo' | 'Australia/Sydney' | 'Pacific/Auckland' | 'UTC' required

Response

Success

replayedboolean required

Changes

    • breaking

      added the new required header request parameter Idempotency-Key

    • breaking

      the response property / became optional for the status

    • breaking

      the response property // became optional for the status

    • breaking

      the response property // became optional for the status

    • breaking

      the response property // became optional for the status

    • breaking

      the response property // became optional for the status

    • breaking

      the response property // became optional for the status

    • breaking

      the response property /// became optional for the status

    • breaking

      the response property /// became optional for the status

    • breaking

      the response property /// became optional for the status

    • breaking

      the response property // became optional for the status

    • breaking

      the response property // became optional for the status

    • warning

      added the new bluesky enum value to the // response property for the response status

    • warning

      added the new bluesky enum value to the /// response property for the response status

    • warning

      added the new facebook enum value to the // response property for the response status

    • warning

      added the new facebook enum value to the /// response property for the response status

    • warning

      added the new instagram enum value to the // response property for the response status

    • warning

      added the new instagram enum value to the /// response property for the response status

    • warning

      added the new tiktok enum value to the // response property for the response status

    • warning

      added the new tiktok enum value to the /// response property for the response status

    • warning

      added the new whatsapp enum value to the // response property for the response status

    • warning

      added the new whatsapp enum value to the /// response property for the response status

    • warning

      added the new x enum value to the // response property for the response status

    • warning

      added the new x enum value to the /// response property for the response status

    • warning

      added the new youtube enum value to the // response property for the response status

    • warning

      added the new youtube enum value to the /// response property for the response status

    • info

      the query request parameter accountId became optional

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the success response with the status