
Hi,
Thanks for reaching out to the Google Ads API Forum. I hope you are doing well today.
With regards to your concern, could you please confirm to us that you want to implement is the “Upload Enhanced Conversions for Leads” (https://developers.google.com/google-ads/api/docs/conversions/upload-identifiers)? If so, based on our Google Ads API documentation “Setup” (https://developers.google.com/google-ads/api/docs/conversions/upload-identifiers#setup), you must need to complete the following steps.
Confirm that you have accepted the customer data terms (https://support.google.com/adspolicy/answer/7475709) in the effective conversion account (https://developers.google.com/google-ads/api/docs/conversions/overview#effective_conversion_account) and the account you'll be specifying with the customer_id of your request. Also confirm that you have opted-in the effective conversion account for enhanced conversions for leads.
You can use the Google Ads UI for these checks, but if you'd prefer to use the Google Ads API, retrieve the conversion_tracking_setting of your accounts using the searchStream or search method of GoogleAdsService and the following query:
SELECT
customer.conversion_tracking_setting.accepted_customer_data_terms,
customer.conversion_tracking_setting.enhanced_conversions_for_leads_enabled
FROM customer
Then verify that both accepted_customer_data_terms (https://developers.google.com/google-ads/api/reference/rpc/v14/ConversionTrackingSetting#accepted_customer_data_terms) and enhanced_conversions_for_leads_enabled (https://developers.google.com/google-ads/api/reference/rpc/v14/ConversionTrackingSetting#enhanced_conversions_for_leads_enabled) are true.
Configure Google Tag Manager or the Google tag using the steps outlined in the Google Ads help center (https://support.google.com/google-ads/answer/9888656#leads).
As mentioned from above guidelines, customer data terms must be done via Google ads UI (not available in API), but can also retrieve the information using Google Ads API.
Have a great day.
Regards,
Hi,
I am afraid that it is currently not possible to accept the terms of service using API when first time creating lead form extension. However, we have already raised a feature request for this, subject for review. For the meantime, you can monitor our blog to receive updates and new releases.
![]() |
Google Ads API Team |