Facing "request_error: UNKNOWN, The error code is not in this version" When Updating Campaign Budgets

114 views
Skip to first unread message

Jubin Jose

unread,
Aug 2, 2024, 3:50:51 AM8/2/24
to Google Ads API and AdWords API Forum
Hi,

I am encountering an issue while attempting to use the google.ads.googleads.v15.services.CampaignBudgetService/MutateCampaignBudgets method in the Google Ads API. 

Below are the details of the request and response.
Request
-------
MethodName: google.ads.googleads.v15.services.CampaignBudgetService/MutateCampaignBudgets
Endpoint: googleads.googleapis.com:443
Headers: {developer-token=XXXX, login-customer-id=8058XXXX, x-goog-api-client=gl-java/1.8.0_144 gccl/0.0.0 gapic/ gax/2.32.0 grpc/}
Body: customer_id: "79XXXX"
operations {
  update {
    resource_name: "customers/79XXXX/campaignBudgets/13691850646"
    amount_micros: 46670000
  }
  update_mask {
    paths: "resource_name"
    paths: "amount_micros"
  }
}
operations {
  update {
    resource_name: "customers/79XXXX/campaignBudgets/13691850649"
    amount_micros: 65710000
  }
  update_mask {
    paths: "resource_name"
    paths: "amount_micros"
  }
}
partial_failure: true


Response
--------
Headers: Metadata(content-type=application/grpc,request-id=XdKVa2pf9kYdhizItascrQ,date=Thu, 01 Aug 2024 10:33:28 GMT,alt-svc=h3=":443"; ma=2592000,h3-29=":443"; ma=2592000)
Body: null
Failure message: errors {
  error_code {
    request_error: UNKNOWN
  }
  message: "The error code is not in this version."
}
errors {
  error_code {
    request_error: UNKNOWN
  }
  message: "The error code is not in this version."
  trigger {
    string_value: "userId=12XXXX customerId=79XXXX entity=Budget action=UPDATE"
  }
  location {
    field_path_elements {
      field_name: "operations"
      index: 0
    }
  }
}
errors {
  error_code {
    request_error: UNKNOWN
  }
  message: "The error code is not in this version."
  trigger {
    string_value: "userId=1249XXX customerId=79XXXX entity=Budget action=UPDATE"
  }
  location {
    field_path_elements {
      field_name: "operations"
      index: 1
    }
  }
}
request_id: "XdKVa2pf9kYdhizItascrQ"

I am receiving an UNKNOWN error code with the message "The error code is not in this version" for each operation in the MutateCampaignBudgets method. The error details do not provide sufficient information to diagnose the issue.

Could you please help identify the cause of this error and provide guidance on resolving it? Any additional information on what might be causing the UNKNOWN error code would be appreciated.

Many Thanks,
Jubin

Google Ads API Forum Advisor

unread,
Aug 2, 2024, 9:35:51 AM8/2/24
to jubin.ad...@gmail.com, adwor...@googlegroups.com

Hi,

Thank you for reaching out to the Google Ads API support team.

We tried to replicate your issue from our side, but we were able to update the campaign budget successfully without any errors. So to do the further checks, kindly provide the complete API logs, like how you sent them in the last interaction, but now without hiding any details (as you marked ID as 'X'), so that we can check from our end your account and try to find the root cause of the issue. 

You can send the details via the Reply privately to the author option or a direct private reply to this email.

This message is in relation to case "ref:!00D1U01174p.!5004Q02vERDp:ref" (ADR-00260631)

Thanks,

 
Google Logo Google Ads API Team

Register for the upcoming workshop: Performance Max and the Google Ads API!
 


Reply all
Reply to author
Forward
0 new messages