Is it possible to filter keywords using a adgroup id list?

17 views
Skip to first unread message

Eduardo Cesar

unread,
Aug 8, 2017, 3:52:54 AM8/8/17
to AdWords API Forum
I tried this get query (python wrapper):

selector = {
'fields': ['FinalUrls', 'AdGroupId'],
'predicates': [
{
'field': 'AdGroupId',
'operator': 'EQUALS',
'values': ad_group_id_list
}
]
}

However, I received a 'unexpected erro' in response.
When I change the 'ad_group_id_list' to '[ad_group_id_list[0]]' the query returned the correct response. 
Is it possible to filter keywords using a adgroup id list?

Peter Oliquino

unread,
Aug 8, 2017, 5:10:11 AM8/8/17
to AdWords API Forum
Hi Eduardo,

Since you are filtering through a list, could you try and use the "IN" operator instead? If the issue persists, could you provide more information regarding the issue you are encountering? If you are using an AdWords API service, could you  provide the SOAP request and response? If you have not enabled SOAP logging, you may refer to this guide

If you are using a report type, you may send to me the complete report definition instead. You may reply using Reply privately to author.

Best regards,
Peter
AdWords API Team
Reply all
Reply to author
Forward
0 new messages