---
title: "Updates an ad group user status"
method: PUT
path: "/api/v3/advertisers/{advertiserId}/adgroups/{adgroupId}/status"
tags: ["AdGroup"]
---

# Updates an ad group user status

`PUT /api/v3/advertisers/{advertiserId}/adgroups/{adgroupId}/status`

## Request

- Base URL: `https://ads.nextdoor.com`
- URL: `https://ads.nextdoor.com/api/v3/advertisers/{advertiserId}/adgroups/{adgroupId}/status`
- Auth: HTTP bearer

## Path parameters

- `adgroupId` string, required
- `advertiserId` string, required

## Request body

- object
  - `user_status` 'ACTIVE' | 'PAUSED': The user status to set for the ad group

## Response `200`

The updated ad group

- object
  - `advertiser_id` string: The advertiser id that this ad group is tied to
  - `bid` object: The user configured bid for this ad group
    - `amount` string, nullable: The user set bid amount for the ad group if set
    - `bid_strategy` 'AUTO_BID' | 'MAX_BID': The user configured bid strategy for this ad group
    - `pricing_type` 'CPM' | 'CPC' | 'CPM_MAX_IMPRESSIONS': The pricing type chosen by the user
  - `budget` object: The user configured budget for this ad group
    - `amount` string: The user set budget amount for the ad group
    - `budget_type` 'DAILY_CAP_MONEY' | 'LIFETIME_CAP_MONEY': The budget type chosen by the user
  - `campaign_id` string: The campaign id that this ad group is tied to
  - `created_at` string, date-time: The creation time of the ad group
  - `end_time` string, date-time, nullable: The end time for this ad group
  - `frequency_caps` object[]: The frequency cap data for this adgroup
    - `max_impressions` integer
    - `num_timeunits` integer
    - `timeunit` 'MINUTE' | 'HOUR' | 'DAY' | 'WEEK' | 'MONTH'
  - `id` string: The id of the ad group
  - `name` string: The name of the ad group
  - `placements` string[]: The placements configured for this ad group
  - `start_time` string, date-time: The start time for this ad group
  - `status` 'DRAFT' | 'ACTIVE' | 'PARTIALLY_ACTIVE' | 'NO_ADS' | 'ARCHIVED' | 'PAUSED' | 'PAUSED_DUE_TO_CAMPAIGN_PAUSE' | 'COMPLETED' | 'PENDING' | 'INELIGIBLE': The delivery status of the ad group
  - `targeting` object: The targeting configured for this adgroup
    - `audience_targeting_ids` string[]: The audience targeting feature ids set for an ad group
    - `custom_audience_targeting` object, nullable: The custom audience boolean targeting data for an ad group
      - `exclude` array[]: A list of lists of IDs to exclude in targeting. IDs within each inner list are unioned (OR), and the inner lists are intersected (AND)
        - unknown[]
          - unknown
      - `include` array[]: A list of lists of IDs to include in targeting. IDs within each inner list are unioned (OR), and the inner lists are intersected (AND).
        - unknown[]
          - unknown
    - `excluded_location_targeting_ids` string[]: The excluded location targeting feature ids set for an ad group
    - `geo_source_types` string[]: The geo source types to target on for the ad group
    - `included_location_targeting_ids` string[]: The included location targeting feature ids set for an ad group
    - `interests_targeting` object, nullable: The interests boolean targeting data for an ad group
      - `exclude` array[]: A list of lists of IDs to exclude in targeting. IDs within each inner list are unioned (OR), and the inner lists are intersected (AND)
        - unknown[]
          - unknown
      - `include` array[]: A list of lists of IDs to include in targeting. IDs within each inner list are unioned (OR), and the inner lists are intersected (AND).
        - unknown[]
          - unknown
    - `time_of_day` object: The time of day targeting data for an ad group
      - `excluded` object[]: The time of day data set to be excluded for targeting
        - `days` string[]
        - `time` object
          - `start_time` string
          - `end_time` string
      - `included` object[]: The time of day data set to be included for targeting
        - `days` string[]
        - `time` object
          - `start_time` string
          - `end_time` string
  - `updated_at` string, date-time: The last updated time of the ad group
  - `user_status` 'DRAFT' | 'ACTIVE' | 'PAUSED' | 'ARCHIVED': The user set status of the ad group

## Other responses

- `400`: Bad Request. Indicates that the server cannot process the request due to client-side error. For example invalid input.
- `401`: Unauthorized. The API key is invalid and needs to be re-generated.
- `403`: Forbidden. The token passed in has been successfully authenticated, but can’t perform the given action due to not having sufficient permissions.
- `500`: Internal server error.
- `503`: The server is temporarily unable to handle the request due to maintenance or overload.

---

[API](https://skmtc.dev/nextdoor/apis/advertising.md) - [All operations](https://skmtc.dev/nextdoor/apis/advertising/llms.txt) - [OpenAPI document](https://skmtc.dev/nextdoor/apis/advertising/revisions/cdbbecabcffc?raw)
