customers

POST /v23/customers/{customersId}/Goals:mutate

Create or update goals. List of thrown errors: AuthenticationError AuthorizationError HeaderError InternalError QuotaError RequestError GoalError GoalServicesError

Request

  • Base URL
    https://searchads360.googleapis.com
  • Auth
    OAuth 2 and OAuth 2
    Implicithttps://accounts.google.com/o/oauth2/auth
    Scopeshttps://www.googleapis.com/auth/doubleclicksearch
    Authorization codehttps://accounts.google.com/o/oauth2/auth
    Token URLhttps://accounts.google.com/o/oauth2/token
    Scopeshttps://www.googleapis.com/auth/doubleclicksearch
  • TypeScript
    A function with typed inputs. Its response is checked against the schema.

Path parameters

customersIdstring required

Request body

partialFailureboolean

Optional. If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will be carried out in one transaction if and only if they are all valid. Default is false.

validateOnlyboolean

Optional. If true, the request is validated but not executed. Only errors are returned, not results.

Response

Successful response

Changes

No recorded changes to this operation across all 4 revisions of this API.