POST https://tagmanager.googleapis.com/tagmanager/v2/{path}:combine
پارامترهای مسیر
پارامترها
path
string
مسیر نسبی API کانتینر GTM. شکل accounts/{account}/containers/{container} را میگیرد.
پارامترهای پرس و جو
پارامترها
containerId
string
شناسه کانتینری که در ظرف فعلی ادغام خواهد شد.
allowUserPermissionFeatureUpdate
boolean
باید روی true تنظیم شود تا به features.user_permissions اجازه داده شود که از false به true تغییر کنند. اگر این عملیات باعث بروز رسانی شود اما این بیت نادرست باشد، عملیات با شکست مواجه خواهد شد.
تاریخ آخرین بهروزرسانی 2025-07-25 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","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 بهوقت ساعت هماهنگ جهانی."],[],[],null,["# Method: containers.combine\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [SettingSource](#SettingSource)\n- [Try it!](#try-it)\n\n**Full name**: accounts.containers.combine\n\nCombines Containers.\n\n### HTTP request\n\n`POST https://tagmanager.googleapis.com/tagmanager/v2/{path}:combine`\n\n### Path parameters\n\n| Parameters ||\n|--------|------------------------------------------------------------------------------------------------------------|\n| `path` | `string` GTM Container's API relative path. It takes the form `accounts/{account}/containers/{container}`. |\n\n### Query parameters\n\n| Parameters ||\n|------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `containerId` | `string` ID of container that will be merged into the current container. |\n| `allowUserPermissionFeatureUpdate` | `boolean` Must be set to true to allow features.user_permissions to change from false to true. If this operation causes an update but this bit is false, the operation will fail. |\n| `settingSource` | `enum (`[SettingSource](/tag-platform/tag-manager/api/reference/rest/v2/accounts.containers/combine#SettingSource)`)` Specify the source of config setting after combine |\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 [Container](/tag-platform/tag-manager/api/reference/rest/v2/accounts.containers#Container).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/tagmanager.edit.containers`\n\nFor more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2).\n\nSettingSource\n-------------\n\n| Enums ||\n|----------------------------|---------------------------------------------------------|\n| `settingSourceUnspecified` | |\n| `current` | Keep the current container config setting after combine |\n| `other` | Use config setting from the other tag after combine |"]]