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

2012-02-16 Thread Philip
That worked! Thank you. On Feb 16, 7:44 am, David Bonner 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', >                    

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

2012-02-16 Thread David Bonner
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': 'Keywor

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

2012-02-16 Thread Philip
ocs, 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': '