RE: GetCampaigns is null

12 views
Skip to first unread message

Google Ads API Forum Advisor

unread,
Aug 8, 2022, 5:25:29 AM8/8/22
to yaoxi...@gmail.com, adwor...@googlegroups.com
Hi,

Thank you for reaching us out. I am Sherwin from Google Ads API support team. I hope that you are doing well today.

Upon checking the screenshot, we notice that the ORDER BY is missing if it's ascending or descending. With that being said, you may try this query "SELECT campaign.idcampaign.name FROM campaign ORDER BY campaign.id ASC" to replace the other one highlighted in the screenshot. You may also use the GAQL to create a query for the campaign.

Please let us know if this works for you.

Kind regards,
Google Logo
Sherwin Vincent
Google Ads API Team
 


ref:_00D1U1174p._5004Q2dIPJJ:ref
Reply all
Reply to author
Forward
0 new messages