Skip to content
Ads API •References / Estimate / Get Cost Estimate

Get Cost Estimate

Request

  • ad_account_id
    string [uuid]
    Required
  • optimization_goal
    string [optimization-goal]
    Allowed values: "ARTIST_BOOST"Example: "ARTIST_BOOST"
      • max
        integer
        Required
        Range: 13 - 65Example: 65
      • min
        integer
        Required
        Range: 13 - 65Example: 13
    • artist_ids
      array of strings
    • city_ids
      array of integers
    • country_codes
      array of strings
      Example: "US"
    • dma_ids
      array of integers
    • gender_names
      array of Gender
      Allowed values: "MALE", "FEMALE", "NON_BINARY"Example: "MALE"
    • genre_ids
      array of strings
    • platform_names
      array of Platform
      Allowed values: "IOS", "DESKTOP", "ANDROID", "OTHER"Example: "IOS"
    • playlist_ids
      array of strings
    • region_ids
      array of integers
    • custom_audience_ids
      array of strings
    • slot_type
      string [slot-type]
      Required
      Allowed values: "AUDIO", "VIDEO"Example: "AUDIO"

Response

  • cost_model
    string [ad-set-cost-model]
    Allowed values: "CPCL", "CPM", "CPC", "UNSET"Example: "CPCL"
  • unit_cost_micro_amount
    integer [int64]
    Example: 5000000

Response sample

{  "cost_model": {  },  "unit_cost_micro_amount": 5000000}