Method: properties.googleAdsLinks.create
طلب HTTP
POST https://analyticsadmin.googleapis.com/v1beta/{parent=properties/*}/googleAdsLinks
يستخدم عنوان URL بنية تحويل الترميز gRPC.
معلمات المسار
المَعلمات |
parent |
string
مطلوبة. مثال على التنسيق: properties/1234
|
نص الطلب
يحتوي نص الطلب على مثال GoogleAdsLink
.
نص الاستجابة
إذا كانت الاستجابة ناجحة، يحتوي نص الاستجابة على مثيل GoogleAdsLink
تم إنشاؤه حديثًا.
نطاقات التفويض
يجب توفير نطاق OAuth التالي:
https://www.googleapis.com/auth/analytics.edit
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2024-05-06 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2024-05-06 (حسب التوقيت العالمي المتفَّق عليه)"],[[["Creates a GoogleAdsLink, allowing you to link your Google Ads account with your Google Analytics 4 property."],["Requires `https://www.googleapis.com/auth/analytics.edit` OAuth scope for authorization."],["Uses a POST request to `https://analyticsadmin.googleapis.com/v1beta/{parent=properties/*}/googleAdsLinks` with path and request body parameters to create the link."],["Provides a response body containing the newly created GoogleAdsLink instance upon successful execution."]]],["A `POST` request is made to `https://analyticsadmin.googleapis.com/v1beta/{parent=properties/*}/googleAdsLinks` to create a GoogleAdsLink. The `parent` path parameter, formatted as `properties/1234`, is required. The request body needs a `GoogleAdsLink` instance. Upon success, the response body returns the newly created `GoogleAdsLink`. The `https://www.googleapis.com/auth/analytics.edit` OAuth scope is mandatory for authorization. You can try this method through the given `try it` option.\n"]]