Method: properties.keyEvents.create
HTTP অনুরোধ
POST https://analyticsadmin.googleapis.com/v1beta/{parent=properties/*}/keyEvents
URL gRPC ট্রান্সকোডিং সিনট্যাক্স ব্যবহার করে।
পাথ প্যারামিটার
পরামিতি |
---|
parent | string প্রয়োজন। মূল সম্পত্তির সম্পদের নাম যেখানে এই কী ইভেন্ট তৈরি করা হবে। বিন্যাস: বৈশিষ্ট্য/123 |
শরীরের অনুরোধ
অনুরোধের মূল অংশে KeyEvent
একটি উদাহরণ রয়েছে।
প্রতিক্রিয়া শরীর
সফল হলে, রেসপন্স বডিতে KeyEvent
এর একটি নতুন তৈরি ইনস্ট্যান্স থাকে।
অনুমোদনের সুযোগ
নিম্নলিখিত OAuth সুযোগ প্রয়োজন:
-
https://www.googleapis.com/auth/analytics.edit
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2024-10-25 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2024-10-25 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["Creates a new Key Event within a specified Google Analytics 4 property."],["Requires `https://www.googleapis.com/auth/analytics.edit` authorization scope for execution."],["Utilizes an HTTP POST request to `https://analyticsadmin.googleapis.com/v1beta/{parent=properties/*}/keyEvents`, including property ID in the path."],["Request body should contain a KeyEvent object as defined in the provided documentation link, leading to the creation of the Key Event."],["Successful response returns the newly created KeyEvent object."]]],["This document details how to create a Key Event using a `POST` request to the specified URL. The URL, using gRPC Transcoding, includes a required `parent` path parameter representing the property. The request body must contain a `KeyEvent` instance. Successful requests return a newly created `KeyEvent` in the response body. Authorization requires the `analytics.edit` OAuth scope. The content also mentions HTTP requests, path parameters, request and response bodies, and includes a \"Try it!\" feature.\n"]]