Method: buyers.creatives.patch
Stay organized with collections
Save and categorize content based on your preferences.
HTTP request
PATCH https://realtimebidding.googleapis.com/v1/{creative.name=buyers/*/creatives/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
creative.name |
string
Output only. Name of the creative. Follows the pattern buyers/{buyer}/creatives/{creative} , where {buyer} represents the account ID of the buyer who owns the creative, and {creative} is the buyer-specific creative ID that references this creative in the bid response.
|
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 Creative
.
Response body
If successful, the response body contains an instance of Creative
.
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\u003eUpdates a specified creative using a \u003ccode\u003ePATCH\u003c/code\u003e request to the provided URL.\u003c/p\u003e\n"],["\u003cp\u003eUtilizes path parameters to identify the creative being updated and query parameters for partial modifications.\u003c/p\u003e\n"],["\u003cp\u003eRequires a request body containing the updated \u003ccode\u003eCreative\u003c/code\u003e object and returns the updated \u003ccode\u003eCreative\u003c/code\u003e object upon successful completion.\u003c/p\u003e\n"],["\u003cp\u003eNeeds authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/realtime-bidding\u003c/code\u003e scope for access.\u003c/p\u003e\n"]]],["This document details updating a creative via a `PATCH` request to a specific URL: `https://realtimebidding.googleapis.com/v1/{creative.name=buyers/*/creatives/*}`. The `creative.name` path parameter identifies the creative. The `updateMask` query parameter specifies fields for partial updates. The request and response bodies both utilize the `Creative` resource. Authorization requires the `https://www.googleapis.com/auth/realtime-bidding` OAuth scope. The document references gRPC Transcoding and FieldMask formatting.\n"],null,["# Method: buyers.creatives.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 creative.\n\n### HTTP request\n\n`PATCH https://realtimebidding.googleapis.com/v1/{creative.name=buyers/*/creatives/*}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|-----------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `creative.name` | `string` Output only. Name of the creative. Follows the pattern `buyers/{buyer}/creatives/{creative}`, where `{buyer}` represents the account ID of the buyer who owns the creative, and `{creative}` is the buyer-specific creative ID that references this creative in the bid response. |\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 [Creative](/authorized-buyers/apis/realtimebidding/reference/rest/v1/bidders.creatives#Creative).\n\n### Response body\n\nIf successful, the response body contains an instance of [Creative](/authorized-buyers/apis/realtimebidding/reference/rest/v1/bidders.creatives#Creative).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/realtime-bidding`"]]