Method: properties.googleAdsLinks.create
Bir Google AdsLink oluşturur.
HTTP isteği
POST https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/googleAdsLinks
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, GoogleAdsLink
öğesinin bir örneğini içerir.
Yanıt gövdesi
Başarılı olursa yanıt gövdesi, yeni oluşturulan GoogleAdsLink
ö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: 2024-05-06 UTC.
[null,null,["Son güncelleme tarihi: 2024-05-06 UTC."],[[["Creates a GoogleAdsLink, allowing you to link your Google Ads account with your Google Analytics 4 property."],["Requires a POST request to the specified endpoint, including the property ID in the path parameter."],["You need to provide a request body containing the GoogleAdsLink details and have the necessary authorization scope (`https://www.googleapis.com/auth/analytics.edit`)."],["If the request is successful, the response body will contain the newly created GoogleAdsLink object."]]],["This document details how to create a GoogleAdsLink using a `POST` request to the specified URL: `https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/googleAdsLinks`. The `parent` path parameter is required, formatted as `properties/1234`. The request body must contain a `GoogleAdsLink` instance. A successful request returns a new `GoogleAdsLink` instance in the response body. The request requires `https://www.googleapis.com/auth/analytics.edit` authorization scope.\n"]]