Hi,
I'm trying to retrieve all keywords that doesn't have a Destination URL
set. I'm using this selector in Python:
selector = {
'fields': ['AdGroupId', 'Id', 'Text', 'Status',
'KeywordMatchType', 'QualityScore' ],
'predicates': [{
'field': 'CriteriaType',
'operator': 'EQUALS',
'values': ['KEYWORD']
},
{
* 'field': 'DestinationUrl',*
* 'operator': 'DOES_NOT_CONTAIN',*
* 'values': ['www']*
},
{
'field': 'Status',
'operator': 'IN',
'values': ['ACTIVE', 'PAUSED']
}]
}
The problem is that this returns Keywords that already have DestinationUrl
set.. I also tried the predicate: (DestinationUrl EQUALS '').
If I change the predicate to something like (DestinationUrl CONTAINS 'some
real value') it does returns properly.. It seems like the operator
DOES_NOT_CONTAIN is not working.
Rodrigo
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.