Metrics data for customer filter by Search Campaigns only

20 views
Skip to first unread message

Deepak Chand

unread,
Sep 21, 2020, 1:23:24 AM9/21/20
to AdWords API and Google Ads API Forum
Hi Team,

I want to get cutomer metrics data from resource customer using google ads REST API interface.  But I am only interested in SEARCH campaigns type.

I have added segments.ad_network_type = 'SEARCH' but I am not getting correct data.

Is there any way to filter SEARCH campaign type for  "customer" resource ?



Thanks & Regards

Google Ads API Forum Advisor Prod

unread,
Sep 21, 2020, 10:25:39 AM9/21/20
to deepak...@successive.tech, adwor...@googlegroups.com

Hi Deepak,

Thank you for reaching out. It could not be set up to fetch Search Campaigns only by querying the customer resource. The workaround is to query the campaign resource and specify campaign.advertising_channel_type = “SEARCH” and customer.id = “xxxxxxxxxx” in the WHERE clause to fetch the Search Campaigns only. 

Thanks and regards,
Xiaoming, Google Ads API Team


Google Logo
Xiaoming
Google Ads API Team
 


ref:_00D1U1174p._5004Q24cubB:ref

Deepak Chand

unread,
Sep 21, 2020, 10:05:13 PM9/21/20
to Google Ads API Forum Advisor Prod, adwor...@googlegroups.com
Thank you for the clarification. 
--
Deepak Chand
Engineer
Successive Technologies
A Deloitte Technology Fast 50 Company

INDIA | NORWAY | USA


CONFIDENTIALITY NOTICE
This email (including any attachments) may contain confidential, proprietary and/or privileged information, if you are not the intended recipient, or the person responsible for delivering the message to the intended recipient then please notify us by return email immediately. Should you have received this email in error then you should not copy this for any purpose nor disclose its contents to any other person.
Reply all
Reply to author
Forward
0 new messages