Hi there, Question about the LIKE operator for filters. I have the following query:
SELECT metrics.clicks FROM campaign WHERE metrics.impressions > 0 AND campaign.name LIKE "%Gene[%" AND segments.date >= '2021-09-01' AND segments.date <= '2021-09-30' When I put that query into the Query generator it states it's a valid query, but when I send it to the API I get the following error: Error: 400 - {"error":{"code":400,"message":"Request contains an invalid argument.","status":"INVALID_ARGUMENT","details":[{"@type":"type.googleapis.com/google.ads.googleads.v8.errors.GoogleAdsFailure","errors":[{"errorCode":{"queryError":"INVALID_VALUE_WITH_LIKE_OPERATOR"},"message":"Value: %Gene[% is invalid. The LIKE operator may only be used with non-empty strings of valid Google SQL syntax."}],"requestId":"<REDACTED>"}]}} Is there anything I might be doing wrong here? Thank you, Tiana -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com 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 adwords-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/ad09f650-131b-4242-9575-a6fb5ebc49b2n%40googlegroups.com.