Hi Aryeh, Thanks for the answer.
Unfortunately that doesn't work because the "=" looks for an exact match and "[campaign][product2]" is just a substring of the name "[test][campaign][product2][search]". What I would like to have is an easy way to filter campaign names by a substring without having special characters interpreted. By easy I mean using any substring and not having to escape the characters. Is there one? Cheers On Monday, January 10, 2022 at 11:48:49 PM UTC+1 adsapi wrote: > Hi Stefano, > > This works: > > > curl -v > "https://googleads.googleapis.com/v9/customers/<CID>/googleAds:search" \ > --header "Content-Type: application/json" \ > --header "login-customer-id: <LGINID>" \ > --header "developer-token: <DT>" \ > --header "Authorization: Bearer <AT>" \ > --data "{ > 'query': ' > SELECT campaign.name FROM campaign WHERE campaign.name = > \"[campaign][product2]\" ' , 'returnTotalResultsCount': true > }" > > Feel free to get back to us. > > Regards, > > [image: Google Logo] > Aryeh Baker > Google Ads API Team > > > ref:_00D1U1174p._5004Q2UiO2O: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 "Google Ads API and AdWords 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/545662cb-f375-4df7-af1f-e167c9b70a44n%40googlegroups.com.
