Skip to main content
Apr 24, 2015 9:19 AM UTC
Question

Identify the source of the created campaign

Hi,

We have created a program and few campaigns were created. I am trying to use requestCampaign soap api. I am not able to identify the source in it.
 

  <mkt:paramsRequestCampaign>

         <source>MKTOWS</source>

         <campaignId>1030</campaignId>

         <leadList>

            <leadKey>

               <keyType>EMAIL</keyType>

               <keyValue>contacta@mkto.com</keyValue>

            </leadKey>

         </leadList>

      </mkt:paramsRequestCampaign>

   </soapenv:Body>

If we have a campaingn how can we identify the source ?
 <source>MKTOWS</source>

I also tried using this api.

getCampaignsForSource

I have specified source as 

   <soapenv:Body>

      <mkt:paramsGetCampaignsForSource>

         <source>MKTOWS</source>

      </mkt:paramsGetCampaignsForSource>

   </soapenv:Body>

I tried MKTOWS and SALES.
In both the cases it returned

<ns1:successGetCampaignsForSource>

         <result>

            <returnCount>0</returnCount>

            <campaignRecordList/>

         </result>

      </ns1:successGetCampaignsForSource>

But there are some campaigns created. How can check what is the source for a campaign. Can we check it in app-e.marketo.com?
or is they any API which can get source based on the campaign-id?

 



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

3 replies

Apr 24, 2015 4:29 PM UTC
My guess is that there is no campaign configured to be request via the API. See - https://community.marketo.com/MarketoArticle?id=kA050000000KytxCAC. The option you want to use is Web Service API.
Translate
Apr 27, 2015 6:06 AM UTC
Thanks Jim,

I just went through the article and found that

https://community.marketo.com/MarketoArticle?id=kA050000000L3N1CAK

For Web Service API we have to use MKTOWS as the source.
If that is correct it is still returning 0 count.

I believe for Web Service API the source is MKTOWS
Sales Insight the source is SALES
What is for Marketo Flow Action?

thanks,
satya.
 
Translate
Apr 27, 2015 2:04 PM UTC
Hi Satya,

Did you build any camapigns with the trigger of Campaign is Requested per that article? If you have and nothing is still being returned, I would recommend you file a Support case. Make sure you provide all the details program/campaign and the XML call/response.
Translate