{
"message": "Request contains an invalid argument.",
"code": 3,
"status": "INVALID_ARGUMENT",
"details": [
{
"@type": "google.ads.googleads.v8.errors.googleadsfailure-bin",
"data": "<Unknown Binary Data>"
},
{
"@type": "grpc-status-details-bin",
"data": "<Unknown Binary Data>"
},
{
"@type": "request-id",
"data": "17PPRUpbUluJ4aEbH9X86A"
}
]
}
However from what I can see I am sending valid data.
(1) How can I see what data is causing this issue?
(2) How can I automatically recover from an issue like this? For example, is there a way I can simply "reset" the IP Exclusions List for a campaign so it is blank and I can start over? Note I don't want to manually do this (log into the Google Ads account and manually delete the IPs), I should be able to do it using code.
I am using the PHP library.
Thanks for your help.
Hello Stiofán,
Thanks for reaching out to the Google Ads API support team.
For us to investigate, could you please provide us with the complete request and response logs with the request-id and request header generated on your end, so our team can better check the root cause of the error? Please send the requested details via the Reply privately to the author option. If this option is not available, you may send the details directly to us googleadsapi-support@google.com alias instead.
For the client library, logging can be enabled by navigating to the Client libraries > Your client library (ex. PHP) > Logging documentation, which you can access from this link.
Best regards,
![]() |
|