Re: getting googleadsexception from apiexception (php)

2024-01-03 Thread Michael Shepard
Yeah but contained within the ApiException is a GoogleAdsFailure. using the php library how do I create an instance of that GoogleAdsFailure from the apiException? On Tuesday, January 2, 2024 at 5:18:22 PM UTC-5 Google Ads API Forum Advisor wrote: > Hi, > > Thank you for reaching out to the

getting GoogleAdsException from ApiException (PHP)

2024-01-02 Thread Michael Shepard
I'm using the php library v15 in a laravel application.I'm trying to catch exceptions and request policy exemptions like it is shown in the keywords example in the github repo. however, I'm throwing an ApiException NOT a GoogleAdsException. I've included an example of what my exception looks li

Basic Setup, PHP, Service account flow

2023-04-20 Thread Michael Shepard
I am attempting initial setup and testing for my project. I have installed the google-ads-php library in my project with composer, I have created a service account, and downloaded my JSON key. I have created the google_ads_php.ini. I am attempting to create the basic "GetCampaigns" utility usin