SelectorError.INVALID_PREDICATE_FIELD_NAME

34 views
Skip to first unread message

Konstantin Krylov

unread,
Oct 31, 2018, 7:16:05 PM10/31/18
to AdWords API and Google Ads API Forum
Hi all!

Can somebody help me to solve the following:

using such filter in my Selector:

.equals(AdGroupCriterionField.PartitionType, "UNIT")

I'm getting the error:

<errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SelectorError">
                        <fieldPath/>
                        <trigger>PartitionType</trigger>
                        <errorString>SelectorError.INVALID_PREDICATE_FIELD_NAME</errorString>
                        <ApiError.Type>SelectorError</ApiError.Type>
                        <reason>INVALID_PREDICATE_FIELD_NAME</reason>
                    </errors>

Sreelakshmi Sasidharan (AdWords API Team)

unread,
Nov 1, 2018, 1:34:15 PM11/1/18
to AdWords API and Google Ads API Forum
Hello, 

The field ProductPartition.partitionType that you are trying to use as predicate cannot be filtered on. Please check this table for more details and fields that can be filtered on. You could instead filter on Criterion.type = PRODUCT_PARTITION. Then you may need to post-process the response to find the UNIT among those. Please let me know if you have any additional questions. 

We are running an annual developer feedback survey. Please take opportunity to leave feedback on how we can make managing campaigns at scale even easier.

Thanks,
Sreelakshmi, AdWords API Team
Reply all
Reply to author
Forward
0 new messages