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 Xiaoming Google Ads API Team ref:_00D1U1174p._5004Q24cubB:ref -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/482Pu000000000000000000000000000000000000000000000QH0IPV00HR5XuDJBRD-zR0Xi4KsCsQ%40sfdc.net.
