I’m using the latest stable API (version 2022-10-17) to get metrics info and aggregated data by flow id, So that I could join flow data with metric data, I would like to do the same for campaign data but I am able to get aggregated data by campaign name only, I am afraid there will some cases where campaign name would be same and my join would go wrong. why “by” attribute is supported for “flow id” but not for “campign id”, Is there any work around to do this?
Solved
Unable to get metrics by campaign id
Best answer by Dov
Hi
Thanks for sharing this question with us.
If you haven't already seen this guide, I think you'll find it handy: How to Export Conversion Data. You would use the message_ID which corresponds to the unique campaign in the API calls.
You can also export all campaign analytics into a .csv file. The .csv file will include the message ID for all campaigns (campaign IDs), in addition to other information about your campaigns. You can aggregate the campaign data using a pivot table following the .csv export.
I hope that helps.
Reply
Rich Text Editor, editor1
Editor toolbars
Press ALT 0 for help
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.