Hello, >From what I understand, you're trying to filter the campaigns by trying to compare the values of two fields (CampaignId and baseCampaignId) in a single predicate. I'm afraid its not possible to use predicates in this manner. To filter for standalone campaigns, you need to add a predicate <https://developers.google.com/adwords/api/docs/reference/v201708/CampaignService.Predicate.Operator> for CampaignTrialType <https://developers.google.com/adwords/api/docs/reference/v201708/CampaignService.Campaign#campaigntrialtype> field as: equals(CampaignField.CampaignTrialType, "BASE")
Let me know if you have any other questions. Regards, Bharani, AdWords API Team On Monday, October 2, 2017 at 6:10:46 AM UTC-4, SP wrote: > > Hi! > > I'm using this google adwords api version: v201705 > > I need to filter the trial (experiments) campigns to be able to retreive > only the standalone campaings, > i'm trying using SelectorBuilder.equals operation with something like this: > > equals(Campaign.Id, Campaign.baseCampaignId) > > but with that I cannot retreive any campaign at all, > > how can I filter the trials campaigns to be able to only retreive the > standalone campaings? > > Many thanks! > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords 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 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/6f468220-198c-471b-9a4e-f8e5f7f0fde5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.