Hi all
For my application I need to retrieve the list of conversion tags that one campaign has.
The only way I found to retrieve the conversion tracking list is to parse the response of ‘/stats/accounts/:account_id/campaigns/’ with a regular expression (which is weird) like this:
for (var prop in response.data) {
var obj = response.data[prop];
if (response.data.hasOwnProperty(prop)) {
if (prop.match(/^conversion_/)) {
...
console.log(prop);
...
}
}
}
And this is what I get after parsing the response:
"conversion_list":
[
{
"name": "sign ups",
"original_name": "conversion_sign_ups"
},
{
"name": "sale amount",
"original_name": "conversion_sale_amount"
},
{
"name": "order quantity",
"original_name": "conversion_order_quantity"
},
{
"name": "downloads",
"original_name": "conversion_downloads"
}
]
I have a campaign with custom conversion tracking tags, so the question is, How do I retrieve the list of conversion tracking tags available for a particular campaign? Is there any endpoint for that?
thanks in advance 