Method: accounts.dataSources.create
Belirtilen hesap için yeni veri kaynağı yapılandırmasını oluşturur.
HTTP isteği
POST https://merchantapi.googleapis.com/datasources/v1beta/{parent=accounts/*}/dataSources
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
Parametreler |
parent |
string
Zorunlu. Bu veri kaynağının oluşturulacağı hesap. Biçim: accounts/{account}
|
İstek içeriği
İstek metni, DataSource
öğesinin bir örneğini içerir.
Yanıt gövdesi
Başarılı olursa yanıt metni, yeni oluşturulmuş bir DataSource
örneği içerir.
Yetkilendirme kapsamları
Aşağıdaki OAuth kapsamını gerektirir:
https://www.googleapis.com/auth/content
Daha fazla bilgi için OAuth 2.0 Overview sayfasına bakın.
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-01-23 UTC.
[null,null,["Son güncelleme tarihi: 2025-01-23 UTC."],[[["Creates a new data source configuration for a given account using an HTTP POST request."],["Requires specifying the account in the URL path and providing a `DataSource` object in the request body."],["If successful, the response contains the newly created `DataSource` object."],["Needs authorization with the `https://www.googleapis.com/auth/content` scope."]]],["This document details how to create a new data source configuration. The core action is a `POST` HTTP request to `https://merchantapi.googleapis.com/datasources/v1beta/{parent=accounts/*}/dataSources`. The `parent` path parameter, formatted as `accounts/{account}`, specifies the target account. A `DataSource` instance is sent in the request body. Successful execution returns a new `DataSource` instance in the response body. The `https://www.googleapis.com/auth/content` OAuth scope is required for authorization.\n"]]