Thank you for the clarification. On Mon, Sep 21, 2020 at 7:55 PM Google Ads API Forum Advisor Prod < [email protected]> wrote:
> 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 > <https://developers.google.com/google-ads/api/fields/v5/campaign> > resource and specify campaign.advertising_channel_type > <https://developers.google.com/google-ads/api/fields/v5/campaign#campaign.advertising_channel_type> > = “SEARCH” and customer.id > <https://developers.google.com/google-ads/api/fields/v5/customer#customer.id> > = “xxxxxxxxxx” in the WHERE clause to fetch the Search Campaigns only. > > Thanks and regards, > Xiaoming, Google Ads API Team > > > [image: Google Logo] > Xiaoming > Google Ads API Team > > > ref:_00D1U1174p._5004Q24cubB:ref > -- *Deepak Chand* *Engineer* *Successive Technologies* *A Deloitte Technology Fast 50 Company* *M:+91 8077652302* 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. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/CAPwQ9AO60fd10x3xnnNbyg2-AQ0d9ozfupGtehgKV0PNQXFD%3Dg%40mail.gmail.com.
