Get conversion aciton types of my clients

36 views
Skip to first unread message

Uros Ceranic

unread,
Jun 7, 2022, 11:50:18 AM6/7/22
to Google Ads API and AdWords API Forum
Hello everyone,

I am trying to find a way to dinamically fecth the conversion action types IDs, so that i can use them and later upload offline conversion.
If i have mutliple clients, and each of them have it's own conversion aciton types, how do i fetch them using REST API. I am not using any library.

Why can't i use the query below, i am adding id of a manager account to request header as said in docs.

SELECT conversion_action.app_id, customer.id, conversion_action.name, conversion_action.category, customer.id FROM conversion_action WHERE customer.id = ${customerId}


If remove "WHERE"  clause, i am getting back conversion types of my account, but i dont' get any from the client.

Thanks

Google Ads API Forum Advisor

unread,
Jun 7, 2022, 10:16:26 PM6/7/22
to ceranic...@gmail.com, adwor...@googlegroups.com
Hi Uros,

Thank you for posting your concern.

To provide answers to your concern, I am afraid that you can only get the conversion actions (with its type) that can be seen directly in the MCC account that you've set in the request header, not including the conversion actions of the client accounts under it. With this, I would suggest using the customer_client, then take note of the client accounts that it will return. Lastly, make a conversion_action report for each returned client account.

Let me know if you have further questions.

Regards,
Google Logo
Ernie John
Google Ads API Team
 


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