Jack Roth
unread,May 21, 2013, 2:13:56 PM5/21/13Sign 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 adwor...@googlegroups.com
Hi
In my program, i'm creating a campagin (successfully).
xxx = [{ 'operator': 'ADD', 'operand': { 'campaignId': self.campaign_id, ...
and later try to create an adgroup:
yyy = [{ 'operator': 'ADD',
'operand': { 'campaignId': self.params['campaign_id'],
'name': 'AdGroup: %s #%s' % (adgroup, Utils.GetUniqueName()),
...
ad_groups = ad_group_service.Mutate(operations)[0]
self.campaign_id is always
here's "yyy" contents:
[{'operator': 'ADD', 'operand': {'status': 'ENABLED', 'bids': {'keywordMaxCpc': {'amount': {'microAmount': '30000'}}, 'xsi_type': 'ManualCPCAdGroupBids'}, 'name': 'AdGroup: group #1111111111', 'campaignId': u'xxxx 4432644030202152013'}}]
(the numbers are being generated on the fly by "urils.GetUniqueName")
this is the error i'm getting in line "ad_group_service.Mutate":
AdWordsApiError: Unmarshalling Error: For input string: "itttt 4432644030202152013",
What could be the reason?
How to debug it?