latestOpenAPI 3.0.02026-08-1284111344.5 KB

14666f4db0f8

AdGroups

Update an existing Ad Group

Updates an existing Ad Group and returns the updated Ad Group.

put/v2/adgroups/{id}

Path parameters

idstring required
Example:AG-71b8d7310acbf8cc

The ad group ID (prefix AG-).

Headers

Authorizationstring required
Example:Bearer <token>

Bearer Token

Request body

namestring

The name of the ad group.

displayOrdernumber

The position of the ad group in the display list.

descriptionstring

The description of the ad group.

disabledboolean

Indicates whether the ad group is disabled or not.

Example request

{
  "name": "Group 1",
  "displayOrder": 1,
  "description": "This is an ad group."
}

Response

The updated Ad Group.

idstring

The ID of the ad group (prefix AG-).

namestring

The name of the ad group.

displayOrdernumber

The display order of the ad group.

descriptionstring

The description of the ad group.

disabledboolean

Indicates whether the ad group is disabled or not.

Example response

{
  "id": "AG-71b8d7310acbf8cc",
  "name": "Group A",
  "displayOrder": 1,
  "description": "This is a sample ad group."
}