Method: buyers.creatives.create
Stay organized with collections
Save and categorize content based on your preferences.
HTTP request
POST https://realtimebidding.googleapis.com/v1/{parent=buyers/*}/creatives
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
parent |
string
Required. The name of the parent buyer that the new creative belongs to that must follow the pattern buyers/{buyerAccountId} , where {buyerAccountId} represents the account ID of the buyer who owns a creative. For a bidder accessing creatives on behalf of a child seat buyer, {buyerAccountId} should represent the account ID of the child seat buyer.
|
Request body
The request body contains an instance of Creative
.
Response body
If successful, the response body contains a newly created 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 2024-09-18 UTC.
[null,null,["Last updated 2024-09-18 UTC."],[[["\u003cp\u003eCreates a creative under a specified buyer account using an HTTP POST request.\u003c/p\u003e\n"],["\u003cp\u003eRequires providing creative details in the request body according to the \u003ccode\u003eCreative\u003c/code\u003e object specification.\u003c/p\u003e\n"],["\u003cp\u003eThe API endpoint uses gRPC Transcoding syntax and includes a required \u003ccode\u003eparent\u003c/code\u003e path parameter to identify the buyer.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful requests will return the newly created \u003ccode\u003eCreative\u003c/code\u003e object in the response body.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization necessitates the \u003ccode\u003ehttps://www.googleapis.com/auth/realtime-bidding\u003c/code\u003e scope.\u003c/p\u003e\n"]]],["A `POST` HTTP request is used to create a creative at the specified URL: `https://realtimebidding.googleapis.com/v1/{parent=buyers/*}/creatives`. The `parent` path parameter, representing the buyer's account ID, is required. The request body, which must be a `Creative` instance, defines the details of the creative. Upon successful creation, the response body returns the newly created `Creative` instance. Authorization with the scope `https://www.googleapis.com/auth/realtime-bidding` is mandatory.\n"],null,["# Method: buyers.creatives.create\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\nCreates a creative.\n\n### HTTP request\n\n`POST https://realtimebidding.googleapis.com/v1/{parent=buyers/*}/creatives`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `parent` | `string` Required. The name of the parent buyer that the new creative belongs to that must follow the pattern `buyers/{buyerAccountId}`, where `{buyerAccountId}` represents the account ID of the buyer who owns a creative. For a bidder accessing creatives on behalf of a child seat buyer, `{buyerAccountId}` should represent the account ID of the child seat buyer. |\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 a newly created 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`"]]