I'm working on upgrading from adwords api v200909 to v201109. It's not
going super smoothly.

I use google app engine and have the latest api and patches as part of
the project.

So far I have hacked the error handling in AdWordsErrors in multiple
places to get the api to work in scenarios like duplicate ad groups.
The AdWordsErrors module was having errors with "if 'detail' in fault
because it was assuming detail wouldn't be None on the lines that
followed. Moving on...

Now, some syntax appears to have changed for adding keywords to an ad
group. From the docs, I haven't yet figured out what the change is.

When I pass the following ad group criterion to
ad_group_criterion_service.Mutate(adgroupcriterion_operations) I get:

ValidationError: Field 'text' is not in type 'Criterion'.

ad group criterion: [{'operator': 'ADD', 'operand': {'criterion':
{'text': u'1391besaa22aqb', 'matchType': 'PHRASE', 'type': 'Keyword'},
'adGroupId': u'5480244943', 'type': 'BiddableAdGroupCriterion'}},
{'operator': 'ADD', 'operand': {'criterion': {'text': u'1391b-esaa22-
aqb', 'matchType': 'PHRASE', 'type': 'Keyword'}, 'adGroupId':
u'5480244943', 'type': 'BiddableAdGroupCriterion'}}]

Any ideas?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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

Reply via email to