admin管理员组

文章数量:1404927

I am now having issues uploading tags from python to gtm. It is all connected, I am using the measurement id from gtm but it keeps telling me its missing?

ga_tag={
"name": "gameNameTestTag",
"type": "gaawe",
"parameter": [
    { "type":"template",
      "key": "measurementId",
      "value": " G-XXXXXXX" },
    {"type":"template","key": "eventName","value": 400 }
    
   
]

}

tag_response = service.accounts().containers().workspaces().tags().create(
parent=f"accounts/{ACCOUNT_ID}/containers/{CONTAINER_id}/workspaces/{WORKSPACE_ID}",
body=ga_tag).execute()

本文标签: Addings Tags for Google Tag Manager in PythonStack Overflow