Re: How to filter the Campaign Performance Report based on where condition

2021-09-07 Thread Google Ads API Forum Advisor
Hi Anurag, Thank you for your follow up. Regarding using the = or equalTo operator, you mentioned "I tried the suggested approach but it does not do a filter based on CampaignId instead it return all the Campaigns.", it would be unlikely that all campaigns would be returned if the condition wa

Re: How to filter the Campaign Performance Report based on where condition

2021-09-03 Thread Anurag Sinha
Hi Team, Thanks for the quick Response. I am using CampaignCriterionServiceInterface for my Use Case., where I can to a filter on a specific CampaignId but I wanted to do a filter and get the results for a set of CampaignIDs and I tried both containsAny and containsAll. Both of them gives excep

Re: How to filter the Campaign Performance Report based on where condition

2021-09-02 Thread Google Ads API Forum Advisor
Hello, Can you please provide us with your customer ID so that we can take a closer look at the issue you're having? Thanks, Matt Google Ads API Team Matt Google Ads API Team ref:_00D1U1174p._5004Q2Mk98O:ref -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: htt

Re: How to filter the Campaign Performance Report based on where condition

2021-08-31 Thread Anurag Sinha
Hi Team, Thanks for quick response. I tried the suggested approach but it does not do a filter based on CampaignId instead it return all the Campaigns. ReportQuery query = new ReportQuery.Builder() .fields( "CampaignId", "CampaignName")

RE: How to filter the Campaign Performance Report based on where condition

2021-08-31 Thread Google Ads API Forum Advisor
Hi Anurag, When using the CampaignId (Long) as a predicate you should use other operators such as "=". This is because operators such as CONTAINS are designed more for string values. I hope this helps. Best regards, Peter Laurence Napa Oliquino Google Ads API Team ref:_00D1U1174p._5004Q2Mk98O

How to filter the Campaign Performance Report based on where condition

2021-08-30 Thread Anurag Sinha
Hi Team, I wanted to filter the Campaign Performance Report based on CampaignId, Can you please let me know how to do it? ReportQuery query = new ReportQuery.Builder() .fields( "CampaignId", "CampaignName") .from(ReportDefinitionRe