- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Creating Custom Metrics of ADQL Query in Analytics via API
Husnain_Ashfaq
New Member
10-09-2024
11:18 PM
Hi,
I have large number of queries which needs to be created as metrics in Analytics (because we can't retain data more than 8 days in Analytics, so making metrics to retain it).
Is there any tool/API or CURL command we can use to create these metrics by providing Query and Metrics name as payload/arguments?
Creating them manually is error prone and time taking
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Community Manager
10-18-2024
01:45 PM
Hi @Husnain.Ashfaq,
Were you able to check out and try what was suggested by @Mario.Morelli?
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Morelz
Builder
10-14-2024
12:34 AM
Hi Husnain
Don't believe there is an official documented API,
What we did was just open developer tools in your browser and create a new test metric, check the way the payload is structured, you can then automate or build them using Curl or any scripting method of your choice.
Ciao
