किसी वर्कस्पेस इकाई को अपडेट करके, मर्ज के विवाद को हल करता है अनुरोध में पास की गई रिज़ॉल्व की गई इकाई. इसे अभी आज़माएं.
अनुरोध
एचटीटीपी अनुरोध
POST https://www.googleapis.com/tagmanager/v2/+path:resolve_conflict
पैरामीटर
पैरामीटर का नाम | मान | ब्यौरा |
---|---|---|
पाथ पैरामीटर | ||
path |
string |
GTM Workspace एपीआई से जुड़ा पाथ. उदाहरणः accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id} |
वैकल्पिक क्वेरी पैरामीटर | ||
fingerprint |
string |
उपलब्ध कराए जाने पर, इस फ़िंगरप्रिंट का मिलान इकाई_in_workspace मर्ज करने के विवाद में. |
अनुमति देना
इस अनुरोध के लिए, नीचे दिए गए स्कोप वाले अनुमति की ज़रूरत है:
दायरा |
---|
https://www.googleapis.com/auth/tagmanager.edit.containers |
ज़्यादा जानकारी के लिए, पुष्टि करने और अनुमति देने से जुड़ा पेज देखें.
अनुरोध का मुख्य भाग
अनुरोध के मुख्य हिस्से में, इस स्ट्रक्चर के साथ डेटा उपलब्ध कराएं:
{ "tag": accounts.containers.workspaces.tags Resource, "trigger": accounts.containers.workspaces.triggers Resource, "variable": accounts.containers.workspaces.variables Resource, "folder": accounts.containers.workspaces.folders Resource, "client": accounts.containers.workspaces.clients Resource, "transformation": accounts.containers.workspaces.transformations Resource, "zone": accounts.containers.workspaces.zones Resource, "customTemplate": accounts.containers.workspaces.templates Resource, "builtInVariable": { "path": string, "accountId": string, "containerId": string, "workspaceId": string, "type": string, "name": string }, "gtagConfig": accounts.containers.workspaces.gtag_config Resource, "changeStatus": string }
प्रॉपर्टी का नाम | मान | ब्यौरा | नोट |
---|---|---|---|
tag |
nested object |
वह टैग जिसे इकाई की ओर से दिखाया जा रहा है. | |
trigger |
nested object |
वह ट्रिगर जिसे इकाई बता रही है. | |
variable |
nested object |
वह वैरिएबल जिसे इकाई की ओर से दिखाया जा रहा है. | |
folder |
nested object |
वह फ़ोल्डर जिसे इकाई की ओर से दिखाया जा रहा है. | |
changeStatus |
string |
इससे पता चलता है कि फ़ाइल फ़ोल्डर में इकाई को कैसे बदला गया है.
ये वैल्यू स्वीकार की जाती हैं:
|
|
client |
nested object |
वह क्लाइंट जिसका प्रतिनिधित्व इकाई कर रही है. | |
transformation |
nested object |
वह बदलाव जिसे इकाई की ओर से दिखाया जा रहा है. | |
zone |
nested object |
वह ज़ोन जिसे इकाई दिखा रही है. | |
customTemplate |
nested object |
कस्टम टेंप्लेट, जिसे इकाई दिखा रही है. | |
builtInVariable |
nested object |
बिल्ट-इन वैरिएबल, जिसे इकाई दिखा रही है. | |
builtInVariable.path |
string |
GTM BuildInVariable का एपीआई रिलेटिव पाथ. | |
builtInVariable.accountId |
string |
GTM खाता आईडी. | |
builtInVariable.containerId |
string |
GTM कंटेनर आईडी. | |
builtInVariable.workspaceId |
string |
GTM Workspace आईडी. | |
builtInVariable.type |
string |
बिल्ट-इन वैरिएबल का टाइप.
ये वैल्यू स्वीकार की जाती हैं:
|
|
builtInVariable.name |
string |
बिल्ट-इन वैरिएबल का नाम, जिसका इस्तेमाल बिल्ट-इन वैरिएबल के बारे में बताने के लिए किया जाएगा. | |
gtagConfig |
nested object |
gtag कॉन्फ़िगरेशन, जिसे इकाई दिखा रही है. |
जवाब
अगर यह तरीका सही तरीके से काम करता है, तो जवाब का मुख्य हिस्सा खाली होता है.
इसे आज़माएं!
लाइव डेटा पर इस तरीके को कॉल करने और जवाब देखने के लिए, नीचे दिए गए एपीआई एक्सप्लोरर का इस्तेमाल करें.