Hi @SavannaBrom ,
Welcome to the Community! We are glad you’re here! I would love to offer up some suggestions to solve this for you.
You can export your Conversion Data by using the /export endpoint from our Metrics API with the ID of your purchase metric from your Klaviyo account. The ID for your Placed Order metric is the six character code in the URL. In the request, you'll want to specify in the "measurement" parameter that you're specifically looking for the "value", which returns the amount of revenue. I would also recommend specifying in the "where" filter the message ID that the metric is attributed to with $attributed_message.
For example:
curl https://a.klaviyo.com/api/v1/metric/METRIC_ID/export -G \ -d api_key=API_KEY \ -d measurement='value' \ -d where='al"$attributed_message","=",'MESSAGE_ID']]'
The message ID will be the six character code in the URL of a given campaign. Incorporating this specific code should now allow you to identify which campaigns drove the most revenue.
Additionally, when setting the date range of the look back period, I would suggest defaulting to 30 days to ensure you’re not missing any data!
Thank you for being a part of the Community!
-Taylor