INVALID_CUSTOMER_ID when calling the Ads API

46 views
Skip to first unread message

Sonia GM

unread,
May 15, 2024, 11:39:27 AM5/15/24
to Google Ads API and AdWords API Forum
Hi,

I'm implementing a call to the Ads API using PHP and I was getting the `INVALID_CUSTOMER_ID` error. I fixed it by sending the customer id without hyphens. 
But now I'm getting another error:
``Partial failures occurred: 'Make sure you've turned on enhanced conversions for leads in conversion settings and try again. '`
I have the enhanced conversions activated.

Any help would be appreciated.
Thanks

qqqqqq.png

Google Ads API Forum Advisor

unread,
May 16, 2024, 12:38:01 AM5/16/24
to garma...@gmail.com, adwor...@googlegroups.com

Hi,

Thank you for contacting the Google Ads API support team.

Upon checking your concern, I understand that you are getting a CUSTOMER_NOT_ENABLED_ENHANCED_CONVERSIONS_FOR_LEADS error. The error message indicates that you haven't enabled Enhanced Conversions for leads in your Google Ads account settings. You can check your setting by querying conversion_tracking_setting.enhanced_conversions_for_leads_enabled on Customer. Find instructions for this in the prerequisites guide.

Kindly note that before enhancing conversion for leads, please check the prerequisites documentation to know the prerequisites that should be satisfied before proceeding with the implementation. Also, refer to the Troubleshoot Enhanced Conversions for Leads guide; it will help you to know all common errors and troubleshooting steps. I hope this clarifies. 

 

This message is in relation to case "ref:!00D1U01174p.!5004Q02tIzMj:ref" (ADR-00235169)

Thanks,
 
Google Logo Google Ads API Team


Reply all
Reply to author
Forward
0 new messages