How to set mobile carrier to MobileAd ?

58 views
Skip to first unread message

照沼領

unread,
Sep 9, 2014, 4:23:02 AM9/9/14
to adwor...@googlegroups.com
Hi .

I want to set "Softbank@JP" to mobile carrier value of MobileAd .

But, Current "AdgroupAdService@add" response is this.

<fieldPath>operations[1].operand.ad.mobileCarriers</fieldPath>
<trigger>SoftBank@JP</trigger>
<errorString>AdError.INVALID_MOBILE_CARRIER</errorString>
<ApiError.Type>AdError</ApiError.Type>
<reason>INVALID_MOBILE_CARRIER</reason>

In this page , "Softbank@JP" is seems to correct.

https://developers.google.com/adwords/api/docs/appendix/mobilecarriers?hl=en

And other JP's values could add mobile carrier of MobileAd.

How can add "Softbank" to mobile carrier value of MobidleAd ?

Best regards.

Anash P. Oommen (AdWords API Team)

unread,
Sep 9, 2014, 9:02:02 AM9/9/14
to adwor...@googlegroups.com
Hi,

Could you please provide a requestId for the failed request? It is part of the response SOAP header.

Cheers,
Anash P. Oommen,
AdWords API Advisor.
Message has been deleted
Message has been deleted

照沼領

unread,
Sep 9, 2014, 10:18:06 PM9/9/14
to adwor...@googlegroups.com
Hi,

Thank you for comment.

This is soap request id.  <requestId>000502ac5deb2bc80a4301ef8f0001dc</requestId>

And I attach soap xml. (partial change)


Request

<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 soapenv:mustUnderstand="0"
            xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201402">
            <ns1:clientCustomerId> xxxxxxxxxxxxxxx </ns1:clientCustomerId>
            <ns1:developerToken> xxxxxxxxxxxxxxxxx </ns1:developerToken>
            <ns1:userAgent> xxxxxxxxxxxx </ns1:userAgent>
            <ns1:validateOnly>false</ns1:validateOnly>
            <ns1:partialFailure>true</ns1:partialFailure>
        </ns1:RequestHeader>
    </soapenv:Header>
    <soapenv:Body>
        <mutate
            xmlns="https://adwords.google.com/api/adwords/cm/v201402">
            <operations>
                <operator>ADD</operator>
                <operand>
                    <adGroupId> adgroup id </adGroupId>
                    <ad xsi:type="ns2:MobileAd"
                        xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201402">
                        <ns2:url>http://www.dummy.co.jp/</ns2:url>
                        <ns2:displayUrl>dummy.co.jp</ns2:displayUrl>
                        <ns2:headline>&#x30BF;&#x30A4;&#x30C8;&#x30EB;3</ns2:headline>
                        <ns2:description>&#x8AAC;&#x660E;&#x5206;3</ns2:description>
                        <ns2:markupLanguages>CHTML</ns2:markupLanguages>
                        <ns2:mobileCarriers>NTT DoCoMo@JP</ns2:mobileCarriers>
                        <ns2:mobileCarriers>SoftBank@JP</ns2:mobileCarriers>
                    </ad>
                    <status>PAUSED</status>
                </operand>
            </operations>
            <operations>
                <operator>ADD</operator>
                <operand>
                    <adGroupId> adgroup id </adGroupId>
                    <ad xsi:type="ns3:MobileAd"
                        xmlns:ns3="https://adwords.google.com/api/adwords/cm/v201402">
                        <ns3:url>http://www.dummy.co.jp/</ns3:url>
                        <ns3:displayUrl>dummy.co.jp</ns3:displayUrl>
                        <ns3:headline>&#x30BF;&#x30A4;&#x30C8;&#x30EB;2</ns3:headline>
                        <ns3:description>&#x8AAC;&#x660E;&#x5206;3</ns3:description>
                        <ns3:markupLanguages>CHTML</ns3:markupLanguages>
                        <ns3:mobileCarriers>SoftBank@JP</ns3:mobileCarriers>
                    </ad>
                    <status>PAUSED</status>
                </operand>
            </operations>
            <operations>
                <operator>ADD</operator>
                <operand>
                    <adGroupId> adgroup id </adGroupId>
                    <ad xsi:type="ns4:MobileAd"
                        xmlns:ns4="https://adwords.google.com/api/adwords/cm/v201402">
                        <ns4:url>http://www.dummy.co.jp/</ns4:url>
                        <ns4:displayUrl>dummy.co.jp</ns4:displayUrl>
                        <ns4:headline>&#x30BF;&#x30A4;&#x30C8;&#x30EB;1</ns4:headline>
                        <ns4:description>&#x8AAC;&#x660E;&#x5206;1</ns4:description>
                        <ns4:markupLanguages>CHTML</ns4:markupLanguages>
                        <ns4:mobileCarriers>NTT DoCoMo@JP</ns4:mobileCarriers>
                        <ns4:mobileCarriers>KDDI/au@JP</ns4:mobileCarriers>
                    </ad>
                    <status>PAUSED</status>
                </operand>
            </operations>
        </mutate>
    </soapenv:Body>
</soapenv:Envelope>

Response

<soap:Envelope
    xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Header>
        <ResponseHeader
            xmlns="https://adwords.google.com/api/adwords/cm/v201402">
            <requestId>000502ac5deb2bc80a4301ef8f0001dc</requestId>
            <serviceName>AdGroupAdService</serviceName>
            <methodName>mutate</methodName>
            <operations>0</operations>
            <responseTime>1846</responseTime>
        </ResponseHeader>
    </soap:Header>
    <soap:Body>
        <mutateResponse
            xmlns="https://adwords.google.com/api/adwords/cm/v201402">
            <rval>
                <ListReturnValue.Type>AdGroupAdReturnValue</ListReturnValue.Type>
                <value/>
                <value/>
                <value>
                    <adGroupId> adgroup id </adGroupId>
                    <ad xsi:type="MobileAd"
                        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                        <id>57460040708</id>
                        <url>http://www.dummy.co.jp/</url>
                        <displayUrl>dummy.co.jp</displayUrl>
                        <Ad.Type>MobileAd</Ad.Type>
                        <headline>&#x30BF;&#x30A4;&#x30C8;&#x30EB;1</headline>
                        <description>&#x8AAC;&#x660E;&#x5206;1</description>
                        <markupLanguages>CHTML</markupLanguages>
                        <mobileCarriers>NTT DoCoMo@JP</mobileCarriers>
                        <mobileCarriers>KDDI/au@JP</mobileCarriers>
                    </ad>
                    <status>PAUSED</status>
                    <approvalStatus>UNCHECKED</approvalStatus>
                </value>
                <partialFailureErrors xsi:type="AdError"
                    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                    <fieldPath>operations[0].operand.ad.mobileCarriers</fieldPath>

                    <trigger>SoftBank@JP</trigger>
                    <errorString>AdError.INVALID_MOBILE_CARRIER</errorString>
                    <ApiError.Type>AdError</ApiError.Type>
                    <reason>INVALID_MOBILE_CARRIER</reason>
                </partialFailureErrors>
                <partialFailureErrors xsi:type="AdError"
                    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

                    <fieldPath>operations[1].operand.ad.mobileCarriers</fieldPath>
                    <trigger>SoftBank@JP</trigger>
                    <errorString>AdError.INVALID_MOBILE_CARRIER</errorString>
                    <ApiError.Type>AdError</ApiError.Type>
                    <reason>INVALID_MOBILE_CARRIER</reason>
                </partialFailureErrors>
            </rval>
        </mutateResponse>
    </soap:Body>
</soap:Envelope>

Best.

2014年9月9日火曜日 22時02分02秒 UTC+9 Anash P. Oommen (AdWords API Team):

Anash P. Oommen (AdWords API Team)

unread,
Sep 10, 2014, 11:17:27 AM9/10/14
to adwor...@googlegroups.com
Hi,

Thanks for sharing the logs, I have asked the API team to investigate further. I'll keep you updated.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

Anash P. Oommen (AdWords API Team)

unread,
Sep 22, 2014, 2:35:39 PM9/22/14
to adwor...@googlegroups.com
Hi,

The error you were getting was due to an outdated documentation page, which we have updated now. Softbank@JP is no longer supported as a mobile carrier.

Cheers,
Anash

照沼領

unread,
Sep 29, 2014, 5:21:58 AM9/29/14
to adwor...@googlegroups.com
Thank you for comment.

I could confirmed it and very helpfull.

best.

2014年9月23日火曜日 3時35分39秒 UTC+9 Anash P. Oommen (AdWords API Team):
Reply all
Reply to author
Forward
0 new messages