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,

Mark Kevin Albios
Google Ads API Team
ref:_00D1U1174p._5004Q2Mku3T:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/XPudf000000000000000000000000000000000000000000000QYUJ8C00_OSiEht2RYqXhMi78jeMuA%40sfdc.net.

Reply via email to