Im trying using adwords api to add  CallFeedItem via 
CampaignExtensionSettingService, 
but it failed with a PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY error.
With same phone number, there's no problem when i use Dashboard or Adwords 
Editor.

I tried to find documentation about this rule but not found anything.
Can you help me to explain what i did wrong and how to fix it? 

Thank you.

here is my SOAP request and response. (i hide phone number)

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance";>
    <soapenv:Header>
        <ns1:RequestHeader xmlns:ns1=
"https://adwords.google.com/api/adwords/cm/v201809"; soapenv:mustUnderstand=
"0">
        </ns1:RequestHeader>
    </soapenv:Header>
    <soapenv:Body>
        <mutate xmlns="https://adwords.google.com/api/adwords/cm/v201809";>
            <operations>
                <operator>ADD</operator>
                <operand>
                    <campaignId>xxxxxxxxx</campaignId>
                    <extensionType>CALL</extensionType>
                    <extensionSetting>
                        <extensions xmlns:ns2=
"https://adwords.google.com/api/adwords/cm/v201809"; xsi:type=
"ns2:CallFeedItem">
                            <ns2:callPhoneNumber>120-566-xxxx
</ns2:callPhoneNumber>
                            <ns2:callCountryCode>JP</ns2:callCountryCode>
                        </extensions>
                    </extensionSetting>
                </operand>
            </operations>
        </mutate>
    </soapenv:Body>
</soapenv:Envelope>

<?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";>
        </ResponseHeader>
    </soap:Header>
    <soap:Body>
        <soap:Fault>
            <faultcode>soap:Client</faultcode>
            
<faultstring>[ExtensionSettingError.PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY 
@ 
operations[0].operand.extensionSetting.extensions[0].callPhoneNumber]</faultstring>
            <detail>
                <ApiExceptionFault 
xmlns="https://adwords.google.com/api/adwords/cm/v201809";>
                    
<message>[ExtensionSettingError.PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY @ 
operations[0].operand.extensionSetting.extensions[0].callPhoneNumber]</message>
                    
<ApplicationException.Type>ApiException</ApplicationException.Type>
                    <errors 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="ExtensionSettingError">
                        
<fieldPath>operations[0].operand.extensionSetting.extensions[0].callPhoneNumber</fieldPath>
                        <fieldPathElements>
                            <field>operations</field>
                            <index>0</index>
                        </fieldPathElements>
                        <fieldPathElements>
                            <field>operand</field>
                        </fieldPathElements>
                        <fieldPathElements>
                            <field>extensionSetting</field>
                        </fieldPathElements>
                        <fieldPathElements>
                            <field>extensions</field>
                            <index>0</index>
                        </fieldPathElements>
                        <fieldPathElements>
                            <field>callPhoneNumber</field>
                        </fieldPathElements>
                        <trigger/>
                        
<errorString>ExtensionSettingError.PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY</errorString>
                        <ApiError.Type>ExtensionSettingError</ApiError.Type>
                        
<reason>PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY</reason>
                    </errors>
                </ApiExceptionFault>
            </detail>
        </soap:Fault>
    </soap:Body>
</soap:Envelope>






-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/e9743a01-d79c-4cf4-b289-429258c41c80%40googlegroups.com.

Reply via email to