Method: accounts.conversionSources.list
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ดึงข้อมูลรายการแหล่งที่มาของ Conversion ที่ผู้โทรมีสิทธิ์เข้าถึง
คำขอ HTTP
GET https://merchantapi.googleapis.com/conversions/v1beta/{parent=accounts/*}/conversionSources
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
parent |
string
ต้องระบุ บัญชีผู้ขายที่เป็นเจ้าของคอลเล็กชันแหล่งที่มาของ Conversion รูปแบบ: accounts/{account}
|
พารามิเตอร์การค้นหา
พารามิเตอร์ |
pageSize |
integer
ไม่บังคับ จํานวนแหล่งที่มาของ Conversion สูงสุดที่จะแสดงในหน้าเว็บ หากไม่ได้ระบุ pageSize ระบบจะใช้ 100 เป็นค่าเริ่มต้น ค่าสูงสุดคือ 200 ระบบจะเปลี่ยนค่าที่สูงกว่า 200 เป็น 200 ระบบจะแสดงแหล่งที่มาของ Conversion ทั้งหมดไม่เกิน 200 รายการ ไม่ว่าจะมีการแบ่งหน้าหรือไม่ก็ตาม
|
pageToken |
string
ไม่บังคับ โทเค็นหน้า
|
showDeleted |
boolean
ไม่บังคับ แสดงตัวเลือกที่ลบ (เก็บถาวร)
|
เนื้อหาของคำขอ
เนื้อหาของคำขอต้องว่างเปล่า
เนื้อหาการตอบกลับ
ข้อความตอบกลับสําหรับเมธอด conversionSources.list
หากทำสำเร็จ เนื้อหาการตอบกลับจะมีข้อมูลซึ่งมีโครงสร้างดังต่อไปนี้
การแสดง JSON |
{
"conversionSources": [
{
object (ConversionSource )
}
],
"nextPageToken": string
} |
ช่อง |
conversionSources[] |
object (ConversionSource )
รายการแหล่งที่มาของ Conversion
|
nextPageToken |
string
โทเค็นที่จะใช้เรียกข้อมูลหน้าผลลัพธ์ถัดไป
|
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต OAuth ต่อไปนี้
https://www.googleapis.com/auth/content
ดูข้อมูลเพิ่มเติมได้ที่ OAuth 2.0 Overview
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-01-23 UTC
[null,null,["อัปเดตล่าสุด 2025-01-23 UTC"],[[["\u003cp\u003eRetrieves a list of conversion sources for a specified Merchant Center account.\u003c/p\u003e\n"],["\u003cp\u003eAllows filtering by page size, page token, and whether to include deleted sources.\u003c/p\u003e\n"],["\u003cp\u003eResponses include a list of conversion sources and a token for pagination.\u003c/p\u003e\n"],["\u003cp\u003eRequires authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/content\u003c/code\u003e scope.\u003c/p\u003e\n"],["\u003cp\u003eProvides details on the HTTP request, path/query parameters, and response structure.\u003c/p\u003e\n"]]],[],null,["# Method: accounts.conversionSources.list\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 - [JSON representation](#body.ListConversionSourcesResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nRetrieves the list of conversion sources the caller has access to.\n\n### HTTP request\n\n`GET 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 who owns the collection of conversion sources. Format: `accounts/{account}` |\n\n### Query parameters\n\n| Parameters ||\n|---------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `pageSize` | `integer` Optional. The maximum number of conversion sources to return in a page. If no `pageSize` is specified, `100` is used as the default value. The maximum value is `200`. Values above `200` will be coerced to `200`. Regardless of pagination, at most `200` conversion sources are returned in total. |\n| `pageToken` | `string` Optional. Page token. |\n| `showDeleted` | `boolean` Optional. Show deleted (archived) conversion sources. By default, deleted conversion sources are not returned. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nResponse message for the conversionSources.list method.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"conversionSources\": [ { object (/merchant/api/reference/rest/conversions_v1beta/accounts.conversionSources#ConversionSource) } ], \"nextPageToken\": string } ``` |\n\n| Fields ||\n|-----------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `conversionSources[]` | `object (`[ConversionSource](/merchant/api/reference/rest/conversions_v1beta/accounts.conversionSources#ConversionSource)`)` List of conversion sources. |\n| `nextPageToken` | `string` Token to be used to fetch the next results page. |\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)."]]