Hi Bugra,
Thank you for reaching out to the Google Ads API support team.
Based on the information provided, I understand that you are encountering the "
INVALID_CUSTOMER_ID" error. Kindly note that this error occurs when you pass the invalid customer ID while making the API request. So kindly make sure you pass the correct customer ID without hyphens (-) in your API request. Also, as per the provided GAQL I could see that you are using some fields which are not supported in the
campaign resource. I would recommend you to refer to this documentation to know more about the
Fields/Segments/Metrics that can be used with the campaign resource.
If you still face any issues, in order to investigate your issue further, kindly provide us with the complete API logs (
request and
response logs with
request-id and
request header) generated at your end to better assist you further.
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 guide
PHP 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.
