يسرد جميع المتغيرات المضمنة المفعَّلة في حاوية GTM. تجربة ذلك الآن
الطلب
طلب HTTP
GET https://www.googleapis.com/tagmanager/v2/+parent/built_in_variables
المعلمات
اسم المعلَمة | القيمة | الوصف |
---|---|---|
مَعلمات المسار | ||
parent |
string |
المسار النسبي لواجهة برمجة التطبيقات في GTM Workspace. مثال: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id} |
مَعلمات طلب البحث الاختيارية | ||
pageToken |
string |
هو الرمز المميّز للمتابعة لاسترجاع الصفحة التالية من النتائج. |
التفويض
يتطلب هذا الطلب تفويضًا باستخدام نطاق واحد على الأقل من النطاقات التالية:
النطاق |
---|
https://www.googleapis.com/auth/tagmanager.edit.containers |
https://www.googleapis.com/auth/tagmanager.readonly |
لمزيد من المعلومات، يُرجى الاطّلاع على صفحة المصادقة والتفويض.
نص الطلب
لا تقدِّم نص طلب باستخدام هذه الطريقة.
الرد
في حال نجاح هذه الطريقة، سيتم عرض نص استجابة بالبنية التالية:
{ "builtInVariable": [ { "path": string, "accountId": string, "containerId": string, "workspaceId": string, "type": string, "name": string } ], "nextPageToken": string }
اسم الموقع | القيمة | الوصف | ملاحظات |
---|---|---|---|
builtInVariable[] |
list |
جميع متغيرات GTM BuiltInVariables لحاوية GTM. | |
builtInVariable[].path |
string |
المسار النسبي لواجهة برمجة التطبيقات في GTM BuiltInVariable. | |
builtInVariable[].accountId |
string |
رقم تعريف حساب "إدارة العلامات من Google" | |
builtInVariable[].containerId |
string |
رقم تعريف حاوية Google Tag Manager | |
builtInVariable[].workspaceId |
string |
رقم تعريف Workspace في "إدارة العلامات من Google" | |
builtInVariable[].type |
string |
تمثّل هذه السمة نوع المتغيّر المضمَّن.
في ما يلي القيم المقبولة:
|
|
builtInVariable[].name |
string |
يشير ذلك المصطلح إلى اسم المتغيّر المضمَّن الذي سيتم استخدامه للإشارة إلى المتغيّر المضمَّن. | |
nextPageToken |
string |
هو الرمز المميّز للمتابعة لاسترجاع الصفحة التالية من النتائج. |
جرّب الآن
يمكنك استخدام "مستكشف واجهات برمجة التطبيقات" أدناه لطلب هذه الطريقة على البيانات المباشرة والاطّلاع على الردّ.