Hi Preston,

The INVALID_ 
<https://developers.google.com/adwords/api/docs/reference/v201809/CampaignBidModifierService.SelectorError.Reason#enums>
PREDICATE_OPERATOR 
<https://developers.google.com/adwords/api/docs/reference/v201809/AdGroupService.SelectorError.Reason#enums>
 
error indicates that you are using an unsupported predicate for the 
CampaignName field. You may use the CONTAINS predicate instead of 
CONTAINS_ANY to filter by CampaignName. Let me know how it goes and if you 
have any further clarifications. 

Thanks and regards,
Luis
AdWords API Team

On Wednesday, September 26, 2018 at 1:31:13 PM UTC+8, Preston Hinkle wrote:
>
> Hello,
>
> As the question title states, I'm trying to select all ad groups with 
> campaign names satisfying a CONTAINS_ANY relationship. I assume this is 
> possible since the AdWords API documentation says that campaign name can be 
> filtered on for ad groups. However, when I try I receive the following 
> error: 
>
> GoogleAdsServerFault: [SelectorError.INVALID_PREDICATE_OPERATOR @ 
> serviceSelector; trigger:'CampaignName']
>
> I'm using the AdGroupService's get() method, and my selector looks like 
> this:
>
> {
>
> 'fields': 
>
> ['Id', 'CampaignId', 'CampaignName', 'Name', 'Status', 'Settings', 'Labels', 
> 'AdRotationMode'],
>
> 'predicates': 
>
> [{'field': 'CampaignName', 'operator': 'CONTAINS_ANY', 'values': ['dmageo']}],
>
> 'paging': 
>
> {'startIndex': 0, 'numberResults': '10000'}
>
>  }
>
>
>
> Filtering by CampaignId works perfectly fine, but CampaignName (and Campaign, 
> campaignName, ...) for whatever reason doesn't work. Any idea?
>
>
> 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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
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/20ac7ad7-3bdf-4ced-91c1-1f128223479b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • ... Preston Hinkle
    • ... 'Luis Xander Talag (AdWords API Team)' via AdWords API and Google Ads API Forum
      • ... Preston Hinkle

Reply via email to