Expand my Community achievements bar.

Join us for the next Community Q&A Coffee Break on Tuesday April 23, 2024 with Eric Matisoff, Principal Evangelist, Analytics & Data Science, who will join us to discuss all the big news and announcements from Summit 2024!
SOLVED

Where to find documentation on how to set GMT in the date class

Avatar

Level 1

Hello.....

Could somebody please help me finding some kind of documentation on this.

I use the Adobe analytics Developer Api source code in klipfolio, but somehow the date is

chancing on the wrong time, so I was wondering if I could set the date to use GMT+2, cant find any documentation....

Here is the code:
    "reportDescription":{
        "reportSuiteID":"**********",
        "date":"{date.today}",
        "dateFrom":"{date.today}",
        "dateTo":"{date.today}",
        "dateGranularity":"day",
        "metrics":[
            {
                "id":"orders"
            }
        ]
    },
    "currentdata":true
}

Please Help me, Rasmus

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Hi Rasmus,

Everything we have on the reporting API can be found here: https://marketing.adobe.com/developer/documentation/analytics-reporting-1-4/get-started - I don't see anything wrong with the request, so you're good on that front.

Chances are the time zone for the report suite in question needs to be changed. You can do this inside the Analytics web interface, or use the Analytics Admin API. The relevant page you're looking for is here: https://marketing.adobe.com/developer/documentation/analytics-administration-1-4/r-savetimezone-1 

View solution in original post

3 Replies

Avatar

Level 10

Hi,

If you want timestamp hits, you can use the timestamp parameter, you will find that here - https://marketing.adobe.com/developer/documentation/data-insertion/r-supported-tags. You would have to use timestamp on every single image request else it will not show up. 

Also, you may want to ensure that the time zone for your report suite is correctly configured. You will find the details on this page - https://marketing.adobe.com/resources/help/en_US/reference/general_acct_settings_admin.html

TM

Avatar

Level 1

Thanks for your answer TanmayM,

I have already checked my report suite configuration, and it is in fact correctly set.

I cant use XML tags in Klipfolio, we request for a report by using the code I showed in my question, We request for the report every 15 minutes, but the first report from Adobe is received after 02:00AM, so somewhere the timezone is being wrong set.

Can you show me how to set the timezone by using the API.

Thanks in advance

Rasmus Friis

Avatar

Correct answer by
Employee Advisor

Hi Rasmus,

Everything we have on the reporting API can be found here: https://marketing.adobe.com/developer/documentation/analytics-reporting-1-4/get-started - I don't see anything wrong with the request, so you're good on that front.

Chances are the time zone for the report suite in question needs to be changed. You can do this inside the Analytics web interface, or use the Analytics Admin API. The relevant page you're looking for is here: https://marketing.adobe.com/developer/documentation/analytics-administration-1-4/r-savetimezone-1