How to accept Customer data terms using API?

339 views
Skip to first unread message

WTnetukaR

unread,
Aug 10, 2023, 1:33:30 AM8/10/23
to Google Ads API and AdWords API Forum

Xnip2023-08-10_13-32-55.jpg
How can we enable this using API?

Google Ads API and AdWords API Forum

unread,
Aug 11, 2023, 9:06:23 AM8/11/23
to Google Ads API and AdWords API Forum
Re-posting the last inquiry (https://groups.google.com/g/adwords-api/c/p1dpD928pAw) from the forum as it wasn't routed to our support queue.

Regards,
Google Ads API Team

Google Ads API and AdWords API Forum

unread,
Aug 11, 2023, 11:51:34 AM8/11/23
to Google Ads API and AdWords API Forum

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.id,

  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,

Google Ads API Team
On Thursday, August 10, 2023 at 1:33:30 PM UTC+8 WTnetukaR wrote:

WTnetukaR

unread,
Aug 13, 2023, 9:41:49 PM8/13/23
to Google Ads API and AdWords API Forum
Do you have a plan to add this feature in API?

Google Ads API and AdWords API Forum 在 2023年8月11日 星期五晚上11:51:34 [UTC+8] 的信中寫道:

Google Ads API Forum Advisor

unread,
Aug 14, 2023, 5:04:32 AM8/14/23
to adwor...@googlegroups.com

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.
 

This message is in relation to case "ref:_00D1U1174p._5004Q2nroKk:ref"

Thanks,
 
Google Logo Google Ads API Team


Reply all
Reply to author
Forward
0 new messages