Method: bidders.pretargetingConfigs.patch
Stay organized with collections
Save and categorize content based on your preferences.
Updates a pretargeting configuration.
HTTP request
PATCH https://realtimebidding.googleapis.com/v1/{pretargetingConfig.name=bidders/*/pretargetingConfigs/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
pretargetingConfig.name |
string
Output only. Name of the pretargeting configuration that must follow the pattern bidders/{bidder_account_id}/pretargetingConfigs/{config_id}
|
Query parameters
Parameters |
updateMask |
string (FieldMask format)
Field mask to use for partial in-place updates. This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo" .
|
Request body
The request body contains an instance of PretargetingConfig
.
Response body
If successful, the response body contains an instance of PretargetingConfig
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/realtime-bidding
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-07 UTC.
[null,null,["Last updated 2025-05-07 UTC."],[[["\u003cp\u003eThis operation updates existing pretargeting configurations using a PATCH request to a specified URL.\u003c/p\u003e\n"],["\u003cp\u003eThe request needs to include path and query parameters to identify the target and specify update fields.\u003c/p\u003e\n"],["\u003cp\u003eThe request body should contain a \u003ccode\u003ePretargetingConfig\u003c/code\u003e object with the desired updates.\u003c/p\u003e\n"],["\u003cp\u003eUpon success, the response will contain the updated \u003ccode\u003ePretargetingConfig\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eProper authorization with the \u003ccode\u003erealtime-bidding\u003c/code\u003e scope is required for this operation.\u003c/p\u003e\n"]]],[],null,["# Method: bidders.pretargetingConfigs.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 a pretargeting configuration.\n\n### HTTP request\n\n`PATCH https://realtimebidding.googleapis.com/v1/{pretargetingConfig.name=bidders/*/pretargetingConfigs/*}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|---------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `pretargetingConfig.name` | `string` Output only. Name of the pretargeting configuration that must follow the pattern `bidders/{bidder_account_id}/pretargetingConfigs/{config_id}` |\n\n### Query parameters\n\n| Parameters ||\n|--------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `updateMask` | `string (`[FieldMask](https://protobuf.dev/reference/protobuf/google.protobuf/#field-mask)` format)` Field mask to use for partial in-place updates. 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 [PretargetingConfig](/authorized-buyers/apis/realtimebidding/reference/rest/v1/bidders.pretargetingConfigs#PretargetingConfig).\n\n### Response body\n\nIf successful, the response body contains an instance of [PretargetingConfig](/authorized-buyers/apis/realtimebidding/reference/rest/v1/bidders.pretargetingConfigs#PretargetingConfig).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/realtime-bidding`"]]