Ad Campaigns

Replace campaign-level negative keywords

Replaces the FULL set of campaign-level negative keywords (C.270): the desired list is diffed against what Google already has, and the difference is applied as one create/remove mutate. Send an empty array to clear every campaign negative.

The platform is always discovered from the campaign itself; a non-Google campaign returns 501 rather than 404, whether or not platform was sent.

put/v1/ads/campaigns/{campaignId}/negative-keywords

Path parameters

campaignIdstring required

Platform campaign ID

Request body

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

Optional and NOT authoritative: the resolved campaign's own platform decides 200 vs 501, never this hint.

Response

Campaign-level negative keywords replaced

createdinteger

Negative criteria newly created on Google

removedinteger

Negative criteria removed from Google

Changes