Community Discussion

Ask a Question
Back to All

Important: Associating different URL from API

Hello guys.

Today, I'm using a Google Sheet Script to get my data from my campaigns. But I'm facing a problem... On my code (by the way, I can't code), I'm only fetching data from "https://backstage.taboola.com/backstage/api/1.0/"+ACCOUNT_ID+"/reports/campaign-summary/dimensions/campaign_day_breakdown?start_date=2023-05-01&end_date=2023-06-03";"

But I really want to fetch more data, using other URL's from the API like: /backstage/api/1.0/demo-advertiser-1/universal_pixel/conversion_rule (conversion rules) or whatever data from any other URL.

And of course, my main problem is: how can I associate the data between 2 or more API calls (URL's), so the data matches the right columns and ID's?

My code (it's a private link, just send a request and I'll accept it): https://docs.google.com/document/d/1bD_fQMCwG4nXgpejWiMPFZT_8r0iwU36q1UOJT1xdxg/edit?usp=sharing