Returns the revenue (sum of conversions ‘values’).

Attributes

Parameter Default Description
from_date If provided, only the revenue values after or equal (including) the given date will be returned. The value of from_date must be a numeric value representing a point in time milliseconds after January 1, 1970 00:00:00
to_date If provided, only the revenue values before (excluding) the given date will be returned. The value of to_date must be a numeric value representing a point in time milliseconds after January 1, 1970 00:00:00
mailing_id Multivalued parameter to filter the revenue values by mailings. Each value must correspond to a mailing id.
ids Multivalued parameter to filter the revenue values by contacts. Each value must correspond to a contact id.
emails Multivalued parameter to filter the revenue values by email addresses.
eids Multivalued parameter to filter the revenue values by external ids. Each value must correspond to a contacts external id
site_ids Multivalued parameter to filter the revenue values by site ids. Each value must correspond to a valid site id.
goal_ids Multivalued parameter to filter the revenue values by goal ids. Each value must correspond to a valid goal id.
link_ids Multivalued parameter to filter the revenue values by link ids. Each value must correspond to a valid link id.

Example