Ad Campaigns

Replace campaign negative lists

Changed on

Sets exactly which shared negative keyword lists apply to a Google campaign, or detaches them all, without changing the lists themselves.

Send listIds=[] to detach all negative keyword lists. Only campaign_shared_set links are changed; the lists and their keywords are preserved. Every list must belong to the campaign customer and have type NEGATIVE_KEYWORDS.

put/v1/ads/campaigns/{campaignId}/negative-keyword-lists

Request

Path parameters

campaignIdstring required

Google campaign id.

Request body

platform'facebook' | 'instagram' | 'tiktok' | 'linkedin' | 'pinterest' | 'google' | 'twitter' | 'openai' | 'reddit'

Optional courtesy field. The resolved account or campaign determines support; other platforms return 501.

listIdsstring[] required

Response

Successful response.

createdinteger

New criteria or campaign links created.

removedinteger

Existing criteria or campaign links removed.

customerIdstring

Resolved Google Ads customer id.

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 new reddit enum value to the request property