Advertisement
inilim

roistat report nesting request

Feb 26th, 2024
14
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.88 KB | None | 0 0
  1. {
  2. "dimensions": [],
  3. "period": {
  4. "from": "2023-10-31T21:00:00.000Z",
  5. "to": "2023-11-30T20:59:59.999Z"
  6. },
  7. "interval": "1d",
  8. "metrics": [
  9. {
  10. "metric": "visits",
  11. "attribution": "default"
  12. },
  13. {
  14. "metric": "leads",
  15. "attribution": "default"
  16. }
  17. ],
  18. "filters": [
  19. {
  20. "field": "marker_level_1",
  21. "operator": "in",
  22. "value": [
  23. "",
  24. "maps",
  25. "email",
  26. "merchant16",
  27. "yamarket3",
  28. "blogger",
  29. "google2",
  30. "direct1",
  31. "avito",
  32. "seo",
  33. "vk4",
  34. "instagram",
  35. "facebook5",
  36. "site"
  37. ]
  38. }
  39. ]
  40. }
  41.  
  42.  
  43. // ------------------------------------------------------------------
  44. // blabla
  45. // ------------------------------------------------------------------
  46.  
  47. {
  48. "dimensions": [
  49. "marker_level_2"
  50. ],
  51. "period": {
  52. "from": "2023-10-31T21:00:00.000Z",
  53. "to": "2023-11-30T20:59:59.999Z"
  54. },
  55. "filters": [
  56. {
  57. "field": "marker_level_1",
  58. "operator": "=",
  59. "value": "google2"
  60. }
  61. ],
  62. "next_dimensions": [
  63. "marker_level_3"
  64. ],
  65. "metrics": [
  66. {
  67. "metric": "visits",
  68. "attribution": "default"
  69. },
  70. {
  71. "metric": "leads",
  72. "attribution": "default"
  73. },
  74. {
  75. "metric": "visits",
  76. "attribution": "default"
  77. },
  78. {
  79. "metric": "conversion_visits_to_leads",
  80. "attribution": "default"
  81. },
  82. {
  83. "metric": "leads",
  84. "attribution": "default"
  85. },
  86. {
  87. "metric": "mc_leads",
  88. "attribution": "default"
  89. },
  90. {
  91. "metric": "conversion_leads_to_sales",
  92. "attribution": "default"
  93. },
  94. {
  95. "metric": "sales",
  96. "attribution": "default"
  97. },
  98. {
  99. "metric": "revenue",
  100. "attribution": "default"
  101. },
  102. {
  103. "metric": "average_sale",
  104. "attribution": "default"
  105. },
  106. {
  107. "metric": "profit",
  108. "attribution": "default"
  109. },
  110. {
  111. "metric": "marketing_cost",
  112. "attribution": "default"
  113. },
  114. {
  115. "metric": "roi",
  116. "attribution": "default"
  117. },
  118. {
  119. "metric": "net_cost",
  120. "attribution": "default"
  121. }
  122. ]
  123. }
  124.  
  125. // ------------------------------------------------------------------
  126. // blabla
  127. // ------------------------------------------------------------------
  128.  
  129. {
  130. "dimensions": [
  131. "marker_level_3"
  132. ],
  133. "period": {
  134. "from": "2023-10-31T21:00:00.000Z",
  135. "to": "2023-11-30T20:59:59.999Z"
  136. },
  137. "filters": [
  138. {
  139. "field": "marker_level_1",
  140. "operator": "=",
  141. "value": "google2"
  142. },
  143. {
  144. "field": "marker_level_2",
  145. "operator": "=",
  146. "value": "search"
  147. }
  148. ],
  149. "next_dimensions": [
  150. "marker_level_4"
  151. ],
  152. "metrics": [
  153. {
  154. "metric": "visits",
  155. "attribution": "default"
  156. },
  157. {
  158. "metric": "leads",
  159. "attribution": "default"
  160. },
  161. {
  162. "metric": "visits",
  163. "attribution": "default"
  164. },
  165. {
  166. "metric": "conversion_visits_to_leads",
  167. "attribution": "default"
  168. },
  169. {
  170. "metric": "leads",
  171. "attribution": "default"
  172. },
  173. {
  174. "metric": "mc_leads",
  175. "attribution": "default"
  176. },
  177. {
  178. "metric": "conversion_leads_to_sales",
  179. "attribution": "default"
  180. },
  181. {
  182. "metric": "sales",
  183. "attribution": "default"
  184. },
  185. {
  186. "metric": "revenue",
  187. "attribution": "default"
  188. },
  189. {
  190. "metric": "average_sale",
  191. "attribution": "default"
  192. },
  193. {
  194. "metric": "profit",
  195. "attribution": "default"
  196. },
  197. {
  198. "metric": "marketing_cost",
  199. "attribution": "default"
  200. },
  201. {
  202. "metric": "roi",
  203. "attribution": "default"
  204. },
  205. {
  206. "metric": "net_cost",
  207. "attribution": "default"
  208. }
  209. ]
  210. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement