A partir del 8 de septiembre de 2025, cada elemento de la línea nuevo deberá declarar si publicará anuncios políticos de la Unión Europea (UE). Las cargas de la API de Display & Video 360 y del SDF que no proporcionen declaraciones fallarán. Consulta nuestra página de bajas para obtener más detalles sobre cómo actualizar tu integración y realizar esta declaración.
[null,null,["Última actualización: 2025-07-25 (UTC)"],[[["\u003cp\u003eUpdates an existing custom bidding algorithm using a PATCH request.\u003c/p\u003e\n"],["\u003cp\u003eRequires providing the \u003ccode\u003ecustomBiddingAlgorithmId\u003c/code\u003e in the request path.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eupdateMask\u003c/code\u003e query parameter is required to specify the fields to update.\u003c/p\u003e\n"],["\u003cp\u003eUses the \u003ccode\u003eCustomBiddingAlgorithm\u003c/code\u003e object in both the request and response body.\u003c/p\u003e\n"],["\u003cp\u003eNeeds authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/display-video\u003c/code\u003e scope.\u003c/p\u003e\n"]]],[],null,["# Method: customBiddingAlgorithms.patch\n\n| Display \\& Video 360 API v1 has been sunset.\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization Scopes](#body.aspect)\n- [Try it!](#try-it)\n\nUpdates an existing custom bidding algorithm. Returns the updated custom bidding algorithm if successful.\n\n### HTTP request\n\n`PATCH https://displayvideo.googleapis.com/v1/customBiddingAlgorithms/{customBiddingAlgorithm.customBiddingAlgorithmId}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|---------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `customBiddingAlgorithm.customBiddingAlgorithmId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Output only. The unique ID of the custom bidding algorithm. Assigned by the system. |\n\n### Query parameters\n\n| Parameters ||\n|--------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `updateMask` | `string (`[FieldMask](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask)` format)` Required. The mask to control which fields to update. This is a comma-separated list of fully qualified names of fields. Example: `\"user.displayName,photo\"`. |\n\n### Request body\n\nThe request body contains an instance of [CustomBiddingAlgorithm](/display-video/api/reference/rest/v1/customBiddingAlgorithms#CustomBiddingAlgorithm).\n\n### Response body\n\nIf successful, the response body contains an instance of [CustomBiddingAlgorithm](/display-video/api/reference/rest/v1/customBiddingAlgorithms#CustomBiddingAlgorithm).\n\n### Authorization Scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/display-video`\n\nFor more information, see the [OAuth 2.0 Overview](https://developers.google.com/identity/protocols/OAuth2)."]]