Ad Accounts

Detach a Google Ads label

Changed on

Removes a Google Ads label from the campaigns, ad groups, ads or keywords you name, skipping any that do not have it.

Idempotent; a target without the label is counted in unchanged. Fields go in the query string. A JSON body with the same fields is also accepted and, when sent, the query string is ignored.

delete/v1/ads/labels/{labelId}/assignments

Request

Path parameters

labelIdstring required

Google label id

Query parameters

accountIdstring required

Zernio Google Ads connection id.

adAccountIdstring

Platform ad account ID (Google customer ID, digits only). Required when the connection has multiple customers.

customerIdstring

Alias of adAccountId, kept for existing callers

campaignIdsstring[]

Google campaign ids. Repeat the parameter or pass a comma-separated list.

adSetIdsstring[]

Google ad group ids. Repeat the parameter or pass a comma-separated list.

adIdsstring[]

Google ad group ad ids, {adGroupId}~{adId}. Repeat the parameter or pass a comma-separated list.

keywordIdsstring[]

Google keyword criterion ids, {adGroupId}~{criterionId}. Repeat the parameter or pass a comma-separated list.

Response

Label detached

customerIdstring
labelIdstring
detachedinteger

Links removed by this call

unchangedinteger

Targets that did not carry the label

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the non-success response with the status