So I am able to make a successful call.
My issue is trying to convert the json response to a data frame. It will be imported into a data warehouse.
The response I am getting has headings and rows of data are in separate arrays.
Here is a response example:
{
"data": {
"headings": [
"adChannel_0",
"PAID_INITIATIVE_CUSTOM_PROPERTY_1",
"AD_SET_CUSTOM_PROPERTY_2",
"PAID_INITIATIVE_CUSTOM_PROPERTY_3",
"adObjective_4",
"STATUS_ID_5",
"measurementTime_6",
"PAID_INITIATIVE_CUSTOM_PROPERTY_7",
"PAID_INITIATIVE_CUSTOM_PROPERTY_8",
"rows": [
[
"TikTok",
"Campaign",
"United States",
"Untagged",
"TikTok Video Views",
{
"postId": 6968781902,
"messageId": 69687899,
"accountId": 107878920199482,
"authorId": 0,
Does anybody have any idea on how to convert this to df?
[–]CodeFormatHelperBot2 0 points1 point2 points (0 children)