Internal API error running GetCampaignsByLabel.php

32 views
Skip to first unread message

Skyler Christensen

unread,
Mar 3, 2015, 2:33:21 PM3/3/15
to adwor...@googlegroups.com
So I have successfully executed other operations such as GetCampaigns.php and GetLabels.php, but when I run GetCampaignsByLabel.php I get an a generic internal api error message. 

My end goal is to simply get a list of the Campaigns that contain the label "Tog_Sav" and pause/enable them.

Thanks!
soap_xml.log

Josh Radcliff (AdWords API Team)

unread,
Mar 3, 2015, 5:41:52 PM3/3/15
to adwor...@googlegroups.com
Hi,

I see you're trying to filter by label name. However, when using filters in predicates you need to use label IDs. Please give that a try and let me know if you still encounter errors.

Thanks,
Josh, AdWords API Team

Skyler Christensen

unread,
Mar 4, 2015, 4:48:56 PM3/4/15
to adwor...@googlegroups.com
That was exactly the issue! Thanks!
Reply all
Reply to author
Forward
0 new messages