Skip to content
Ads API •References / Ad Sets / Update Ad Set

Update Ad Set

Updates an existing ad set.

Request

  • ad_account_id
    string [uuid]
    Required
  • ad_set_id
    string [uuid]
    Required
  • budget_micro_amount
    integer [int64]
    Example: 300000000
  • end_date
    string [date-time]
    Example: "2023-09-24T14:00:00Z"
  • name
    string
  • start_date
    string [date-time]
    Example: "2023-08-24T14:00:00Z"
      • 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"
  • version
    integer
    Required

    Long

    Example: 1
  • ad_ids
    array of strings
    • frequency_unit
      string [frequency-cap-frequency-unit]
      Allowed values: "DAY", "MONTH", "WEEK"Example: "DAY"
    • frequency_period
      integer [int32]
      Example: 1
    • max_impressions
      integer [int32]
      Example: 2
  • bid_optimization_goal
    string [bid-optimization-goal]
    Allowed values: "UNSET", "EVEN_IMPRESSION_DELIVERY", "REACH", "AD_COMPLETES"Example: "AD_COMPLETES"
  • bid_strategy
    string [bid-strategy]
    Allowed values: "UNSET", "MAX_BID"Example: "MAX_BID"
  • bid_micro_amount
    integer [int64]
    Example: 12000000

Response

    Response sample