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
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
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
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")
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