It dit work by surrounding in square brackets, thank you!!

Le jeudi 21 avril 2022 à 12:12:33 UTC-4, stefano...@webrepublic.ch a écrit :

> Hi Francis,
>
> Try 
>
> WHERE campaign.name REGEXP_MATCH \" (?i).Google [[]Ads[]]. \"
>
> "To match a literal [, ], %, or _ using the LIKE operator, surround the 
> character in square brackets." source 
> https://developers.google.com/google-ads/api/docs/query/grammar 
>
> Hope this helps
> On Thursday, April 21, 2022 at 5:15:13 PM UTC+2 francis....@gmail.com 
> wrote:
>
>>
>>  Hi Jinky,
>>
>> the suggested regular expression executes without error, but it does not 
>> match the string "Google [Ads]". This is because "[" is a reserved 
>> caracter. See the screenshots below from a regex tester using the re2 
>> syntax. 
>>
>> I would expect the Google Ads API to match the escaped opening square 
>> bracket without error.
>>
>> Thank you, Francis
>>
>>
>> [image: Regex no escape no match.png][image: Regex escape match.png]
>>
>>
>> Le jeudi 21 avril 2022 à 07:21:22 UTC-4, adsapi a écrit :
>>
>>> Hi  Francis,
>>>
>>> Thank you for raising this concern to the Google Ads API forum. With 
>>> regard to your concern, could you please try this format below:
>>>
>>> WHERE campaign.name REGEXP_MATCH \" (?i).Google [Ads]. \"
>>>
>>> I tried this suggested format and it's working on my end so you can try 
>>> it as well.
>>>
>>> Best regards,
>>> [image: Google Logo] 
>>> Jinky 
>>> Google Ads API Team 
>>>   
>>>
>>> ref:_00D1U1174p._5004Q2a5B6j: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 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 
"Google Ads API and AdWords 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/31d6722c-0f54-4ab0-8313-7f43f137750bn%40googlegroups.com.
  • Re... francis....@gmail.com
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... francis....@gmail.com
        • ... stefano...@webrepublic.ch
          • ... francis....@gmail.com

Reply via email to