Hello! I've created a Python program to create a new Google Ads account under an MCC account, but I'm having trouble setting the default serving country from the start. I want to set the country to the United Kingdom with the currency in USD. However, the program keeps creating accounts with the default country as the USA and the currency as USD. When I import the following module to specify the country, I get an error in VS Code:
The error is: Import "google.ads.googleads.enums.types" could not be resolved.
How can I solve this problem?
![]() |
Google Ads API Team |
Hello,
Thank you for your guidance on creating an account under an MCC account.
I have followed the steps in the guide and ensured that logging is enabled in my Python script. However, I am encountering an issue where, despite specifying the desired currency and time zone, the account is created with the default country set to the USA.
Here are the details of the issue:
Logs from the Recent API Request:
INFO:google.ads.googleads.client:Request made: ClientCustomerId: 5686622991, Host: googleads.googleapis.com, Method: /google.ads.googleads.v17.services.CustomerService/CreateCustomerClient, RequestId: 5dnVQ1UbITM1Oo8hCK3gTA, IsFault: False, FaultMessage: None
Customer created with resource name "customers/3709677698" under manager account with ID "5686622991".
Issue Encountered:
I am looking to set the default country to match the selected time zone and currency (United Kingdom in this case), but it seems to default to the USA. Could you please assist me in resolving this issue or provide guidance on how to correctly set the default country according to the time zone and currency specified?
Thank you for your assistance.
Best regards,
Li Tom