Data Insertion API using HTTP GET

brianc44575261

03-08-2017

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

Answers (6)

Answers (6)

brianc44575261

05-08-2017

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?

Gigazelle

Employee

04-08-2017

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.

brianc44575261

04-08-2017

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

Gigazelle

Employee

04-08-2017

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.

brianc44575261

04-08-2017

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?