כדאי לנסות את שרת ה-MCP ל-Google Analytics. אפשר להתקין מ-
GitHub, ולקרוא את
ההודעה לפרטים נוספים.
REST Resource: properties.googleAdsLinks
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
משאב: GoogleAdsLink
קישור בין נכס Google Analytics לחשבון Google Ads.
ייצוג ב-JSON |
{
"name": string,
"customerId": string,
"canManageClients": boolean,
"adsPersonalizationEnabled": boolean,
"createTime": string,
"updateTime": string,
"creatorEmailAddress": string
} |
שדות |
name |
string
פלט בלבד. פורמט: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId} הערה: השדה googleAdsLinkId הוא לא מספר הלקוח ב-Google Ads.
|
customerId |
string
לא ניתן לשינוי. מספר לקוח ב-Google Ads.
|
canManageClients |
boolean
פלט בלבד. אם הערך הוא true, הקישור הזה מיועד לחשבון ניהול ב-Google Ads.
|
adsPersonalizationEnabled |
boolean
הפעלת תכונות פרסום בהתאמה אישית ביחד עם השילוב הזה. פרסום אוטומטי של רשימות הקהלים שלי מ-Google Analytics והאירועים/פרמטרים של הרימרקטינג מ-Google Analytics בחשבונות Google Ads שקושרו. אם השדה הזה לא מוגדר בזמן היצירה או העדכון, הערך שמוגדר בו כברירת מחדל הוא true.
|
createTime |
string (Timestamp format)
פלט בלבד. השעה שבה הקישור נוצר במקור. הפורמט הזה משתמש ב-RFC 3339, שבו הפלט שנוצר תמיד יהיה מנורמלי לפי Z וישמש בספרות עשרוניות של 0, 3, 6 או 9. אפשר להשתמש גם בשינויים (offsets) אחרים מלבד 'Z'. דוגמאות: "2014-10-02T15:01:23Z" , "2014-10-02T15:01:23.045123456Z" או "2014-10-02T15:01:23+05:30" .
|
updateTime |
string (Timestamp format)
פלט בלבד. השעה שבה הקישור עודכן לאחרונה. הפורמט הזה משתמש ב-RFC 3339, שבו הפלט שנוצר תמיד יהיה מנורמלי לפי Z וישמש בספרות עשרוניות של 0, 3, 6 או 9. אפשר להשתמש גם בשינויים (offsets) אחרים מלבד 'Z'. דוגמאות: "2014-10-02T15:01:23Z" , "2014-10-02T15:01:23.045123456Z" או "2014-10-02T15:01:23+05:30" .
|
creatorEmailAddress |
string
פלט בלבד. כתובת האימייל של המשתמש שיצר את הקישור. אם לא ניתן לאחזר את כתובת האימייל, תוחזר מחרוזת ריקה.
|
Methods |
|
יצירת GoogleAdsLink. |
|
מחיקת GoogleAdsLink בנכס |
|
הצגת GoogleAdsLinks בנכס. |
|
עדכון של GoogleAdsLink בנכס |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-26 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-26 (שעון UTC)."],[[["\u003cp\u003eA GoogleAdsLink connects a Google Analytics 4 property and a Google Ads account, enabling features like personalized advertising and remarketing.\u003c/p\u003e\n"],["\u003cp\u003eGoogleAdsLinks can be managed through the Google Analytics Admin API, allowing for creation, deletion, listing, and updates.\u003c/p\u003e\n"],["\u003cp\u003eKey GoogleAdsLink data includes \u003ccode\u003ename\u003c/code\u003e, \u003ccode\u003ecustomerId\u003c/code\u003e, \u003ccode\u003ecanManageClients\u003c/code\u003e, \u003ccode\u003eadsPersonalizationEnabled\u003c/code\u003e, creation and update timestamps, and the creator's email address.\u003c/p\u003e\n"],["\u003cp\u003eThis resource enables data sharing between Google Analytics 4 and Google Ads for enhanced advertising and marketing insights.\u003c/p\u003e\n"]]],["GoogleAdsLink represents a connection between a Google Analytics property and a Google Ads account. Key information includes the link's `name`, `customerId`, creation and update timestamps, and creator's email. It also indicates if it manages a Google Ads manager account and if personalized advertising is enabled. The resource provides methods to `create`, `delete`, `list`, and `patch` (update) GoogleAdsLinks, and a JSON representation is provided for data formatting.\n"],null,["# REST Resource: properties.googleAdsLinks\n\n- [Resource: GoogleAdsLink](#GoogleAdsLink)\n - [JSON representation](#GoogleAdsLink.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: GoogleAdsLink\n-----------------------\n\nA link between a Google Analytics property and a Google Ads account.\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"customerId\": string, \"canManageClients\": boolean, \"adsPersonalizationEnabled\": boolean, \"createTime\": string, \"updateTime\": string, \"creatorEmailAddress\": string } ``` |\n\n| Fields ||\n|-----------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Output only. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId} Note: googleAdsLinkId is not the Google Ads customer ID. |\n| `customerId` | `string` Immutable. Google Ads customer ID. |\n| `canManageClients` | `boolean` Output only. If true, this link is for a Google Ads manager account. |\n| `adsPersonalizationEnabled` | `boolean` Enable personalized advertising features with this integration. Automatically publish my Google Analytics audience lists and Google Analytics remarketing events/parameters to the linked Google Ads account. If this field is not set on create/update, it will be defaulted to true. |\n| `createTime` | `string (`[Timestamp](https://protobuf.dev/reference/protobuf/google.protobuf/#timestamp)` format)` Output only. Time when this link was originally created. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than \"Z\" are also accepted. Examples: `\"2014-10-02T15:01:23Z\"`, `\"2014-10-02T15:01:23.045123456Z\"` or `\"2014-10-02T15:01:23+05:30\"`. |\n| `updateTime` | `string (`[Timestamp](https://protobuf.dev/reference/protobuf/google.protobuf/#timestamp)` format)` Output only. Time when this link was last updated. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than \"Z\" are also accepted. Examples: `\"2014-10-02T15:01:23Z\"`, `\"2014-10-02T15:01:23.045123456Z\"` or `\"2014-10-02T15:01:23+05:30\"`. |\n| `creatorEmailAddress` | `string` Output only. Email address of the user that created the link. An empty string will be returned if the email address can't be retrieved. |\n\n| Methods ------- ||\n|-------------------------------------------------------------------------------------------------|---------------------------------------|\n| ### [create](/analytics/devguides/config/admin/v1/rest/v1beta/properties.googleAdsLinks/create) | Creates a GoogleAdsLink. |\n| ### [delete](/analytics/devguides/config/admin/v1/rest/v1beta/properties.googleAdsLinks/delete) | Deletes a GoogleAdsLink on a property |\n| ### [list](/analytics/devguides/config/admin/v1/rest/v1beta/properties.googleAdsLinks/list) | Lists GoogleAdsLinks on a property. |\n| ### [patch](/analytics/devguides/config/admin/v1/rest/v1beta/properties.googleAdsLinks/patch) | Updates a GoogleAdsLink on a property |"]]