Retrieve All Jobs for Enterprise Account (Tracking Bulk Async)

From $1

    Doc-Wiki-BannerHK.png

    (Click the banner to go to the related Docs.Code.ExactTarget.com page.)

    The Retrieve All Jobs for Enterprise Account (Tracking Bulk Async) call retrieves tracking data from a specified time period for all emails sent during a specified time period from your parent and member accounts. The batch API creates this results in a compressed .ZIP file and places them on your FTP site or a secure FTP location.

    This call requires dates ranges for both when the emails were sent and when the subscriber activity took place. You can also include jobID if you want to limit the results to a single send. The call returns batchID immediately and places the results in a compression .ZIP file on the specified FTP location.

    You receive subscriber information only if the email was opened by the subscriber, bounced, or returned as undeliverable.

    Method

    Use any of the following variations of this call on your Enterprise account.

    Syntax

    For emails sent within the period specified by the <jobdaterange> node, the system will return tracking activity that occurred within the period specified by the <daterange> node.

    <system>
        <system_name>tracking</system_name>
        <action>BulkAsyncEnterprise</action>
        <sub_action> all_jobs_ToFTP</sub_action>
        <search_type/>
        <search_value/>
        <search_value2/>
        <daterange>
            <startdate>11/1/2008</startdate>
            <enddate>11/6/2008</enddate>
        </daterange>
        <jobdaterange>
            <startdate>11/1/2008</startdate>
            <enddate>11/2/2008</enddate>
        </jobdaterange>
    </system>

    In the example above, the data returned to you will consist of all tracking activities that occurred between November 1, 2008, and November 6, 2008, for all emails (and only those emails) sent between November 1, 2008, and November 2, 2008.

    For a Specific Job

    If you want to retrieve tracking activity during a specified period for a single email send only, use the following syntax. Note: For the <jobdaterange> parameter, make sure that your date range covers the date (or dates, if the advanced throttle option was used and the job was sent over the course of multiple days) when this particular job was sent.

    <system>
        <system_name>tracking</system_name>
        <action>BulkAsyncEnterprise</action>
        <sub_action>all_ToFTP</sub_action>
        <search_type>jobid</search_type>
        <search_value>1234</search_value>
        <search_value2/>
        <daterange>
            <startdate>11/1/2008</startdate>
            <enddate>11/4/2008</enddate>
        </daterange>
        <jobdaterange>
            <startdate>11/1/2008</startdate>
            <enddate>11/2/2008</enddate>
        </jobdaterange>
    </system>

    In the example above, the data returned to you will consist of all tracking activities that occurred between November 1, 2008, and November 4, 2008, for the email send identified as job 1234 only.

    If job 1234 was not sent between the dates of November 1, 2008, and November 2, 2008, which is the date range specified by the <jobdaterange> parameter, you will not receive any results.

    Results Sent to Your Own FTP Site

    With this call, you have the option of picking up the resulting file from your own FTP site rather than from the ExactTarget secure FTP site, by including the <results> node in your call. See the Output for a Batch File Export (Bulk Async) Call help topic for the syntax to use.

    Parameters

    XML Tag

    Tag Description

    <search_type>

    Leave the value for this tag blank unless using the option of specifying a job ID.

    <search_value>

    (Used only with the option of specifying a job ID.)

    The job ID of the email send for which you want to retrieve tracking data.

    If you're not specifying a job ID, leave this tag blank.

    <search_value2>

    Leave the value for this tag blank. (Do not omit the tag.)

    <daterange>

    Enter the dates within the <startdate> and <enddate> tags in the format M/D/YYYY. The maximum date range allowed is seven days.

    The <daterange> node specifies the date range from which to retrieve tracking activity associated with emails sent during the <jobdaterange> period.

    <jobdaterange>

    Enter the dates within the <startdate> and <enddate> tags in the format M/D/YYYY.

    The system will return tracking data for emails sent during this date range only.

    Results

    The immediate results of this call will be a confirmation message and the batch ID for this request, as described in Output for a Batch File Export (Bulk Async) Call. Use the batch ID to check on the status of the request; see Batch Inquire (Status Check).

    The zipped file that will be deposited to the secure FTP site (or to your own FTP site, if you used the <results> node in your call) will contain a separate nested node for each job. If you have subaccounts, the results are divided by account. Here's an example:

    <?xml version="1.0"?>
        <exacttarget>
            <system>
                <tracking>
                    <daterange>
                        <startDate>11/1/2008 12:00:00 AM</startDate>
                        <endDate>11/6/2008 12:00:00 AM</endDate>
                    </daterange>
                    <jobdaterange>
                        <startDate>11/1/2008 12:00:00 AM</startDate>
                        <endDate>11/2/2008 12:00:00 AM</endDate>
                    </jobdaterange>
                    <accounts>
                        <account>
                            <memberID>0000</memberID>
                                <jobs>
                                    <job>
                                        <jobID>5861</jobID>
                                        <emailSummary>
                                            <EmailName>Welcome Email</EmailName>
                                            <EmailSubject>Welcome to Our Newsletter</EmailSubject>
                                            <FromName>@@ChannelMemberDisplayName@@</FromName>
                                            <FromEmail>@@ChannelMemberEmail@@</FromEmail>
                                            <Additional />
                                            <IsMultipart>False</IsMultipart>
                                            <DeliveredTime>11/2/2008 2:10:00 PM</DeliveredTime>
                                            <Lists>
                                                <list>
                                                    <list_ID>5289</list_ID>
                                                    <list_name>All Subscribers</list_name>
                                                </list>
                                            </Lists>
                                            <sentCount>2</sentCount>
                                            <deliveredCount>2</deliveredCount>
                                            <undeliveredCount>0</undeliveredCount>
                                            <unSubscribedCount>1</unSubscribedCount>
                                            <openCount>2</openCount>
                                            <uniqueClickCount>2</uniqueClickCount>
                                            <SurveyResponseCount>1</SurveyResponseCount>
                                            <FTAF_summary>
                                                <email_forwarders>0</email_forwarders>
                                                <new_recipients>0</new_recipients>
                                                <new_subscribers>0</new_subscribers>
                                            </FTAF_summary>
                                            <email_links>
                                                <link>
                                                    <URL>http://www.example.com</URL>
                                                    <name>Example1</name>
                                                    <click_throughs>0</click_throughs>
                                                    <Percent>0.0%</Percent>
                                                    <Net_CTR>0.0%</Net_CTR>
                                                </link>
                                                <link>
                                                    <URL>http://www.example.com</URL>
                                                    <name>Example2</name>
                                                    <click_throughs>0</click_throughs>
                                                    <Percent>0.0%</Percent>
                                                    <Net_CTR>0.0%</Net_CTR>
                                                </link>
                                            </email_links>
                                            <Conversion_Summary />
                                        </emailSummary>
                                        <subscribers>
                                            <subscriber>
                                                <sid>41348232</sid>
                                                <listID>5289</listID>
                                                <email>joe@example.com</email>
                                                <undelv />
                                                <opens>
                                                    <open>
                                                        <date>11/2/2008 2:12:00 PM</date>
                                                    </open>
                                                </opens>
                                                <clicks>
                                                    <click>
                                                        <cdate>11/2/2008 2:12:00 PM</cdate>
                                                        <url>
                                                            <![CDATA[ http://www.example.com]]>
                                                        </url>
                                                    </click>
                                                    <click>
                                                        <cdate>11/2/2008 2:12:00 PM</cdate>
                                                        <url>
                                                            <![CDATA[ http://www.example.com]]>
                                                        </url>
                                                    </click>
                                                </clicks>
                                                <unsubscribes>
                                                    <unsubscribe>
                                                        <date>11/3/2008 2:13:00 PM</date>
                                                    </unsubscribe>
                                                </unsubscribes>
                                                <surveyResponses />
                                                <conversions />
                                            </subscriber>
                                        </subscribers>
                                    </job>
                                </jobs>
                            </account>
                        </accounts>
                    </tracking>
                </system>
            </exacttarget>

    This page was last updated by Ryan Williams on Fri, 06 Jan 2012 21:25:51 GMT.

    If you require assistance with the ExactTarget application, please contact Global Support. If you wish to send Ryan direct feedback, fill out the form below:

     


    Was This Page Helpful?
    Suggestions or Comments:
    Name (optional):
    Email Address (optional):
    Enter 15980 backwards:
       
    Tags: (Edit tags)
    • No tags
     
    Comments (0)
    You must login to post a comment.

     
    Powered by MindTouch 2010
    Admin