Update campaign conversion goals
Changed onChanges 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.
Request
- Base URLhttps://zernio.com/api
- AuthHTTP bearer
- TypeScripthttps://skmtc.dev/zernio/apis/zernio-api/docs/v1/ads/campaigns/:campaignId/conversion-goals/patch.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
Google campaign id
Request body
Response
Campaign goals updated
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
- info
added the non-success response with the status
- info