Re: Can not set trackingUrlTemplate for Biddable AdGroupCriterion

2016-06-06 Thread Антон Сычугов
I do not use googleads-python-lib. I have suds-jurko wrapped by tons of legacy code. понедельник, 6 июня 2016 г., 20:39:24 UTC+3 пользователь Josh Radcliff (AdWords API Team) написал: > > Hi, > > Could you also let me know which version of googleads-python-lib >

Re: Can not set trackingUrlTemplate for Biddable AdGroupCriterion

2016-06-06 Thread 'Josh Radcliff (AdWords API Team)' via AdWords API Forum
Hi, Could you also let me know which version of googleads-python-lib you are using? Thanks, Josh, AdWords API Team On Monday, June 6, 2016 at 4:49:00 AM UTC-4, Антон Сычугов wrote: > > I work with python3.5.0, suds-jurko 0.6. > With

Re: Can not set trackingUrlTemplate for Biddable AdGroupCriterion

2016-06-06 Thread Антон Сычугов
I work with python3.5.0, suds-jurko 0.6. With your example I have: *suds.TypeNotFound: Type not found: 'xsi_type'* пятница, 3 июня 2016 г., 22:14:11 UTC+3 пользователь Josh Radcliff (AdWords API Team) написал: > > Hi, > > I just tried to replicate the error you're encountering, but the request

Re: Can not set trackingUrlTemplate for Biddable AdGroupCriterion

2016-06-03 Thread 'Josh Radcliff (AdWords API Team)' via AdWords API Forum
Hi, I just tried to replicate the error you're encountering, but the request succeeds for me. In case it helps, here's what my modified *update_keyword.py* file looks like: operations = [{ 'operator': 'SET', 'operand': { 'adGroupId': ad_group_id, 'xsi_type':

Re: Can not set trackingUrlTemplate for Biddable AdGroupCriterion

2016-06-03 Thread Антон Сычугов
Thanks a lot for quick response! Yes, I'm using AdGroupCriterionService, API version 201601. suds logs: 2016-06-03 10:30:58,683 DEBUGsuds.xsd.query: ('mutate', 'https://adwords.google.com/api/adwords/cm/v201601'), found as: 2016-06-03 10:30:58,683 DEBUGsuds.xsd.query: ('mutate',

Re: Can not set trackingUrlTemplate for Biddable AdGroupCriterion

2016-06-02 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi, Can you confirm that you are using the AdGroupCriterionService? This is likely the case where the incorrect service is being used. Could you provide the output logs when you try to update the criterion? You can find the instruction to enable logging for the python client library here

Re: Can not set trackingUrlTemplate for Biddable AdGroupCriterion

2016-06-02 Thread Антон Сычугов
I use service.mutate method for saving ad group criterion: ops = [{ 'operator': 'SET', 'operand': { 'adGroupId': groupId, # 'xsi_type': 'BiddableAdGroupCriterion', 'criterion': {

Re: Can not set trackingUrlTemplate for Biddable AdGroupCriterion

2016-05-31 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi, The update_keyword 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 not set trackingUrlTemplate for Biddable AdGroupCriterion

2016-05-31 Thread Антон Сычугов
When I get entities of AdGroupCriterion, I have entities with trackingUrlTemplate. But when I try to change trackingUrlTemplate, I've got error from suds: suds.TypeNotFound: Type not found: 'trackingUrlTemplate' Example of entity: (BiddableAdGroupCriterion){ adGroupId = 2930