Hi,

I am using the TrialService. It runs well for once two weeks ago when I 
create a trial through version=‘v201806’

But I did run into “InternalApiError.UNEXPECTED_INTERNAL_API_ERROR" today 
trying to  for one of my campaigns. I am following the same python demo 
here: 
https://developers.google.com/adwords/api/docs/guides/campaign-drafts-experiments

I got warnings and error :

[WARNING] 2018-09-28 08:12:42,534 googleads.soap(363): Error summary: 
{'faultMessage': '[InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ 
com.google.ads.api.services.common.error.InternalApiError.<init>(InternalApiErro]',
 
'requestId': ‘xxxxxx', 'serviceName': 'TrialService', 'methodName': 
'mutate', 'operations': '1', 'responseTime': '245'}
During handling of the above exception, another exception occurred:
...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]

Have also tryied logging according to a instruction in the group,but no 
more things pop up.  Please help take a look. Thank you

This is the code I am using:

trial_service = client.GetService('TrialService', version='v201806')

trial_async_error_service = client.GetService('TrialAsyncErrorService', 
version='v201806’)

trial = {
    'draftId': draftId,

    'baseCampaignId': baseCampaignId,

    'name': '%s_trial' %CampaignName,
    'trafficSplitPercent': 50,
    'startDate':’2019-01-01',
    'endDate':'2020-01-01'
}

trial_operation = {'operator': 'ADD', 'operand': trial}
trial_result = trial_service.mutate([trial_operation])['value’]


import logging
logging.basicConfig(level=logging.INFO)
logging.getLogger('suds.transport').setLevel(logging.DEBUG)
trial_result = trial_service.mutate([trial_operation])

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/12294bc9-ed2e-4742-8fa0-6fab5951c9f2%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