ad-groups

Delete an ad group

Deletes an empty ad group. While it still has ads or keywords the request is refused, so nothing disappears by accident; pass ?cascade=true to delete them in the same request. Changes reach the ad platforms on the next sync.

Errors

  • 404 NOT_FOUND: no ad group with this id in the active Space.
  • 409 CONFLICT: the ad group still has ads or keywords; details carries the counts ({ ads, keywords }).
delete/api/v1/ad-groups/{id}

Request

  • Base URL: https://api.growomat.com
  • URL: https://api.growomat.com/api/v1/ad-groups/{id}
  • Auth: HTTP bearer

Path parameters

idstring required

The ad group id.

Query parameters

cascadeboolean

Set to true to delete the ad group's ads and keywords along with it.

Headers

X-Space-Idstring

The Space to work in, for example spc_8f3aK2. Omit it to use your personal Space. List your Spaces returns the ids. A Space that does not exist returns 404 SPACE_NOT_FOUND; one you are not a member of returns 403 NOT_A_MEMBER.

Response

OK. The result is in data. List responses also carry meta with nextCursor and total.

dataunknown required

Changes

No recorded changes to this operation across all 1 revision of this API.