ConversionService RequestError.UNKNOWN

77 views
Skip to first unread message

xuantoi....@gmail.com

unread,
Apr 1, 2019, 10:36:21 AM4/1/19
to AdWords API and Google Ads API Forum
Hi,

Iam getting RequestError.UNKNOWN when try to create conversion :

here is soap: 
    <soapenv:Header>
        <ns1:RequestHeader xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201809" soapenv:mustUnderstand="0">
            <ns1:clientCustomerId>xxxxxxxxx</ns1:clientCustomerId>
            <ns1:developerToken>REDACTED</ns1:developerToken>
            <ns1:userAgent>Knorex-adwords (AwApi-Java, AdWords-Axis/4.1.0, Common-Java/4.1.0, Axis/1.4, Java/1.8.0_171, maven)</ns1:userAgent>
            <ns1:validateOnly>true</ns1:validateOnly>
            <ns1:partialFailure>false</ns1:partialFailure>
        </ns1:RequestHeader>
    </soapenv:Header>
    <soapenv:Body>
            <operations>
                <operator>ADD</operator>
                <operand xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201809" xsi:type="ns2:AdWordsConversionTracker">
                    <ns2:name>Alamo Toyota - General Conversion</ns2:name>
                    <ns2:status>ENABLED</ns2:status>
                    <ns2:category>DEFAULT</ns2:category>
                    <ns2:conversionTypeOwnerCustomerId>xxxxxxxx</ns2:conversionTypeOwnerCustomerId>
                    <ns2:viewthroughLookbackWindow>30</ns2:viewthroughLookbackWindow>
                    <ns2:ctcLookbackWindow>30</ns2:ctcLookbackWindow>
                    <ns2:defaultRevenueValue>1.0</ns2:defaultRevenueValue>
                    <ns2:defaultRevenueCurrencyCode>USD</ns2:defaultRevenueCurrencyCode>
                    <ns2:alwaysUseDefaultRevenueValue>true</ns2:alwaysUseDefaultRevenueValue>
                    <ns2:ConversionTracker.Type>AdWordsConversionTracker</ns2:ConversionTracker.Type>
                </operand>
            </operations>
        </mutate>
    </soapenv:Body>
</soapenv:Envelope>

2019-04-01 21:19:05.782  INFO 1952 --- [  XNIO-2 task-1] c.g.a.a.a.l.c.A.soapXmlLogger            : SOAP response:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Header>
        <ResponseHeader xmlns="https://adwords.google.com/api/adwords/cm/v201809">
            <requestId>00058578b3eefccd0a627e0c430494a6</requestId>
            <serviceName>ConversionTrackerService</serviceName>
            <methodName>mutate</methodName>
            <operations>0</operations>
            <responseTime>148</responseTime>
        </ResponseHeader>
    </soap:Header>
    <soap:Body>
        <soap:Fault>
            <faultcode>soap:Client</faultcode>
            <faultstring>[RequestError.UNKNOWN @ operations[0]]</faultstring>
            <detail>
                <ApiExceptionFault xmlns="https://adwords.google.com/api/adwords/cm/v201809">
                    <message>[RequestError.UNKNOWN @ operations[0]]</message>
                    <ApplicationException.Type>ApiException</ApplicationException.Type>
                    <errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="RequestError">
                        <fieldPath>operations[0]</fieldPath>
                        <fieldPathElements>
                            <field>operations</field>
                            <index>0</index>
                        </fieldPathElements>
                        <trigger/>
                        <errorString>RequestError.UNKNOWN</errorString>
                        <ApiError.Type>RequestError</ApiError.Type>
                        <reason>UNKNOWN</reason>
                    </errors>
                </ApiExceptionFault>
            </detail>
        </soap:Fault>
    </soap:Body>
</soap:Envelope>

Can anyone help?

Thank you.

googleadsapi...@google.com

unread,
Apr 1, 2019, 4:09:36 PM4/1/19
to AdWords API and Google Ads API Forum
Hello, 

Could you please share the client account CID using the Reply privately to author option? 

Thanks,
Bharani, Google Ads API Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    https://ads-developers.googleblog.com/search/label/google_ads_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

googleadsapi...@google.com

unread,
Apr 12, 2019, 12:23:04 AM4/12/19
to AdWords API and Google Ads API Forum
Hello,

It turns out that you have set the conversionTypeOwnerCustomerId field, which is a read-only field.
That's why your request couldn't get through.

Could you please remove that field and send your request again?

Cheers,
Thanet, Google Ads API Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    https://ads-developers.googleblog.com/search/label/google_ads_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Was your question answered? Please rate your experience with us by taking a short survey.
If not -- reply to this email and tell us what else we can do to help.

Take Survey

Also find us on our blog and discussion group:

xuantoi....@gmail.com

unread,
Apr 23, 2019, 3:12:25 AM4/23/19
to AdWords API and Google Ads API Forum
Hi Thanet,

I remove field conversionTypeOwnerCustomerId from request but still get error RequestError.UNKNOWN

googleadsapi...@google.com

unread,
Apr 23, 2019, 3:21:43 AM4/23/19
to xuantoi....@gmail.com, AdWords API and Google Ads API Forum
Could you please also attach the most recent SOAP logs too?
Thank you.

Best,
Thanet, Google Ads API Team
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    https://ads-developers.googleblog.com/search/label/google_ads_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscribe@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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscribe@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/9597ce57-153c-4d5a-bcbb-f38c97897f00%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

xuantoi....@gmail.com

unread,
Apr 24, 2019, 5:24:10 AM4/24/19
to AdWords API and Google Ads API Forum
Hi 
Here is soap resquest and response :

2019-04-24 16:22:06.722  INFO 7533 --- [  XNIO-2 task-1] c.g.a.a.a.l.c.A.soapXmlLogger            : SOAP request:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <soapenv:Header>
        <ns1:RequestHeader xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201809" soapenv:mustUnderstand="0">
            <ns1:clientCustomerId>xxxxxxxxx</ns1:clientCustomerId>
            <ns1:developerToken>REDACTED</ns1:developerToken>
            <ns1:userAgent>Knorex-adwords (AwApi-Java, AdWords-Axis/4.1.0, Common-Java/4.1.0, Axis/1.4, Java/1.8.0_201, maven)</ns1:userAgent>
            <ns1:validateOnly>false</ns1:validateOnly>
            <ns1:partialFailure>false</ns1:partialFailure>
        </ns1:RequestHeader>
    </soapenv:Header>
    <soapenv:Body>
            <operations>
                <operator>ADD</operator>
                <operand xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201809" xsi:type="ns2:AdWordsConversionTracker">
                    <ns2:name>martin - test 2</ns2:name>
                    <ns2:status>ENABLED</ns2:status>
                    <ns2:category>DEFAULT</ns2:category>
                    <ns2:viewthroughLookbackWindow>30</ns2:viewthroughLookbackWindow>
                    <ns2:ctcLookbackWindow>30</ns2:ctcLookbackWindow>
                    <ns2:defaultRevenueValue>1.0</ns2:defaultRevenueValue>
                    <ns2:defaultRevenueCurrencyCode>USD</ns2:defaultRevenueCurrencyCode>
                    <ns2:alwaysUseDefaultRevenueValue>true</ns2:alwaysUseDefaultRevenueValue>
                    <ns2:ConversionTracker.Type>AdWordsConversionTracker</ns2:ConversionTracker.Type>
                </operand>
            </operations>
        </mutate>
    </soapenv:Body>
</soapenv:Envelope>

2019-04-24 16:22:06.723  INFO 7533 --- [  XNIO-2 task-1] c.g.a.a.a.l.c.A.soapXmlLogger            : SOAP response:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Header>
        <ResponseHeader xmlns="https://adwords.google.com/api/adwords/cm/v201809">
            <requestId>000587433c342c740aa797b77c0c3b2d</requestId>
            <serviceName>ConversionTrackerService</serviceName>
            <methodName>mutate</methodName>
            <operations>1</operations>
            <responseTime>244</responseTime>
On Tuesday, April 23, 2019 at 2:21:43 PM UTC+7, googleadsapi-forumadvisor wrote:
Could you please also attach the most recent SOAP logs too?
Thank you.

Best,
Thanet, Google Ads API Team
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    https://ads-developers.googleblog.com/search/label/google_ads_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

xuantoi....@gmail.com

unread,
May 5, 2019, 10:53:45 PM5/5/19
to AdWords API and Google Ads API Forum
Hi Thanet,

Is any new update ?

googleadsapi...@google.com

unread,
May 6, 2019, 10:16:04 AM5/6/19
to xuantoi....@gmail.com, AdWords API and Google Ads API Forum
Hello,

Thanet is out of office at the moment, so I'm picking this up for him right now.

We finally figured out what's going on here. For each account, there's a limitation that there cannot be more than 1000 active conversion types. This account has over that amount already, so an error will be thrown when a new active conversion type is added. It's very rare to have so many conversion types, which is why this error didn't easily pop up. We were curious as to what use case required so many per account that were active. If you don't mind sharing, that would help us in the future. In the meantime, you would need to remove some conversion types in order to add new ones to stay under that limit. 

Best,
Nadine Sundquist, Google Ads API Team
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    https://ads-developers.googleblog.com/search/label/google_ads_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscribe@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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
Reply all
Reply to author
Forward
0 new messages