Hi,
Thank you for reaching out to the Google Ads API support team.
As per the code sample provided, I could see that you are using
v17 which is deprecated on October 16, 2024 and sunset on June 4, 2025. Could you provide us with the complete API logs (
request and
response with
request-id and
request header) generated at your end of where you are seeing the 'Requests to this version will be blocked'.
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.
Also, I would recommend you to upgrade to
v18, the latest version of the Google Ads API which enables you to use the new features introduced in each release and you may follow this link to
Upgrade to the latest version.
