Hi,
I am writing a Java software matching URL from a feed to Ads Final URL.
The feed contains severals URL which does not match exactly to the Final URL on AdWords (The URLs on AdWords contains a trailing anchor), so for that reason that reason the IN operator could not help me.
I tried the CONTAINS_ANY operator but it doesn't seem to work in that case : I receive a UNEXPECTED_INTERNAL_API_ERROR.
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>[InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ com.google.ads.api.services.common.error.InternalApiError.<init>(InternalApiErro]</faultstring>
<detail>
<ApiExceptionFault xmlns="https://adwords.google.com/api/adwords/cm/v201609">
<message>[InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ com.google.ads.api.services.common.error.InternalApiError.<init>(InternalApiErro]</message>
<ApplicationException.Type>ApiException</ApplicationException.Type>
<errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="InternalApiError">
<fieldPath/>
<trigger/>
<errorString>InternalApiError.UNEXPECTED_INTERNAL_API_ERROR</errorString>
<ApiError.Type>InternalApiError</ApiError.Type>
<reason>UNEXPECTED_INTERNAL_API_ERROR</reason>
</errors>
</ApiExceptionFault>
</detail>
</soap:Fault>
Here is my Java code for the selector :
Selector selector = builder.fields(AdGroupAdField.CreativeFinalUrls)
.containsAny(AdGroupAdField.CreativeFinalUrls, urls)
.notEquals(AdGroupAdField.Status, AdGroupAdStatus.DISABLED.getValue()).build();
Is this operator broken ? Why am I getting an internal api error and not a selector error ?
Thank you