Hi,

Logically speaking, you may omit the conditions Clicks > 0 and Conversions 
> 0 because once an impression has been generated, it means that there is 
also a Click or a Conversion generated. Whit this said, you may retain the 
Impressions 
> 0 only in your condition and it would still retrieve the same result.

Regards,
Dannison
AdWords API Team

On Tuesday, November 20, 2018 at 5:31:19 PM UTC+8, Ns sh wrote:
>
> Cloud you please help me about using something instead of  'Or' to get my 
> query like :  if Impressions> 0 or Clicks >0 or Conversions>0
>
> On Monday, November 19, 2018 at 4:52:51 PM UTC+1, Dannison Yao (AdWords 
> API Team) wrote:
>>
>> Hi,
>>
>> My apologies for missing this out in my previous response. It appears 
>> that you are using an OR operator, this is not supported in the AWQL. You 
>> may refer to this guide 
>> <https://developers.google.com/adwords/api/docs/guides/awql#formal_grammar> 
>> for 
>> further details.
>>
>> Regards,
>> Dannison
>> AdWords API Team
>>
>> On Monday, November 19, 2018 at 4:11:18 PM UTC+8, Ns sh wrote:
>>>
>>> Hi Dannison,
>>> I still have the same error after conversion:
>>> Where("Impressions" Or "Clicks" Or "Conversions" Or "AllConversions").
>>> GreaterThan(CLng(0))
>>>
>>>
>>>
>>> On Friday, 16 November 2018 17:05:02 UTC+1, Ns sh wrote:
>>>>
>>>> Could you please help me to correct this statement:
>>>>
>>>> .Where("Impressions" Or "Clicks" Or "Conversions").GreaterThan(0)
>>>>
>>>> I go an error "'Conversion from string "Impressions" to type 'Long' is 
>>>> not valid'".
>>>>
>>>> Thanks.
>>>>
>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/5c73f60f-9117-419f-8a28-f029f478a7a0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • ... Ns sh
    • ... 'Dannison Yao (AdWords API Team)' via AdWords API and Google Ads API Forum
    • ... Ns sh
      • ... 'Dannison Yao (AdWords API Team)' via AdWords API and Google Ads API Forum
        • ... Ns sh
          • ... 'Dannison Yao (AdWords API Team)' via AdWords API and Google Ads API Forum

Reply via email to