Getting wrong campaign id with Email Activity | Community
Skip to main content
Rajat_Sharma
Level 2
January 23, 2019
Question

Getting wrong campaign id with Email Activity

  • January 23, 2019
  • 3 replies
  • 2220 views

I ran an email program without campaign. When I try to fetch the activity "Email Send" (activity type id = 6) via rest api, it gives me a campaign id and campaign name. Now, when I try to find the particular campaign id via campaigns api, it says Campaign doesn't exist. How can I find the program associated with the activity?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

3 replies

Rachit_Puri2
Level 5
January 29, 2019

If you sent it directly via email send to the list of records, the campaign ID comes for that temporary send action. You'll not be able to find it in Marketo.

Rajat_Sharma
Level 2
January 30, 2019

Okay. Thank you for your reply. Is there a way around to get those records?

Rachit_Puri2
Level 5
January 30, 2019

You should be able to use the API to discover records which have this email send activity. Or you can create a smart list that says 'Was sent email', select the email you had sent, and the date when it was sent.