Retrieve all criteria with a non-null TrackingUrlTemplate?

29 views
Skip to first unread message

mm

unread,
Aug 4, 2015, 12:22:11 PM8/4/15
to AdWords API Forum
Hey guys, 
I need to retrieve all keywords with a non-null tracking template (because I need to clear them out). However, so far I am having a little difficulty discovering the right selector syntax. I tried not equals an empty string - but the returned keywords include those with a null template. I then tried "Not equals null", but that isn't a valid selector (an attempt with that throws SelectorError.MISSING_PREDICATE_VALUES ). 

What is the trick to this that I'm missing? 

Thanks a bunch -
mm

Anthony Madrigal

unread,
Aug 4, 2015, 2:04:03 PM8/4/15
to AdWords API Forum
Hey mm,

Could you Reply privately to author your SOAP XML requests and responses for the different queries that you used? And could you also please provide me with your CID?

Thanks,
Anthony
AdWords API Team

mm

unread,
Aug 7, 2015, 11:16:19 AM8/7/15
to AdWords API Forum
Just to note for anyone else looking to do this, what Anthony & I hit upon was adding a "ContainsIgnoreCase" predicate with a value of "lpurl", since one of the lpurl variants is required as part of a tracking template. So far this seems to accomplish finding all the keywords with non-null tracking templates
Reply all
Reply to author
Forward
0 new messages