Hi, I already had placed this check in place. But this seems not capturing "authorizationError":"ACTION_NOT_PERMITTED"
My Example: try { $CampaignCriterionServiceClient = $googleAdsClient->getCampaignCriterionServiceClient(); $response = $CampaignCriterionServiceClient->mutateCampaignCriteria( $customerId, $operations, ['partialFailure' => true, 'validateOnly' => false, 'responseContentType' => ResponseContentType::MUTABLE_RESOURCE] ); } catch (GoogleAdsException $googleAdsException) { throw $googleAdsException; } catch (ApiException $apiException) { throw $apiException; } Thanks, On Wednesday 7 August 2024 at 21:37:12 UTC+5:30 Google Ads API Forum Advisor wrote: > Hi, > > Here is a `try/catch` example for UpdateCampaign.php > <https://github.com/googleads/google-ads-php/blob/main/examples/BasicOperations/UpdateCampaign.php> > from > our client library on Github. You can use this syntax to catch any errors > you may encounter when making requests against the Google Ads API. > > > This message is in relation to case > "ref:!00D1U01174p.!5004Q02vEcLy:ref" (ADR-00262184) > > Thanks, > > [image: Google Logo] > Benji Rothman > Google Ads API Team > > > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "Google Ads API and AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/6769becf-69cf-4219-801c-7ace7a750dc8n%40googlegroups.com.