Hi,
Extract of my code PHP / example in google api php
In my console in Google Ads, in Tools and settings > Measure > Conversions, i have a list of conversion name. And i search to push lead converted, defined by GCLID in this one specific conversion name with Google API php.
My question : how can i defined conversionName in clickConversion properties ?
Thanks for your help
Hello Guillaume,
Thanks for reaching out to the Google Ads API support team. By using conversion_action.resource_name attribute field you can get all the information of the resource name of the conversion action FROM conversion_action resource. Hope this helps, feel free to get back to us if you have any questions.
Best Regards,
![]() |
|
||||
Hello Guillaume,
Thanks for replying back. Please note that our API team only addresses API related issues and concerns. Yes, your concern is correct on this point (in this string "{customer_id }" is it the account number in the top right of google ads ? and "{conversion_action_id}" is the number about conversion action in Google Ads ?).
I would recommend that if you're confused with your MCC/CID accounts, you can login your MCC/CID account from this link for verification to get the account ID. If this solution does not work then please reach out to the Product Support team via this link for further assistance to find your accounts. Let me know if you have any questions.
Best Regards,
![]() |
|
||||
Hi Guillaume,
Thanks for your response. I am also a member of the Google Ads API team and let me provide support to your concern.
Moving forward to your concern, I am afraid that our team has no GCLID test to check on the account test.
As for your concern about getting the conversion action ID of a specific conversion action name to be supplied in the conversion upload request, I suggest you use this conversion_action with conversion_action.id and conversion_action.name.
Let us know if you have further questions.
Regards,
|
||||||
Hi Guillaume,
Thank you for your response. If you have any concerns for our team let us know. We will be happy to address it.