"Request contains an invalid argument" with UNKNOWN requestError

1,270 views
Skip to first unread message

guofu Zhong

unread,
Dec 11, 2019, 3:40:23 AM12/11/19
to AdWords API and Google Ads API Forum
Hi team,

we are using API "Google.Ads.GoogleAds.V1.Services.ExtensionFeedItemServiceClient.MutateExtensionFeedItemsAsync" to crreate the CallExtension for Customer id 5698641415.
the request payload is  Arguments:{"Item1":"5698641415","Item2":[{"Create":{"ResourceName":"","ExtensionType":0,"AdSchedules":[],"Device":0,"Status":0,"ExtensionCase":0,"ServingResourceTargetingCase":0},"Remove":"","OperationCase":1}]}

as below function parameter.
Item1 = customerId, Item2 = operations, validateOnly = null,callSettings = null
extensionFeedItemService.MutateExtensionFeedItemsAsync(customerId, operations, validateOnly, callSettings);

the returned result:

Raw Exception: {
  "StatusCode": 3,
  "Details": "Request contains an invalid argument.",
  "RequestId": "evkQLq5_8buAOPmLcT8LKA",
  "Failure": {
    "errors": [
      {
        "errorCode": {
          "requestError": "UNKNOWN"
        },
        "message": "The error code is not in this version.",
        "trigger": {
          "stringValue": ""
        },
        "location": {
          "fieldPathElements": [
            {
              "fieldName": "operations",
              "index": "0"
            }
          ]
        }
      }
    Could you help me take a look the root cause?
Thanks,
Guofu

Google Ads API Forum Advisor Prod

unread,
Dec 11, 2019, 8:36:08 PM12/11/19
to msgu...@gmail.com, adwor...@googlegroups.com

Hello,

Thank you for writing to us. From the shared details, it looks like you are trying to create a call_feed_item using ExtensionFeedItemService via Google Ads API and facing this error. Also, I observed you have specified the resource name in your request which is not required while creating the new extension feed item. I was successfully able to create the call extension feed on my end and have attached the logs for your reference. Could you please retry the request by referencing the logs and upgrading to the latest version of Google Ads API from the client libraries here to make the API calls? Here is the guide to migrate from v1 to v2. If the issue persists, could you please share the complete request and response logs along with the client customer id for me to investigate this further on my end?

P.S. Please use Reply privately to author option while sharing the details.

Regards,
Nikisha Patel, Google Ads API Team



ref:_00D1U1174p._5001UOEHd8:ref
logs_call_feed_item
Reply all
Reply to author
Forward
0 new messages