Ad Campaigns

Update campaign conversion goals

Sets biddable on campaign goals, switches goalConfigLevel, and/or points the campaign at a custom conversion goal, in one mutate. customConversionGoalId: null clears it; Google refuses that (400) while the campaign stays at CAMPAIGN level with no biddable goals, so send goalConfigLevel: CUSTOMER with it to fall back to the account goals. Returns the re-read campaign goals.

patch/v1/ads/campaigns/{campaignId}/conversion-goals

Path parameters

campaignIdstring required

Google campaign id

Request body

goalConfigLevel'CUSTOMER' | 'CAMPAIGN'
customConversionGoalIdstring nullable

Custom goal to bid on, or null to clear

Response

Campaign goals updated

campaignIdstring
goalConfigLevel'CUSTOMER' | 'CAMPAIGN' | 'UNSPECIFIED' | 'UNKNOWN'
customConversionGoalIdstring nullable
customerIdstring

Changes

Changed in 1 of the 57 revisions of this API.1