George Lemanis
unread,Apr 1, 2022, 10:57:51 AM4/1/22Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Ads API and AdWords API Forum
Hello,
I am trying to enable the call reporting during the creation of a new customer account using the Python module (v14.1.0), but I am getting the "IMMUTABLE_FIELD" error for the "call_reporting_enabled" field.
My question is how can I create a customer account with the call reporting enabled or is it possible after I create the customer account?
My code is the following:
ads_client = GoogleAdsClient() # initialize object with credentials and etc
customer_service = ads_client.get_service("CustomerService")
customer = ads_client.get_type("Customer")
customer.descriptive_name = "My Test Account"
customer.currency_code = "EUR"
customer.time_zone = "Europe/Athens"
customer.call_reporting_setting.call_reporting_enabled = True
response = customer_service.create_customer_client(customer_id="1234567890", customer_client=customer)
Thanks in advance,
George