Hello,
I am trying to retrieve data from Google ads by linking them to the service I am developing using node.js and react.
I have a question because an error occurred during development.
[summary]
- Remove the '-' from the Google ads account ID and enter only numbers like "xxxxxxxxxx".
- There is an mcc account in the environment variables.
- When I checked with the console, the customer ID appeared.
- After successful Google oauth2 authentication, entering the Google ads account ID and clicking the data import button, the error below occurs.
01)
[ { error_code: [Object], message: "Invalid customer ID 'undefined'." } ],
02)
AxiosError {message: 'Request failed with status code 500', name: 'AxiosError', code: 'ERR_BAD_RESPONSE', config: {… }, request: XMLHttpRequest, … } code : "ERR_BAD_RESPONSE" config : {transitional: {… }, adapter: Array(3), transformRequest: Array(1), transformResponse: Array(1), timeout: 0, … } message : "Request failed with status code 500" name : "AxiosError"
I don't know why.
Please let me know the problem and solution.
Thank you in advance.