שם מלא: accounts.containers.workspaces.gtag_config.get
הפונקציה מקבלת הגדרה של Google Tag.
בקשת HTTP
GET https://tagmanager.googleapis.com/tagmanager/v2/{path}
פרמטרים של נתיב
פרמטרים
path
string
הנתיב היחסי של ה-API בהגדרות של Google Tag. הוא מופיע בפורמט accounts/{account}/containers/{container}/workspaces/{workspace}/gtag_config/{gtag_config}.
גוף הבקשה
גוף הבקשה חייב להיות ריק.
גוף התשובה
אם הפעולה מצליחה, גוף התגובה מכיל מופע של GtagConfig.
[[["התוכן קל להבנה","easyToUnderstand","thumb-up"],["התוכן עזר לי לפתור בעיה","solvedMyProblem","thumb-up"],["סיבה אחרת","otherUp","thumb-up"]],[["חסרים לי מידע או פרטים","missingTheInformationINeed","thumb-down"],["התוכן מורכב מדי או עם יותר מדי שלבים","tooComplicatedTooManySteps","thumb-down"],["התוכן לא עדכני","outOfDate","thumb-down"],["בעיה בתרגום","translationIssue","thumb-down"],["בעיה בדוגמאות/בקוד","samplesCodeIssue","thumb-down"],["סיבה אחרת","otherDown","thumb-down"]],["עדכון אחרון: 2025-07-25 (שעון UTC)."],[],[],null,["# Method: gtag_config.get\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\n**Full name**: accounts.containers.workspaces.gtag_config.get\n\nGets a Google tag config.\n\n### HTTP request\n\n`GET https://tagmanager.googleapis.com/tagmanager/v2/{path}`\n\n### Path parameters\n\n| Parameters ||\n|--------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `path` | `string` Google tag config's API relative path. It takes the form `accounts/{account}/containers/{container}/workspaces/{workspace}/gtag_config/{gtag_config}`. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains an instance of [GtagConfig](/tag-platform/tag-manager/api/reference/rest/v2/accounts.containers.workspaces.gtag_config#GtagConfig).\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/tagmanager.edit.containers`\n- `\n https://www.googleapis.com/auth/tagmanager.readonly`\n\nFor more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2)."]]