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.&lt;init&gt;(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.&lt;init&gt;(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

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [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 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/cf5f2b57-f912-4bdd-965e-69d015504933%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • CONTAINS_ANY No... Anthony Denaud
    • Re: CONTAI... 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum

Reply via email to