Hello,
Thank you for reaching out to us.
As per this guide, the customer_client.time_zone returns the Common Locale Data Repository (CLDR) string representation of the time zone of the client. In the request, the timezone returned by the API is Asia/Colombo which is aligned to the timezone ID found here. When you search over the net, the corresponding timezone related to Asia/Colombo is the India Standard Time.
As an aside, I will be removing your original post as it contains API logs and your account screenshot which shouldn't be shared in public forums. Below is a copy of your post.
I used customer_client.time_zone to get account time zone,the response returned Asia/Colombo,but the true time zone is India.what’s wrong with it?
Thanks
request:
curl --location --request POST 'https://googleads.googleapis.com/v8/customers/7906562592/googleAds:searchStream' \
--header 'login-customer-id: 7802171637' \
--header 'developer-token: devtoken' \
--header 'Authorization: Bearer token' \
--header 'Content-Type: text/plain' \
--data-raw '{
"query": "SELECT
customer_client.time_zone
FROM customer_client
}'
response:
[
{
"results": [
{
"customerClient": {
"resourceName": "customers/7906562592/customerClients/7906562592",
"timeZone": "Asia/Colombo"
}
}
],
"fieldMask": "customerClient.timeZone",
"requestId": "redacted"
}
]
Regards,
|
||||||