Hi,
Thank you for reaching out to the Google Ads API support team.
After reviewing your concern, I understand that you are trying to make a call to Google Ads API to generate the refresh token but getting an error "unrecognized arguments" while adding the scope flag.
I would recommend you to check this
guide to make sure that you have followed all the steps to fetch a refresh token.
All Google Ads API calls must be authorized through OAuth2. OAuth2 enables your Google Ads API client app to access a user's Google Ads account without having to handle or store the user's login info. To know more about the steps that must be completed to authorize requests to the Google Ads API, I would suggest you refer to this
guide.
If the issue still persists, please provide us with the complete API logs (
request and
response with
request-id and
request header) generated at your end so that we can better assist you.
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.
This message is in relation to case "ref:_00D1U1174p._5004Q2olRy2:ref"
Thanks,
 |
Google Ads API Team |
