Method: accounts.creatives.update
Stay organized with collections
Save and categorize content based on your preferences.
HTTP request
PUT https://adexchangebuyer.googleapis.com/v2beta1/accounts/{creative.accountId}/creatives/{creative.creativeId}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
creative.accountId |
string
The account that this creative belongs to. Can be used to filter the response of the creatives.list method.
|
creative.creativeId |
string
The buyer-defined creative ID of this creative. Can be used to filter the response of the creatives.list method.
|
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/adexchange.buyer
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 2024-09-18 UTC.
[null,null,["Last updated 2024-09-18 UTC."],[[["\u003cp\u003eUpdates an existing creative with the provided data.\u003c/p\u003e\n"],["\u003cp\u003eUses a \u003ccode\u003ePUT\u003c/code\u003e request to the specified URL with \u003ccode\u003ecreative.accountId\u003c/code\u003e and \u003ccode\u003ecreative.creativeId\u003c/code\u003e as path parameters.\u003c/p\u003e\n"],["\u003cp\u003eRequires a request body containing a \u003ccode\u003eCreative\u003c/code\u003e object and returns an updated \u003ccode\u003eCreative\u003c/code\u003e object upon success.\u003c/p\u003e\n"],["\u003cp\u003eNeeds authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/adexchange.buyer\u003c/code\u003e scope.\u003c/p\u003e\n"]]],["This document details how to update a creative using a `PUT` HTTP request to a specific URL. The URL utilizes gRPC Transcoding syntax and includes `creative.accountId` and `creative.creativeId` as path parameters, which filter responses in the `creatives.list` method. The request body and response body both contain a `Creative` instance. The process requires OAuth scope: `https://www.googleapis.com/auth/adexchange.buyer`.\n"],null,["# Method: accounts.creatives.update\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_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`PUT https://adexchangebuyer.googleapis.com/v2beta1/accounts/{creative.accountId}/creatives/{creative.creativeId}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|-----------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `creative.accountId` | `string` The account that this creative belongs to. Can be used to filter the response of the [creatives.list](/authorized-buyers/apis/reference/rest/v2beta1/accounts.creatives/list#google.ads.adexchange.buyer.v2beta1.Creatives.ListCreatives) method. |\n| `creative.creativeId` | `string` The buyer-defined creative ID of this creative. Can be used to filter the response of the [creatives.list](/authorized-buyers/apis/reference/rest/v2beta1/accounts.creatives/list#google.ads.adexchange.buyer.v2beta1.Creatives.ListCreatives) method. |\n\n### Request body\n\nThe request body contains an instance of [Creative](/authorized-buyers/apis/reference/rest/v2beta1/accounts.creatives#Creative).\n\n### Response body\n\nIf successful, the response body contains an instance of [Creative](/authorized-buyers/apis/reference/rest/v2beta1/accounts.creatives#Creative).\n\n### Authorization Scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/adexchange.buyer`"]]