Thank you for your response! I appreciate the detailed explanation. 
However, I still have some concerns regarding the country setting when 
creating a sub-account via API.
*Clarification on the Issue:* 
   
   - When I manually create a sub-account via the *Google Ads UI* and 
   select *Thailand* as the country, the *billing country* in the payment 
   settings is correctly set to *Thailand* by default. 
   - When I create a sub-account via *API*, I set *THB* as the currency and 
   *Asia/Bangkok* as the time zone. However, when I check the payment 
   settings, the *billing country is set to the United States (US)* instead 
   of *Thailand*. 
   - This makes me question whether the account created via API is actually 
   considered a *US-based* account rather than a *Thailand-based* one. 

*Follow-up Questions:* 
   
   1. Is it possible to explicitly set the country when creating a 
   sub-account via API? 
      - You mentioned that the API does not have a country_code field, so 
      does this mean the MCC’s country determines the sub-account’s actual 
      country, regardless of the time zone and currency? 
   2. If the API does not support setting the country directly, is there *any 
   way* to ensure that the new account is truly based in *Thailand* instead 
   of the *United States*? 
   3. Why does selecting *THB currency* and *Asia/Bangkok time zone* not 
   result in a Thailand-based account? 
   4. Can a *regular Google Ads API or Premium* account handle this, or do 
   I need a different level of access to configure the country correctly? 

I would appreciate any clarification or alternative solutions to ensure the 
correct country assignment for sub-accounts created via API.

Thanks in advance!

Vào lúc 08:57:57 UTC+7 ngày Thứ Ba, 18 tháng 3, 2025, Google Ads API Forum 
Advisor đã viết:

> Hi,
>
> Thank you for reaching out to the Google Ads API support team. 
>
> Please find the answers for your questions below:
>
> *1. Is there any way to specify the country when creating an account via 
> API?* 
>    
>    - Yes, you can specify the country by passing the 'timeZone' and 
>    'currencyCode' fields while making an API call using the 
>    customers.createCustomerClient 
>    
> <https://developers.google.com/google-ads/api/rest/reference/rest/v19/customers/createCustomerClient>
>  
>    method. Kindly note that there is no field named 'country_code' in the 
>    CustomerService 
>    
> <https://developers.google.com/google-ads/api/rest/reference/rest/v19/Customer>
>  
>    and that's the reason you are getting unknown field errors. If you’d like 
>    to manage your ads in a different time zone other than MCC timezone, you 
>    must create a new account and set your desired time zone at the time of 
>    account creation.   
>    - For example, as your requirement is 'Thailand' we have selected the 
>    'Asia/Bangkok' timezone which is the capital of 'Thailand' and we were 
>    successfully able to create a child account using the API. I would 
>    recommend you to refer to the Codes and formats 
>    <https://developers.google.com/google-ads/api/data/codes-formats> 
>    guide which describes you the timezone ID's and currency codes which are 
>    supported in the Google Ads API. However, I am sharing with you the sample 
>    request and response logs as per your requirement: 
>    - 
>    
>    *Request Body:
>    =============
>    *
>    POST https://googleads.googleapis.com/v19/customers/{login-customer-id(MCC 
> ID)}:createCustomerClient?key=[YOUR_API_KEY] HTTP/1.1
>    
>    developer-token: **********************
>    Authorization: Bearer [YOUR_ACCESS_TOKEN]
>    Accept: application/json
>    Content-Type: application/json
>    
>    {
>      "customerClient": {
>        "timeZone": "Asia/Bangkok",
>        "descriptiveName": "Thailand account",
>        "currencyCode": "THB"
>      }
>    }
>    *Response:
>    ==========
>    *HTTP/1.1 200 
>    content-encoding: gzip
>    content-length: 65
>    content-type: application/json; charset=UTF-8
>    date: Tue, 18 Mar 2025 00:41:45 GMT
>    server: ESF
>    vary: Origin, X-Origin, Referer
>    
>    {
>      "resourceName": "customers/{customerId}"
>    }
>    
>    
> *2. If API does not support this, is there an alternative method to ensure 
> the correct country is set for new accounts?* 
>    
>    - As mentioned earlier, you need to select the 'timeZone' and 
>    'currencyCode' field while creating the sub-accounts using the Google Ads 
>    API. Note that customers.createCustomerClient 
>    
> <https://developers.google.com/google-ads/api/rest/reference/rest/v19/customers/createCustomerClient>
>  method 
>    allows you to create only the sub-accounts not the sub-MCC accounts 
> through 
>    the Google Ads API. There is no way to create the sub-manager accounts 
>    through the API. I would recommend you to refer to Creating an account 
>    
> <https://developers.google.com/google-ads/api/docs/account-management/create-account>
>  
>    documentation for more detailed information.  
>
> *3. Does the country of the MCC always determine the country of 
> sub-accounts?* 
>    
>    - If you try to create sub-account through the Google Ads UI, by 
>    default it will select the country of MCC account. However, you can modify 
>    and select the required country and you can create an account. If you try 
>    to create a sub-account through the Google Ads API, you can directly 
>    specify the country under the 'timeZone' field and can create the account 
>    as per your requirement. You can refer to this help center article 
>    
> <https://support.google.com/google-ads/answer/9842104?hl=en&sjid=13097251186004446524-NC#zippy=%2Cyour-time-zone-setting>
>  
>    for more detailed information.  
>
> If you still encounter any issues while creating the sub-accounts even 
> after following the suggestion, I would request you to share the complete 
> API logs (request 
> <https://developers.google.com/google-ads/api/docs/concepts/field-service#request>
>  
> and response 
> <https://developers.google.com/google-ads/api/docs/concepts/field-service#response>
>  
> logs with request-id 
> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id>
>  
> and request header 
> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request_headers>)
>  
> generated at your end to further assist you better. 
>
> You can send the details via *Reply privately to the author option*, or 
> *direct 
> private reply* to this email.
>   
>
> Thanks,
>   
> [image: Google Logo] Google Ads API Team 
> Feedback
> How was our support today? 
>
> [image: rating1] 
> <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=1&entry.295079254=5004Q00002vHAlpQAG>
>   
>   [image: rating2] 
> <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=2&entry.295079254=5004Q00002vHAlpQAG>
>   
>   [image: rating3] 
> <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=3&entry.295079254=5004Q00002vHAlpQAG>
>   
>   [image: rating4] 
> <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=4&entry.295079254=5004Q00002vHAlpQAG>
>   
>   [image: rating5] 
> <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=5&entry.295079254=5004Q00002vHAlpQAG>
> [2025-03-18 01:57:09Z GMT] This message is in relation to case 
> "ref:!00D1U01174p.!5004Q02vHAlp:ref" (ADR-00295093)
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/adwords-api/ac15b9f0-13ab-4606-9e7e-331d2475695en%40googlegroups.com.
  • Ho... Vincent
    • ... Vincent
      • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to