Skip to main content
RasmusFriis
October 16, 2015
解決済み

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

  • October 16, 2015
  • 3 の返信
  • 1663 ビュー

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

このトピックへの返信は締め切られました。
ベストアンサー Gigazelle

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 

3 の返信

Gigazelle
Adobe Employee
GigazelleAdobe Employee回答
Adobe Employee
October 16, 2015

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 

RasmusFriis
RasmusFriis作成者
October 16, 2015

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

TanmayMathur
Adobe Employee
Adobe Employee
October 16, 2015

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