Hi, I’ve checked provious dicussion the group, here is my code of following 
instructions of logging.

I have used this code to create trial campaign 2weeks ago and it worked 
well. Now get below error, and I get no more logging when after following 
instructions.
https://developers.google.com/adwords/api/docs/guides/campaign-drafts-experiments
https://github.com/googleads/googleads-python-lib/tree/b80b8b3741a55f1d00c5974bc58f92540663c6f6#user-content-how-do-i-log-soap-interactions

trial = {
    'draftId': available_pool.loc[index]['draftId'],
    'baseCampaignId': available_pool.loc[index]['draft_campaign_id'],
    'name': '%s_value' %available_pool.loc[index]['CampaignName'],
    'trafficSplitPercent': 30,
    'startDate': '2018-10-01',
    'endDate': '2019-01-26'
}
trial_operation = {'operator': 'ADD', 'operand': trial}

import logging
logging.basicConfig(level=logging.INFO)
logging.getLogger('suds.transport').setLevel(logging.DEBUG)

trial_result = trial_service.mutate([trial_operation])


[WARNING] 2018-09-28 09:18:55,308 googleads.soap(363): Error summary: 
{'faultMessage': '[InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ 
com.google.ads.api.services.common.error.InternalApiError.<init>(InternalApiErro]',
 
'requestId': '000576f0cfd8ecd00a37ac0b110b3534', 'serviceName': 
'TrialService', 'methodName': 'mutate', 'operations': '1', 'responseTime': 
'337'}
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/googleads/common.py", line 
1371, in MakeSoapRequest
    *packed_args, _soapheaders=soap_headers)['body']['rval']
  File "/usr/local/lib/python3.6/site-packages/zeep/client.py", line 45, in 
__call__
    self._op_name, args, kwargs)
  File "/usr/local/lib/python3.6/site-packages/zeep/wsdl/bindings/soap.py", 
line 121, in send
    return self.process_reply(client, operation_obj, response)
  File "/usr/local/lib/python3.6/site-packages/zeep/wsdl/bindings/soap.py", 
line 186, in process_reply
    return self.process_error(doc, operation)
  File "/usr/local/lib/python3.6/site-packages/zeep/wsdl/bindings/soap.py", 
line 291, in process_error
    detail=fault_node.find('detail'))
zeep.exceptions.Fault: [InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ 
com.google.ads.api.services.common.error.InternalApiError.<init>(InternalApiErro]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File 
"/Users/stellayang/Library/Python/3.6/lib/python/site-packages/IPython/core/interactiveshell.py",
 
line 2881, in run_code
    exec(code_obj, self.user_global_ns, self.user_ns)
  File "<ipython-input-531-055786788567>", line 15, in <module>
    trial_result = trial_service.mutate([trial_operation])['value']
  File "/usr/local/lib/python3.6/site-packages/googleads/common.py", line 
1383, in MakeSoapRequest
    e.detail, errors=error_list, message=e.message)
googleads.errors.GoogleAdsServerFault: 
[InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ 
com.google.ads.api.services.common.error.InternalApiError.<init>(InternalApiErro]


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/d2f278e1-ff3f-4a4e-98ed-ad0c53950cf7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • ... Stella
    • ... 'Dannison Yao (AdWords API Team)' via AdWords API and Google Ads API Forum

Reply via email to