RE: Getting Conversion Custom Variable Id

529 views
Skip to first unread message
Message has been deleted

Google Ads API Forum Advisor

unread,
Jun 23, 2022, 11:13:16 AM6/23/22
to sfran...@gmail.com, adwor...@googlegroups.com
Hi there,

You can try the conversion_custom_variable resource. Feel free to get back to us.

Regards,

Google Logo
Aryeh
Google Ads API Team
 


ref:_00D1U1174p._5004Q2bzXon:ref
Message has been deleted
Message has been deleted

Google Ads API Forum Advisor

unread,
Jun 24, 2022, 4:14:08 AM6/24/22
to sfran...@gmail.com, adwor...@googlegroups.com
Hi,

Thank you for the reply.

Google Ads UI (google ads web interface) must always match to the Google Ads API. With this, even though you created these custom variables in the google ads web interface, you may still use the conversion_custom_variable given by my colleague from the API perspective. With this, you can see all the fields that can be used in the conversion custom variables, you may use the field conversion_custom_variable.id to get the ID of the conversion custom variable and the conversion_custom_variable.resource_name as well to get the source name of the conversion custom variable.

Moving forward to the error you are encountering, could you provide the complete API logs (request and response with request-id ) generated on your end so our team can further investigate it?

You may then send the requested logs via the Reply privately to author option. If this option is not available, you may send the details directly to our googleadsa...@google.com alias instead.

Best regards,
Google Logo
Heidi
Google Ads API Team
 


ref:_00D1U1174p._5004Q2bzXon:ref
Message has been deleted

Google Ads API Forum Advisor

unread,
Jun 24, 2022, 9:23:07 AM6/24/22
to sfran...@gmail.com, adwor...@googlegroups.com

Hi,

Yes, you may need to use the below query to retrieve / pull the existing or newly created custom variable on UI.

SELECT conversion_custom_variable.id, conversion_custom_variable.name FROM conversion_custom_variable

You may fetch conversion_custom_variable view using the GoogleAdsService.SearchStream or Query search (​​GoogleAdsService) as mentioned in this reporting example.

Regards,

Google Logo
Yasar
Google Ads API Team
 


ref:_00D1U1174p._5004Q2bzXon:ref
Reply all
Reply to author
Forward
0 new messages