get all conversion actions through the new google ads api

227 views
Skip to first unread message

Ahmed Abd El Ftah

unread,
May 7, 2022, 5:05:39 PM5/7/22
to Google Ads API and AdWords API Forum
in the old api i used to get all conversion actions for an account using ConversionTrackerService & Google\AdsApi\AdWords\v201809\cm\Selector  .... PHP code .

but after we migrated to the new API https://github.com/googleads/google-ads-php  ... there's no clue in the new package code or the documentation to get all conversion actions

so would really appreciate any help 

thanks

Ahmed Abd El Ftah

unread,
May 7, 2022, 5:26:41 PM5/7/22
to Google Ads API and AdWords API Forum
i have found a solution for this issue ... is using google ads query ... and execute it through googleAdsServiceClient->searchStream

SELECT conversion_action.id, conversion_action.name FROM conversion_action

also another note you must set the login to be with the customer id .... in order to get list of client conversion actions

Google Ads API Forum Advisor

unread,
May 10, 2022, 5:05:55 AM5/10/22
to ahmedabde...@gmail.com, adwor...@googlegroups.com
Hi Ahmed,

Thank you for the updates.

We're glad that you were able to find the information related to the behavior you observed. If you have additional questions regarding the topic being discussed in this thread, feel free to send those over to our team and we would be happy to assist you further.

Best regards,
Google Logo
Heidi
Google Ads API Team
 


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