Unable to catch Google\ApiCore\ApiException

102 views
Skip to first unread message

Rohit

unread,
Jul 8, 2024, 4:38:27 AM7/8/24
to Google Ads API and AdWords API Forum
Hi team, would you kindly let me know regarding the below exception response. We have been using this service for a while and have not come across this issue before.

Uncaught Google\ApiCore\ApiException: {
"message": "Request contains an invalid argument.",
"code": 3,
"status": "INVALID_ARGUMENT",
"details": [
{
"@type": "google.ads.googleads.v16.errors.googleadsfailure-bin",
"data": "<Unknown Binary Data>"
},
{
"@type": "grpc-status-details-bin",
"data": "<Unknown Binary Data>"
},
{
"@type": "request-id",
"data": "n4x4z9Yslsu3BQ0iFy3QFQ"
}
]
}

Hoping you can help me based on the request-id.

Kind Regards,
Rohit

Google Ads API Forum Advisor

unread,
Jul 8, 2024, 10:49:57 AM7/8/24
to rohit....@gmail.com, adwor...@googlegroups.com
Hi,

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

From the provided logs, I understand that you are encountering the 'invalid_argument' error. Also, I could see you have provided only response logs are not sufficient to investigate the issue further, In order to assist you further, kindly provide us with the complete API logs (request with request-id and request header) generated at your end and uncropped UI screenshot of the Google Ads account where you are facing the issue.

If you are using a client library and haven't enabled the logging yet, I would request you to enable logging for the specific client library that you are using. You can refer to the guides Java, .Net, PHP, Python, Ruby or Perl to enable logging at your end. For REST interface requests, you can enable logging via the curl command by using the -i flag.

You can send the details via Reply privately to the author option, or direct private reply to this email.
 
This message is in relation to case "ref:!00D1U01174p.!5004Q02tJlHj:ref" (ADR-00245491)

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