Ad Campaigns

Update campaign conversion goals

Changed on

Changes which conversions a Google campaign bids on, switching between account-default goals, its own goals or a custom goal.

In one mutate, it can:

  • set biddable on campaign goals
  • switch goalConfigLevel
  • point the campaign at a custom conversion goal

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

Request

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

    • 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