googleads / google-ads-php

Google Ads API Client Library for PHP
https://developers.google.com/google-ads/api/docs/client-libs/php
Apache License 2.0
280 stars 260 forks source link

Class BatchJobServiceClient no longer exists, but according to example already #1010

Closed cbringmann closed 3 months ago

cbringmann commented 4 months ago

Client library and Google Ads API versions:

As we are currently migrating to V16, we have noticed that the class Google\Ads\GoogleAds\V16\Services\BatchJobServiceClient no longer exists in V16.

Is this intentional, but according to Example, it should still be there. https://github.com/googleads/google-ads-php/blob/main/examples/CampaignManagement/AddCompleteCampaignsUsingBatchJob.php

fiboknacky commented 4 months ago

Sorry for this confusion. We've upgraded all classes to GAPIC v2 now, so some examples need to be updated to use "Google\Ads\GoogleAds\V16\Services\Clients" instead of "Google\Ads\GoogleAds\V16\Services". I'll do this as soon as I can.

fiboknacky commented 3 months ago

This is fixed with v23.0.0