That worked! Thank you.

On Feb 16, 7:44 am, David Bonner <dbon...@gmail.com> wrote:
> You need to specify types (using xsi_type) for all the objects represented
> in that dict struct.
>
> You have:
> [{'operand': {'adGroupId': u'5480244943',
>               'criterion': {'matchType': 'PHRASE',
>                             'text': u'1391besaa22aqb',
>                             'type': 'Keyword'},
>               'type': 'BiddableAdGroupCriterion'},
>   'operator': 'ADD'},
>  {'operand': {'adGroupId': u'5480244943',
>               'criterion': {'matchType': 'PHRASE',
>                             'text': u'1391b-esaa22-aqb',
>                             'type': 'Keyword'},
>               'type': 'BiddableAdGroupCriterion'},
>   'operator': 'ADD'}]
>
> You need:
> [{'xsi_type': 'AdGroupCriteironOperation',
>   'operand': {'adGroupId': u'5480244943',
>               'criterion': {'matchType': 'PHRASE',
>                             'text': u'1391besaa22aqb',
>                             'xsi_type': 'Keyword'},
>               'xsi_type': 'BiddableAdGroupCriterion'},
>   'operator': 'ADD'},
>  {'xsi_type': 'AdGroupCriterionOperation',
>   'operand': {'adGroupId': u'5480244943',
>               'criterion': {'matchType': 'PHRASE',
>                             'text': u'1391b-esaa22-aqb',
>                             'xsi_type': 'Keyword'},
>               'xsi_type': 'BiddableAdGroupCriterion'},
>   'operator': 'ADD'}]

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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