INVALID MOBILE_ID FORMAT

412 views
Skip to first unread message

ci.wbd...@gmail.com

unread,
Apr 11, 2019, 8:03:12 AM4/11/19
to AdWords API and Google Ads API Forum
Hi Team,

      I am trying to upload Mobile_Adids into CRM based userlist maintained in Googleads account via mutatemembers API and it fails with error: INVALID MOBILE_ID FORMAT . I tried checking for few samples found from the below SOAP request trace(The list is huge and I cannot give out the MAIDS as well as we are bound by regulations) and they seem to work fine. I also did check whether they are all are hexadecimal characters separated by"-" and all the MAIDs in our list passed that test. So could you please help me out in understanding what kind of check is done from GoogleAds side before accepting an input MAID as valid MAID so that I can replicate the process in my code as well?

Kindly let me know the role of APP_ID field set in Mobile_AdvertisingID userlists. Like, can the APPid mentioned in userlist alone can use the userlist. Also what happens when I give IDFA and pass in GoogleADIds in the user list? will it still be considered as part of the list or ignored?

INFO] 2019-04-11 08:44:34,952 com.google.api.ads.adwords.lib.client.AdWordsServiceClient.soapXmlLogger - SOAP response:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Header>
            <requestId>0005863d316097bf0a7ebd8783029f2f</requestId>
            <serviceName>AdwordsUserListService</serviceName>
            <methodName>mutateMembers</methodName>
            <operations>1</operations>
            <responseTime>3480</responseTime>
        </ns2:ResponseHeader>
    </soap:Header>
    <soap:Body>
        <soap:Fault>
            <faultcode>soap:Client</faultcode>
            <faultstring>[MutateMembersError.INVALID_MOBILE_ID_FORMAT @ operations[0].operand.membersList[294861].mobileId]</faultstring>
            <detail>
                <ns2:ApiExceptionFault xmlns="https://adwords.google.com/api/adwords/cm/v201809" xmlns:ns2="https://adwords.google.com/api/adwords/rm/v201809">
                    <message>[MutateMembersError.INVALID_MOBILE_ID_FORMAT @ operations[0].operand.membersList[294861].mobileId]</message>
                    <ApplicationException.Type>ApiException</ApplicationException.Type>
                    <errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns2:MutateMembersError">
                        <fieldPath>operations[0].operand.membersList[294861].mobileId</fieldPath>
                        <fieldPathElements>
                            <field>operations</field>
                            <index>0</index>
                        </fieldPathElements>
                        <fieldPathElements>
                            <field>operand</field>
                        </fieldPathElements>
                        <fieldPathElements>
                            <field>membersList</field>
                            <index>294861</index>
                        </fieldPathElements>
                        <fieldPathElements>
                            <field>mobileId</field>
                        </fieldPathElements>
                        <trigger/>
                        <errorString>MutateMembersError.INVALID_MOBILE_ID_FORMAT</errorString>
                        <ApiError.Type>MutateMembersError</ApiError.Type>
                        <ns2:reason>UNKNOWN</ns2:reason>
                    </errors>
                </ns2:ApiExceptionFault>
            </detail>
        </soap:Fault>
    </soap:Body>
</soap:Envelope>

Thanks

googleadsapi...@google.com

unread,
Apr 11, 2019, 3:39:46 PM4/11/19
to ci.wbd...@gmail.com, AdWords API and Google Ads API Forum
Hello, 

You may use the AdWordsUserListService.mutateMembers() operation to upload the user list with Members to be mobile device IDs. Can you make sure that you specified the appId property and set uploadKeyType to MOBILE_ADVERTISING_ID prior to using a user list for customer matching with mobile device IDs. You will need to change the Member type to mobileId to add the mobile device IDs. The Mobile Id value has the general IDFA format that is: a hexadecimal number, for example: 6D92078A-8246-4BA4-AE5B-76104861E7DC. If you find that passing a valid mobileId in your request is failing, please let me know and we can troubleshoot it further.

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/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

ci.wbd...@gmail.com

unread,
Apr 12, 2019, 8:11:39 AM4/12/19
to AdWords API and Google Ads API Forum
Hi Bharani,

     I have set all the properties mentioned below and I investigated the issue further by splitting the input list of 0.3 million maids into 50k separate list and tried to upload the split list from my local machine to GoogleAds account instead of project EMR cluster and it worked fine for all the batches but when I tried the same from EMR cluster, it failed again with INVALID_MOBILE_ID_FORMAT issue. Could you please help me in understanding if this has to do with the jar configuration? We are using 201809 api version and could you please let me know the corresponding jar with versions to be used for seamless working.

Thanks,

googleadsapi...@google.com

unread,
Apr 12, 2019, 10:31:52 AM4/12/19
to ci.wbd...@gmail.com, AdWords API and Google Ads API Forum
Hello, 

I was able to test this on my end. Please find the attached sample logs as a reference. Could you please share the sample request that you're trying, to troubleshoot this?

Thanks,
Bharani, Google Ads API Team
Sample_Logs.rtf

ci.wbd...@gmail.com

unread,
Apr 13, 2019, 2:11:35 PM4/13/19
to AdWords API and Google Ads API Forum
Hi Bharani,

      Thanks for your support. I had a null string in between the list which was causing the issue. That's resolved now. However a new issue came up. The upload failed again with collectionsizeerror.TOO_FEW. I know the max list size that can be uploaded via mutate members api is 500000 which when crossed will throw TOO_MANY error. Could you please let me know the minimum count for upload?

    Also I came across partial failure option where instead of totally abandoning the SOAP request, correct entries will get committed and errors for failed ones would be returned. But I didnt see UserListService in the applicable APIs to enable this option. Could you please let me know whether my understanding is correct? 

Thanks.

googleadsapi...@google.com

unread,
Apr 15, 2019, 11:58:49 AM4/15/19
to ci.wbd...@gmail.com, AdWords API and Google Ads API Forum
Hello, 

The upload with will be successful even with a single member in the list. There is no specific minimum value for this. Please note that you will need to upload at least 5,000 members to the list to ensure that ads start serving. Could you please share the API SOAP logs where you're receiving the TOO_FEW error to troubleshoot this? You can share the details privately via Reply privately to author option.

That's right. The Partial failure is supported only for the services listed here. AdWordsUserListService does not support partial failures.

Regards,
Bharani, Google Ads API Team

googleadsapi...@google.com

unread,
Apr 16, 2019, 1:50:53 PM4/16/19
to ci.wbd...@gmail.com, AdWords API and Google Ads API Forum
Hello, 

Thank you for sharing the logs privately. The reason you are receiving the error: TOO_FEW is because there are 0 members in that list. Could you please add at least one member and perform the operation again?

Regards,
Bharani, Google Ads API Team
Reply all
Reply to author
Forward
0 new messages