Expand my Community achievements bar.

Join us January 15th for an AMA with Champion Achaia Walton, who will be talking about her article on Event-Based Reporting and Measuring Content Groups!
SOLVED

Data Insertion API using HTTP GET

Avatar

Level 1

I'd like to use HTTP GET for the Data Insertion API.

Will you provide a link to the complete list of variables and query string parameters?  I don't have access or dont' see it in 'Help > Documentation in Marketing Cloud'

Or is the "Supported XML Tags and Query Variables" section of the data insertion API the entire list of query string values I can use?

Under that section, should the timezone section say that it's part of the 'ts' parameter, not the 't' parameter?

Thanks,

Brian

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Hi Brian, here is the current data insertion API documentation:

Overview | Adobe Developer Connection

And here are all data collection query string variables:

Data Collection Query Parameters

View solution in original post

7 Replies

Avatar

Correct answer by
Employee Advisor

Hi Brian, here is the current data insertion API documentation:

Overview | Adobe Developer Connection

And here are all data collection query string variables:

Data Collection Query Parameters

Avatar

Level 1

A few things:

1) The data insertion API doc isn't clear about the 't' vs. 'ts' parameter.  Is the 'ts' parameter in milliseconds or seconds?  If the timestamp option is disabled, should neither be set?

2) I'm sending in mobile device info as a context variable (e.g.: c.a.CarrierName=AT%26T) but I'm not seeing Carrier, Device Type, Operating System Type under analytics.

https://marketing.adobe.com/resources/help/en_US/mobile/android/metrics.html

Analytics reporting under "Adobe Analytics" show all requests coming as Non Mobile.  How do I identify my requests as being mobile and have these other properties set?

Avatar

Employee Advisor

The ts parameter should only be sent to report suites that have timestamp support enabled. Typically the ts parameter pulls from the s.timestamp variable in a JavaScript implementation. If you want to learn more about the data format of timestamps, this page has what you're looking for:

Timestamp in Adobe Analytics

Device Type data is set through the user-agent string.

Avatar

Level 1

My follow up question included both the 'ts' and 't' parameters.

Thank you for providing the information about 'ts'.  It looks like we can send in seconds, and we'll continue to do so.

It wasn't clear whether timestamp support also had an impact on whether the 't' parameter should be sent or not.

I've seen traces there the 't' parameter just contained the timezone offset.

Thanks,

Brian

Avatar

Employee Advisor

You'll want to send 't' for report suites without timestamp support, and 'ts' for report suites with timestamp support. The format for the 't' variable is available on the data collection query parameters page.

Avatar

Level 1

There's a third option - where the timestamps are optional.  Will you confirm that 'ts' should be sent and 't' not sent when timestamps are optional?

Avatar

Employee Advisor

For timestamp optional, you can use one or the other.