Hi,
Thank you for releasing the DraftService and TrialService in the 201603
version, much appreciated!
Question - using the trial service, is it not possible to bulk-mutate
several operations (spanning several drafts and campaigns) in 1 batch or
I'm experiencing a bug?
*Python example*
# /...../
trialService = client.GetService('TrialService', version='v201603')
#Note : unique names, unique base-campaign-ids & unique draft-ids in each
operation. All IDs are in the same account.
mut_ops = [{'operand': {
'baseCampaignId': '......579',
'draftId': 5910974510......L,
'name': u'Something Unique',
'trafficSplitPercent': 50},
'operator': 'ADD'},
{'operand': {
'baseCampaignId': '.....1699',
'draftId': 4503599627......L,
'name': u'Something Unique2',
'trafficSplitPercent': 50},
'operator': 'ADD'},
{'operand': {
'baseCampaignId': '.....7699',
'draftId': 3096224743......L,
'name': u'Something Unique3',
'trafficSplitPercent': 50},
'operator': 'ADD'}]
# FAILS - For error details see below
trialService.mutate(mut_ops)
# WORKS
for op in mut_ops:
trialService.mutate(op)
# Fails with WebFault: Server raised fault:
'[TrialError.TRIAL_DURATIONS_MUST_NOT_OVERLAP @ operations[1].operand;
trigger:'[3/29/16 3:41 PM - 12/31/37 7:59 AM]',
TrialError.TRIAL_DURATIONS_MUST_NOT_OVERLAP @ operations[2].operand;
trigger:'[3/29/16 3:41 PM - 12/31/37 7:59 AM]']'
# {'fieldPath': operations[1].operand, 'reason':
TRIAL_DURATIONS_MUST_NOT_OVERLAP, 'trigger': [3/29/16 3:29 PM - 12/31/37
7:59 AM], 'ApiError.Type': TrialError, 'errorString':
TrialError.TRIAL_DURATIONS_MUST_NOT_OVERLAP}
# {'fieldPath': operations[2].operand, 'reason':
TRIAL_DURATIONS_MUST_NOT_OVERLAP, 'trigger': [3/29/16 3:29 PM - 12/31/37
7:59 AM], 'ApiError.Type': TrialError, 'errorString':
TrialError.TRIAL_DURATIONS_MUST_NOT_OVERLAP}
Looking forward to your response.
Best Regards
Mikael Rapp
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
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/e7e3aaec-08f0-4741-b84b-863607ae6aba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.