Hi- I’m trying to Schedule an API on the List and the list being a YouTube Analytics API output (see below for the raw output). What I’m making it do is to parse through each row, separate the row into three different data fields, and record them into a designated dataType.
However, I encounter two issues:
1/ There are 10 rows with 3 data fields each, instead of recognizing the list as 10 items, it is recognizing the list for 30 (10*3)
2/ The recording to the dataType only stays on the first row, so it would just record “age13-17”, “male”,0.3 30 times
Below are the raw output and my setup details:
{
“kind”: “youtubeAnalytics#resultTable”,
“columnHeaders”: [
{
“name”: “ageGroup”,
“columnType”: “DIMENSION”,
“dataType”: “STRING”
},
{
“name”: “gender”,
“columnType”: “DIMENSION”,
“dataType”: “STRING”
},
{
“name”: “viewerPercentage”,
“columnType”: “METRIC”,
“dataType”: “FLOAT”
}
],
“rows”: [
[
“age13-17”,
“male”,
0.3
],
[
“age18-24”,
“female”,
0.1
],
[
“age18-24”,
“male”,
42
],
[
“age25-34”,
“female”,
0.2
],
[
“age25-34”,
“male”,
45.9
],
[
“age35-44”,
“female”,
0.1
],
[
“age35-44”,
“male”,
9.9
],
[
“age45-54”,
“female”,
0
],
[
“age45-54”,
“male”,
1.4
]
]
}
Backend
image 2725×1840 289 KB
image 2760×1455 242 KB
Frontend
750e00c24450fcb9c9de89cacdece174e09b51f8.png (2287×1675)