none
Bing ads api InvalidLocationId error for Italy and Japan.

    Question

  • Hi, 

    I am using Bing Ads PHP API and its working very good for USA, UK and Canada but for Italy and japan its showing error like 

    for Italy 

    <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body><s:Fault><faultcode>s:Server</faultcode><faultstring xml:lang="en-US">Invalid client data. Check the SOAP fault details for more information</faultstring><detail><ApiFaultDetail xmlns="Microsoft.Advertiser.AdInsight.Api.Service.V11" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><TrackingId xmlns="https://adapi.microsoft.com">0caff7d6-ad89-477e-963b-3dc8950bf12e</TrackingId><BatchErrors xmlns:a="https://bingads.microsoft.com/AdInsight/v11"/><OperationErrors xmlns:a="https://bingads.microsoft.com/AdInsight/v11"><a:OperationError><a:Code>622</a:Code><a:Details>LocationId: 93 is not supported. </a:Details><a:ErrorCode>InvalidLocationId</a:ErrorCode><a:Message>The location id is invalid.</a:Message></a:OperationError></OperationErrors></ApiFaultDetail></detail></s:Fault></s:Body></s:Envelope>

    The operation failed with the following faults:

    OperationError

    Code: 622

    Error Code: InvalidLocationId

    Message: The location id is invalid.

    But in Geolocation file provided by bing have 93 as location ID. and i getting same error for  Japan for location Id 96.

    Please help

    thanks

    Wednesday, January 03, 2018 7:48 AM

All replies

  • Hi Chetan,

    From your response XML, it seems like you are calling AdInsight API v11. Can you please provide more details on which service operation you are calling? Alternatively, if you can provide the full request XML, that would be better.

    Thanks,

    Sabeshan Iyer

    Thursday, January 04, 2018 12:49 AM
  • Hello.

    If you are using GetKeywordIdeas, per the LocationCriterion doc: "Currently this feature is available in the United States, United Kingdom, Canada, Australia, France, and Germany." BTW this is also in parity with the Bing Ads web Keyword Planner tool.

    I hope this helps!

    Eric

    Monday, January 08, 2018 8:34 PM
    Moderator