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.
Method: customBiddingAlgorithms.patch
Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
Actualiza un algoritmo de ofertas personalizadas existente. Devuelve el algoritmo de ofertas personalizadas actualizado si se realiza correctamente.
Las solicitudes para actualizar un algoritmo de ofertas personalizado asignado a una línea de pedido mostrarán un error.
Solicitud HTTP
PATCH https://displayvideo.googleapis.com/v4/customBiddingAlgorithms/{customBiddingAlgorithm.customBiddingAlgorithmId}
La URL usa la sintaxis de la transcodificación gRPC.
Parámetros de ruta de acceso
Parámetros |
customBiddingAlgorithm.customBiddingAlgorithmId |
string (int64 format)
Solo salida. Es el ID único del algoritmo de ofertas personalizadas. El sistema lo asigna.
|
Parámetros de consulta
Parámetros |
updateMask |
string (FieldMask format)
Obligatorio. La máscara para controlar qué campos se actualizarán. Esta es una lista separada por comas de los nombres de campos totalmente calificados. Ejemplo: "user.displayName,photo" .
|
Cuerpo de la solicitud
El cuerpo de la solicitud contiene una instancia de CustomBiddingAlgorithm
.
Cuerpo de la respuesta
Si se ejecuta de forma correcta, el cuerpo de la respuesta contiene una instancia de CustomBiddingAlgorithm
.
Permisos de autorización
Requiere el siguiente alcance de OAuth:
https://www.googleapis.com/auth/display-video
Para obtener más información, consulta OAuth 2.0 Overview.
Salvo que se indique lo contrario, el contenido de esta página está sujeto a la licencia Atribución 4.0 de Creative Commons, y los ejemplos de código están sujetos a la licencia Apache 2.0. Para obtener más información, consulta las políticas del sitio de Google Developers. Java es una marca registrada de Oracle o sus afiliados.
Última actualización: 2025-07-25 (UTC)
[null,null,["Última actualización: 2025-07-25 (UTC)"],[],["The Display & Video 360 API v4 (beta) allows updating custom bidding algorithms via a PATCH request. The request URL uses gRPC Transcoding syntax, and requires specifying the algorithm's unique ID as a path parameter. The `updateMask` query parameter is mandatory for controlling which fields to update. The request body contains the `CustomBiddingAlgorithm` instance, and upon success, the response returns the updated `CustomBiddingAlgorithm`. Updates to algorithms assigned to line items will be deprecated starting April 1, 2025. Authorization requires the `https://www.googleapis.com/auth/display-video` scope.\n"],null,["# Method: customBiddingAlgorithms.patch\n\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\nRequests updating a custom bidding algorithm assigned to a line item will return an error.\n\n### HTTP request\n\n`PATCH https://displayvideo.googleapis.com/v4/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://protobuf.dev/reference/protobuf/google.protobuf/#field-mask)` 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/v4/customBiddingAlgorithms#CustomBiddingAlgorithm).\n\n### Response body\n\nIf successful, the response body contains an instance of [CustomBiddingAlgorithm](/display-video/api/reference/rest/v4/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](/identity/protocols/OAuth2)."]]