Opteo / google-ads-api

Google Ads API client library for Node.js
https://opteo.com
MIT License
269 stars 90 forks source link

No information on documentation #471

Open eeerrrttty opened 1 year ago

eeerrrttty commented 1 year ago

In any place i have found what does the "1234567890" and "111222333" means in the

conversion_action: "customers/1234567890/conversionActions/111222333" on the doc, how can i send this variable to google if i don't know what is this ?

rtwalz commented 9 months ago

I just went down this entire rabbit hole...

You can see all fields for uploading click conversions here: https://developers.google.com/google-ads/api/docs/conversions/upload-clicks#set_the_required_fields_of_each_conversion_operation

In particular, conversion_action is customers/{YOUR ADS CUSTOMER ID}/conversionActions/{YOUR CONVERSION ACTION ID}

{YOUR ADS CUSTOMER ID} is your Google Ads customer ID, the number in the upper right of Google Ads. {YOUR CONVERSION GOAL ID} is stupidly not shown in the Google Ads website UI. But you can find it by going to the page of your conversion goal, and in the URL there'll be a query param like &ctId=6738874741. That's the conversion goal ID! (h/t to this post)

Why is it so complicated to send some conversion events to Google? No idea!!