I use service.mutate method for saving ad group criterion: ops = [{ 'operator': 'SET', 'operand': { 'adGroupId': groupId, # 'xsi_type': 'BiddableAdGroupCriterion', 'criterion': { 'id': id }, 'trackingUrlTemplate': trackingUrlTemplate } }] service.mutate(ops) And I getting suds.TypeNotFound: Type not found: 'xsi_type' if 'xsi_type': 'BiddableAdGroupCriterion', is uncommented and suds.TypeNotFound: Type not found: 'trackingUrlTemplate' if it is commented. Could you provide any example of using suds Doctor for modifying wsdl?
вторник, 31 мая 2016 г., 23:14:05 UTC+3 пользователь Shwetha Vastrad (AdWords API Team) написал: > > Hi, > > The update_keyword > <https://github.com/googleads/googleads-python-lib/blob/master/examples/adwords/v201605/basic_operations/update_keyword.py> > Python > example demonstrates how to update the attributes of a keyword. You can use > that as a reference to make changes to an AdGroupCriterion. You can also > use Suds Doctor > <https://jortel.fedorapeople.org/suds/doc/suds.xsd.doctor-module.html> module > to fix broken schema(s). If you still see this problem, please provide the > code you are using to update AdGroupCriterion. > > Regards, > Shwetha, AdWords API Team. > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 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 --- 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 adwords-api+unsubscr...@googlegroups.com. 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/e3eef96c-dd61-4c83-9820-9797101bfc1d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.