Hi Nguyen,
Thank you for reaching out. There isn’t any service available to fetch the Conversion Id and Label in the existing conversion set up in the Adwords/Google Ads API. The workaround is to delete the old one that wasn’t properly set up and create new conversions to get a new set of Conversion Id and Label.
Thanks and regards,
Xiaoming, Google Ads API Team
|
||||||
Hi Nguyen,
Thank you for reaching out. Please give it a try to loop through all the results in the response and for each result you could call the getTagSnippets() method. I’m assuming something went wrong when you loop through $addedConversionAction->getTagSnippets() as this might be not iterable.
Thanks and regards,
Xiaoming, Google Ads API Team
Hi SJ,
Thanks for reaching out to the Google Ads API team. I hope you are doing well today.
Moving forward, regarding this, "Can you get successfully snippets code ??? " can I ask you to raise this issue with us so that you can get an answer to this forum case? If yes, one of my colleagues responded to that forum case and allowed me to reiterate his response. "Please note that the only field that can be used to extract tag snippets of the conversion action is the conversion_action.tag_snippets field. With this, I am afraid that there is no way to extract the value from the 'send_to' field alone. You will need to create a process on your end where you will separate the said value from the returned response of the API."
Let us know if you have further questions.
Regards,
|
||||||