Google Analytics için MCP sunucusunu deneyin.
GitHub'dan yükleyin ve daha fazla bilgi için
duyuruyu inceleyin.
Method: properties.dataStreams.create
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
HTTP isteği
POST https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/dataStreams
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
Parametreler |
parent |
string
Zorunlu. Örnek biçim: özellikler/1234
|
İstek içeriği
İstek metni, DataStream
öğesinin bir örneğini içerir.
Yanıt gövdesi
Başarılı olursa yanıt gövdesi, yeni oluşturulan DataStream
örneğini içerir.
Yetkilendirme kapsamları
Aşağıdaki OAuth kapsamını gerektirir:
https://www.googleapis.com/auth/analytics.edit
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-26 UTC.
[null,null,["Son güncelleme tarihi: 2025-07-26 UTC."],[[["\u003cp\u003eCreates a new DataStream through an HTTP POST request to a specified URL.\u003c/p\u003e\n"],["\u003cp\u003eRequires a parent property ID specified as a path parameter in the URL.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must contain a DataStream object, outlined in provided documentation.\u003c/p\u003e\n"],["\u003cp\u003eUpon successful execution, the response includes the newly created DataStream object.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization is required using the \u003ccode\u003ehttps://www.googleapis.com/auth/analytics.edit\u003c/code\u003e scope.\u003c/p\u003e\n"]]],["This content outlines the process for creating a DataStream via a POST request to the specified URL: `https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/dataStreams`. The `parent` path parameter is required. The request body must include a `DataStream` instance, and a successful response will contain a new `DataStream` instance. This process also needs `analytics.edit` OAuth scope. An option to test using a 'Try It' feature is also mentioned.\n"],null,["# Method: properties.dataStreams.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 DataStream.\n\n### HTTP request\n\n`POST https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/dataStreams`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------|----------------------------------------------------|\n| `parent` | `string` Required. Example format: properties/1234 |\n\n### Request body\n\nThe request body contains an instance of [DataStream](/analytics/devguides/config/admin/v1/rest/v1alpha/properties.dataStreams#DataStream).\n\n### Response body\n\nIf successful, the response body contains a newly created instance of [DataStream](/analytics/devguides/config/admin/v1/rest/v1alpha/properties.dataStreams#DataStream).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/analytics.edit`"]]