Method: accounts.conversionSources.get
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Mengambil sumber konversi.
Permintaan HTTP
GET https://merchantapi.googleapis.com/conversions/v1beta/{name=accounts/*/conversionSources/*}
URL menggunakan sintaksis gRPC Transcoding.
Parameter jalur
Parameter |
name |
string
Wajib. Nama sumber konversi yang akan diambil. Format: accounts/{account}/conversionSources/{conversionSource}
|
Isi permintaan
Isi permintaan harus kosong.
Isi respons
Jika berhasil, isi respons memuat instance ConversionSource
.
Cakupan otorisasi
Memerlukan cakupan OAuth berikut:
https://www.googleapis.com/auth/content
Untuk mengetahui informasi selengkapnya, lihat OAuth 2.0 Overview.
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-01-23 UTC.
[null,null,["Terakhir diperbarui pada 2025-01-23 UTC."],[[["\u003cp\u003eFetches an existing conversion source using a GET request.\u003c/p\u003e\n"],["\u003cp\u003eRequires the \u003ccode\u003ename\u003c/code\u003e path parameter to specify the conversion source to retrieve.\u003c/p\u003e\n"],["\u003cp\u003eAn empty request body is necessary, and the response provides a \u003ccode\u003eConversionSource\u003c/code\u003e object if successful.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization is required with the \u003ccode\u003ehttps://www.googleapis.com/auth/content\u003c/code\u003e scope.\u003c/p\u003e\n"]]],["This document outlines how to fetch a conversion source using a GET request. The core action is to send a GET request to the specified URL: `https://merchantapi.googleapis.com/conversions/v1beta/{name=accounts/*/conversionSources/*}`. The `name` parameter, in the format `accounts/{account}/conversionSources/{conversionSource}`, is required in the URL path. The request body must be empty. A successful response will include a `ConversionSource` object. The request also requires the OAuth scope `https://www.googleapis.com/auth/content`.\n"],null,["# Method: accounts.conversionSources.get\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\nFetches a conversion source.\n\n### HTTP request\n\n`GET https://merchantapi.googleapis.com/conversions/v1beta/{name=accounts/*/conversionSources/*}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------|---------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Required. The name of the conversion source to be fetched. Format: `accounts/{account}/conversionSources/{conversionSource}` |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains an 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)."]]