There seems to be an issue when requesting info about multiple goals (ecommerce) when using a bulk request.
Making a request for 1 goal works perfectly fine, but when requesting multiple, I only get results for one of them.
Goals.get&idGoal=ecommerceOrder
"Goals.get&idGoal=ecommerceOrder": {
"nb_conversions": 45,
"nb_visits_converted": 34,
"revenue": 28093.39,
"revenue_subtotal": 12085.17,
"revenue_tax": 2775.95,
"revenue_shipping": 766.22,
"revenue_discount": 1372,
"items": 123,
"avg_order_revenue": 624.3,
"conversion_rate": "5.33%"
}
Goals.get&idGoal=ecommerceAbandonedCart
"Goals.get&idGoal=ecommerceAbandonedCart": {
"nb_conversions": 111,
"nb_visits_converted": 111,
"revenue": 189999991494000,
"items": 65986,
"avg_order_revenue": 1711711635080,
"conversion_rate": "17.4%"
}
Goals.get&idGoal=ecommerceOrder AND Goals.get&idGoal=ecommerceAbandonedCart
"Goals.get&idGoal=ecommerceAbandonedCart": {
"nb_conversions": 45,
"nb_visits_converted": 34,
"revenue": 28093.39,
"revenue_subtotal": 12085.17,
"revenue_tax": 2775.95,
"revenue_shipping": 766.22,
"revenue_discount": 1372,
"items": 123,
"avg_order_revenue": 624.3,
"conversion_rate": "5.33%"
},
"Goals.get&idGoal=ecommerceOrder": {
"nb_conversions": 45,
"nb_visits_converted": 34,
"revenue": 28093.39,
"revenue_subtotal": 12085.17,
"revenue_tax": 2775.95,
"revenue_shipping": 766.22,
"revenue_discount": 1372,
"items": 123,
"avg_order_revenue": 624.3,
"conversion_rate": "5.33%"
}
Also, Goals.getGoals returns
[]
Is this a known issue? I’m always using the bulkRequest API, and never ran into a problem. All the other data is fine, it’s just the Goals.
Is there a workaround (or just a better way) to request data for multiple ecommerce goals other than creating 2 seperate queries?