Method: properties.googleAdsLinks.create
יוצר קישור ל-Google AdsLink.
בקשת HTTP
POST https://analyticsadmin.googleapis.com/v1alpha/{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 (שעון UTC).
[null,null,["עדכון אחרון: 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"]]