Releases: googleads/google-ads-php
Releases · googleads/google-ads-php
google-ads-php-v21.0.0
Google Ads API Client Library for PHP v21.0.0
- Removed support for v12 of Google Ads API.
- Use the GAPIC v2 source
code
inResourceNames
andServiceClientFactoryTrait
of v14. - Updated the source code to use PHP 8 features, e.g., named arguments,
private constants, constructor promotion, removing unused exception variables. - Updated code examples:
- AddCampaigns
- GenerateKeywordIdeas
- Removed trivial code examples that can be easily obtained by changing small
parts of other code examples.
google-ads-php-v20.1.0
Google Ads API Client Library for PHP v20.1.0
- Added support for v14_1 of Google Ads API.
- Removed the
final
modifier fromGoogleAdsClient
. This fixes
#347. - Fixed #902 by passing
linked-customer-id
to the header of a request. - Made
GoogleAdsCallLogger::getNextFinerLogLevel
aligned with PSR-3
LogLevel
enum by returning a lowercase string. This fixes
#849. - Fixed the issue of the check for grpc versions in
GoogleAdsClientBuilder::validate()
. It now supports the case when
the system-package version is not found. - Added support for the GAPIC v2 source
code.- Added support for the
useGapicV2Source
configuration. - Updated all code examples to show how to use the GAPIC v2 source code.
- Added support for the
- Added code examples:
- GenerateForecastMetrics (new version that uses
KeywordPlanIdeaService
) - GenerateHistoricalMetrics (new version that uses
KeywordPlanIdeaService
)
- GenerateForecastMetrics (new version that uses
- Removed AddKeywordPlan example.
google-ads-php-v20.0.0
Google Ads API Client Library for PHP v20.0.0
- Updated
composer.json
to require the minimum PHP version of 8.0. See also
README for more details. - Updated the minimum required version of
google/gax
to 1.19.1. - Added a check for the versions of grpc installed by Composer and installed
as a platform package toGoogleAdsClientBuilder::validate()
. This is a fix for
#406. - Fixed dependabot alert in
examples/LaravelSampleApp/composer.lock
.
google-ads-php-v19.2.0
Google Ads API Client Library for PHP v19.2.0
- Added support for v14 of Google Ads API.
- Updated AddPerformanceMaxForTravelGoalsCampaign example.
- Removed code examples:
- GenerateForecastMetrics
- GenerateHistoricalMetrics
- GetCampaignCriterionBidModifierSimulations
google-ads-php-v19.1.0
Google Ads API Client Library for PHP v19.1.0
- Added support for v13_1 of Google Ads API.
- Renamed the HotelAds example directory to Travel.
- Added AddThingsToDoAd example.
- Updated AddPerformanceMaxForTravelGoalsCampaign example.
google-ads-php-v19.0.0
Google Ads API Client Library for PHP v19.0.0
- Removed support for v11 of Google Ads API.
- Updated CreateExperiment example.
google-ads-php-v18.0.0
Google Ads API Client Library for PHP v18.0.0
- Added support for v13 of Google Ads API.
- Removed support for v10 of Google Ads API.
- Updated code examples:
- AddCustomerMatchUserList
- AddPerformanceMaxRetailCampaign
- GetAdGroupBidModifiers
- GetChangeDetails
- Reworked code examples to address the deprecation of combined rule user lists
and expression rule user lists:- Edited SetUpAdvancedRemarketing and SetUpRemarketing
- Renamed AddCombinedRuleUserList to AddFlexibleRuleUserList
- Removed AddExpressionRuleUserList
google-ads-php-v17.1.0
Google Ads API Client Library for PHP v17.1.0
- Added support for v12 of Google Ads API.
- Renamed HandleExpandedTextAdPolicyViolations to HandleResponsiveSearchAdPolicyViolations
and made it work with responsive search ads instead. - Removed code examples:
- All examples in the Migration/ directory
- Moved CampaignReportToCsv to the Misc/ directory
- AddDynamicPageFeed
- AddLocalCampaign
- AddSmartDisplayAd
- AddShoppingSmartAd
- All examples in the Migration/ directory
- Updated code examples:
- AddPerformanceMaxRetailCampaign
- AddSmartCampaign
- CreateExperiment
- ForecastReach
google-ads-php-v17.0.0
Google Ads API Client Library for PHP v17.0.0
- Added support for v11_1 of Google Ads API.
- Updated the FieldMasks utility to better handle empty message fields. For
more details on how field masks work, visit
https://developers.google.com/google-ads/api/docs/client-libs/php/fieldmasks. - Updated the minimum required version of
google/protobuf
to 3.21.5. - Added a code example: GenerateHistoricalMetrics
- Reworked code examples to address the deprecation of Expanded Text Ads (ETA):
- Edited AddAdCustomizer
- Renamed UpdateExpandedTextAd to UpdateResponsiveSearchAd
- Renamed ValidateTextAd to ValidateAd
- Removed AddExpandedTextAds
- Removed AddExpandedTextAdWithUpgradedUrls
google-ads-php-v16.0.0
Google Ads API Client Library for PHP v16.0.0
- Removed support for v9 of Google Ads API.
- Cleaned up the FieldMasks util to remove reference to protocol buffer's wrapper types.
- Added support for Monolog 1 back.
- Updated the minimum required version of
google/gax
to 1.13.0. - Renamed a code example GetArtifactMetadata to SearchForGoogleAdsFields.
- Updated code examples:
- GenerateUserCredentials
- SetCustomClientTimeouts
- Fixed dependabot alert in
examples/LaravelSampleApp/composer.lock
.