Method: accounts.conversionSources.create
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
नया कन्वर्ज़न सोर्स बनाता है.
एचटीटीपी अनुरोध
POST https://merchantapi.googleapis.com/conversions/v1beta/{parent=accounts/*}/conversionSources
यूआरएल में gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल किया गया है.
पाथ पैरामीटर
पैरामीटर |
parent |
string
ज़रूरी है. वह व्यापारी खाता जिसके पास नए कन्वर्ज़न सोर्स का मालिकाना हक होगा. फ़ॉर्मैट: accounts/{account}
|
अनुरोध का मुख्य भाग
अनुरोध के मुख्य भाग में ConversionSource
का उदाहरण है.
जवाब का मुख्य भाग
कामयाब रहने पर, जवाब के मुख्य हिस्से में ConversionSource
का नया इंस्टेंस शामिल किया जाता है.
अनुमति के दायरे
नीचे दिए गए OAuth के लिंक की ज़रूरत हाेती है:
https://www.googleapis.com/auth/content
ज़्यादा जानकारी के लिए, OAuth 2.0 Overview देखें.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-01-23 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-01-23 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eCreates a new conversion source via \u003ccode\u003ePOST\u003c/code\u003e request to the specified endpoint.\u003c/p\u003e\n"],["\u003cp\u003eRequires \u003ccode\u003eparent\u003c/code\u003e as a path parameter specifying the merchant account.\u003c/p\u003e\n"],["\u003cp\u003eRequest body should contain a \u003ccode\u003eConversionSource\u003c/code\u003e object defining the new source.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful response returns the newly created \u003ccode\u003eConversionSource\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eNeeds authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/content\u003c/code\u003e scope.\u003c/p\u003e\n"]]],["This document details creating a new conversion source via a `POST` HTTP request to `https://merchantapi.googleapis.com/conversions/v1beta/{parent=accounts/*}/conversionSources`. The `parent` path parameter, representing the merchant account, is required. The request body must contain a `ConversionSource` instance, and upon success, the response body returns the newly created `ConversionSource`. Authorization requires the `https://www.googleapis.com/auth/content` OAuth scope. The API utilizes gRPC Transcoding syntax.\n"],null,["# Method: accounts.conversionSources.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 new conversion source.\n\n### HTTP request\n\n`POST https://merchantapi.googleapis.com/conversions/v1beta/{parent=accounts/*}/conversionSources`\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 merchant account that will own the new conversion source. Format: `accounts/{account}` |\n\n### Request body\n\nThe request body contains an instance of [ConversionSource](/merchant/api/reference/rest/conversions_v1beta/accounts.conversionSources#ConversionSource).\n\n### Response body\n\nIf successful, the response body contains a newly created instance of [ConversionSource](/merchant/api/reference/rest/conversions_v1beta/accounts.conversionSources#ConversionSource).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/content`\n\nFor more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2)."]]