Re: Campaign Run Ids Missing From Activity Rest API?

Anonymous
Not applicable

Campaign Run Ids Missing From Activity Rest API?

Has anyone been able to successfully determine a campaign run id on the "Send Email" activity. For example I have a campaign which users can enter multiple times, and thus can receive the same email multiple times. I am looking for an explicit way to determine if the user recieved, opened, and clicked the links within an email. I noticed that in Marketo on the activity feed you can see the "Campaign Run Id" on the "Send Email" events :

Marketo___Test_Multi_Emails__Results__•_Marketing_Activities.png

On subsequent runs that ID increments:

Marketo___Test_Multi_Emails__Results__•_Marketing_Activities.png

However the click and open events don't have that campaign run id. So my questions are:

  1. Is there anyway to tell on email events (Open, Delivered, Click, Bounce, etc) the Campaign Run Id?
  2. How come in the API getActivities, the campaign run id is not returned for any events including the "Send Email" event?
2 REPLIES 2
Grégoire_Miche2
Level 10

Re: Campaign Run Ids Missing From Activity Rest API?

Hi Brad,

I Might be wrong here, but if I would guess, I would say that the email itself is not flagged with a campaign ID. The "send email" has an ID, because the email is sent by the campaign, but the "email opened" and "clicked email" do not because the link to the campaign is lost.

Probably worth an idea, though, as any how, the open email tracking pixel and the link redirect to the branding server could be associated to the "sent" event and therefore to the campaign ID.

-Greg

Anonymous
Not applicable

Re: Campaign Run Ids Missing From Activity Rest API?

I have confirmed via support that there is no explicit way to tie email events to specific emails via the API. This means that you have to do a best guess attribution off of the email address, the datetime, and campaign. This is a limitation for campaigns that allow leads to run through multiple times.

Thanks!