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'}
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])