I can not retrieve any Search Express Campaign through Adwords API Reports

14 views
Skip to first unread message

Hamza Ansari

unread,
Jun 12, 2020, 8:04:33 AM6/12/20
to AdWords API and Google Ads API Forum
i am using following code to pull Smart Campaigns from my MCC level account using CAMPAIGN_PERFORMANCE_REPORT but it will return nothing.

var report = AdWordsApp.report("SELECT CampaignName FROM CAMPAIGN_PERFORMANCE_REPORT WHERE AdvertisingChannelSubType = SEARCH_EXPRESS DURING YESTERDAY");
     var rows = report.rows();
     while (rows.hasNext()) {
       var row = rows.next();
       Logger.log(row['CampaignName'])
     }


kindly help me out here.
Thanks

Google Ads API Forum Advisor Prod

unread,
Jun 12, 2020, 3:19:11 PM6/12/20
to hamx...@gmail.com, adwor...@googlegroups.com
Hi Hamza,

Thank you for reaching out. With regards to your concern, you can filter on the AdvertisingChannelSubType to only show "DISPLAY_SMART_CAMAPAIGN" to just show the smart campaign metrics. You can also exclude that sub-type to get the metrics for non-smart campaigns. You can refer to guide a for smart campaign. If you are still facing any issue, can you please share the complete report definition and screenshot of the UI along with customer ID, so that I can further investigate the issue. Please reply privately to author options while sharing the details.

Let me know if you have question.

Thanks,
Nirmita Patel Google Ads Team

 

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