Google Ads GetCampaign method version discrepancies.

26 views
Skip to first unread message

Matt Rodney

unread,
Dec 21, 2022, 3:39:15 PM12/21/22
to Google Ads API and AdWords API Forum
Hello All,
I am trying to use the getCampaigns method with google ads api (Get Campaign) and it keeps referring to the GoogleAdsClient class present in the v12 folder of the package. However on a freshly installed google-ads-php package via the command "composer require googleads/google-ads-php", there is no v12. Only v7, v8 and v9 are available. My ask is that will there be any compatibility issues with me using the GoogleAdsClient class contained in v9?
Is there another way to install this package whilst including the v12 folder which is referenced in the documentation of the GetCampaign method?

Thanks.

Google Ads API Forum Advisor

unread,
Dec 22, 2022, 12:04:43 AM12/22/22
to mattr...@gmail.com, adwor...@googlegroups.com
Hi Matt,

Thank you for reaching out to the Google Ads API support team.

With regards to your concern, please note that  v7, v8 and v9 of the Google Ads API have already been deprecated and using these versions will return an error on your end. That said, I would recommend reaching out to the PHP client library authors as they are better equipped to provide guidance to this matter. In addition, as for "Is there another way to install this package whilst including the v12 folder which is referenced in the documentation of the GetCampaign method?", kindly refer and follow this guide for the setup and configuration. 

If you happen to have further Google Ads API related concerns, please feel free to get back to our team.

Regards,
Google Logo
Carmela
Google Ads API Team
 


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