Releases: googleads/google-ads-php
Releases · googleads/google-ads-php
google-ads-php-v9.0.0
Google Ads API Client Library for PHP v9.0.0
- Added support for v7 of Google Ads API.
- Removed support for v4 of Google Ads API.
- Added code examples:
- AddCustomAudience
- CampaignReportToCsv
- MigratePromotionFeedToAsset
- Fixed/improved code examples:
- GetAdGroupBidModifiers
- LaravelSampleApp
- UploadCallConversion
- UploadOfflineConversion
google-ads-php-v8.1.0
Google Ads API Client Library for PHP v8.1.0
- Added missing 'null' type hints in the package
src/Google/Ads/GoogleAds/v6/
. - Updated code examples:
- AddCampaignTargetingCriteria
- AddDynamicPageFeed
- AddSitelinks
- CreateCustomer
- GetGeoTargetConstantsByNames
- UploadStoreSalesTransactions
google-ads-php-v8.0.0
Google Ads API Client Library for PHP v8.0.0
- Added support for PHP 8.0.
- Updated the minimum required versions of
google/gax
,grpc/grpc
and
google/protobuf
.- Updated GoogleAdsLoggingInterceptor.php of all versions to accommodate a
breaking change in the new version ofgrpc/grpc
(1.36.0). - Updated GoogleAdsFailuresUnaryCall.php of all versions.
- Updated GoogleAdsLoggingInterceptor.php of all versions to accommodate a
- Makes the
examples
directory and its dependency belong todev
in
composer.json
. This makes the size of the downloaded source code lighter. - Refactored ResourceNames.php and ServiceClientFactoryTrait.php.
- Fixed code examples:
- GetAdGroupBidModifier
- ValidateTextAd
google-ads-php-v7.0.0
Google Ads API Client Library for PHP v7.0.0
- Added support for v6_1 of Google Ads API.
- Removed support for v3 of Google Ads API.
- Updated
composer.json
to require the minimum PHP version of 7.3. - Fixed the FieldMasks utility to make it work with null nested messages.
- Redact email address in the newly available CustomerUserAccessInvitation.
- Added code examples:
- AddImageExtension
- GetPendingInvitations
- InviteUserWithAccessRole
- Fixed/improved code examples:
- AddCampaignBidModifier
- GetChangeDetails
- GetProductBiddingCategoryConstant
google-ads-php-v6.1.0
Google Ads API Client Library for PHP v6.1.0
- Added support for logging responses of stream calls.
- Updated the required protobuf version to v3.14.0 for better performance and bug
fixes. - Moved testing files to
tests/
and updated the PSR-4 rules in
composer.json
accordingly. - Added support for PHPUnit 9.3.
- Added print_php_information for printing information about installed extensions.
- Added code examples:
- GetInvoices
- SetupRemarketing
- SetupAdvancedRemarketing
google-ads-php-v6.0.0
Google Ads API Client Library for PHP v6.0.0
- Added support for v6 of Google Ads API.
- Updated all code examples to v6.
- Removed support for v2.
- Refactored LogMessageFormatter to redact any email addresses present in the requests and
responses. - Added support of client configuration from environment variables.
- Added code examples:
- UpdateAudienceTargetRestriction
- AddLocalCampaign
- SetCustomClientTimeouts
- GetChangeDetails
- CreateFeedItemSet
- GetFeedItemsOfFeedItemSet
- LinkFeedItemSet
- AddLeadFormExtension
- Renamed the code examples:
- From GetAccountChanges to GetChangeSummary
- From AuthenticateInStandaloneApplication to AuthenticateInDesktopApplication
- Migrated to field presence.
- Migrated the code examples.
- Added unit tests.
google-ads-php-v5.0.0
Google Ads API Client Library for PHP v5.0.0
- Added support for v5 of Google Ads API.
- Upgraded dependencies:
google/protobuf
(^3.13.0),ulrichsg/getopt-php
(^3.4). - Fixed instantiation tests and PSR-4 issues.
- Updated all code examples to v5.
- Added code examples:
- AddLogicalUserList
- AddCombinedRuleUserList
- AddExpressionRuleUserList
- AddConversionBasedUserList
- AddBillingSetup
- RejectMerchantCenterLink
- Fixed/improved code examples:
- AddSmartDisplayAd
- UpdateSitelinkCampaignExtensionSetting
- CreateCustomer
- UsePortfolioBiddingStrategy
- ForecastReach
google-ads-php-v4.0.0
Google Ads API Client Library for PHP v4.0.0
- Added support for v4 of Google Ads API.
- Updated code examples to v4.
- Removed support for v1.
- Regenerated source for v2 and v3 to reflect a new design.
The following methods now have different signatures:ConversionUploadServiceClient::uploadClickConversions()
ConversionUploadServiceClient::uploadCallConversions()
ConversionAdjustmentUploadServiceClient::uploadConversionAdjustment()
GeoTargetConstantServiceClient::suggestGeoTargetConstants()
KeywordPlanIdeaServiceClient::generateKeywordIdeas()
MutateJobServiceClient::addMutateJobOperations()
ReachPlanServiceClient::generateProductMixIdeas()
ReachPlanServiceClient::generateReachForecast()
- Added support for the
linked-customer-id
header for v4. - Added more tests to increase code coverage.
- Fixed some test data.
- Renamed
AddCompleteCampaignsUsingMutateJob
to
AddCompleteCampaignsUsingBatchJob
to reflect a new name in v4. - Added code examples:
- AddDisplayUploadAd
- AddSitelinksUsingFeeds
- Fixed/improved code examples:
- AddDynamicPageFeed
- GenerateKeywordIdeas
- HandleExpandedTextAdPolicyViolations
- HandleKeywordPolicyViolations
- RemoveFlightsFeedItemAttributeValue
- UpdateAdGroup
- UpdateFlightsFeedItemStringAttributeValue
- UsePortfolioBiddingStrategy
google-ads-php-v3.2.0
Google Ads API Client Library for PHP v3.2.0
- Added support for v3_1 of Google Ads API.
- Fixed the field masks to work properly with repeated fields in a message.
- Extended
GoogleAdsService.searchStream
with an experimental iterator. - Refreshed
ResourceNames
with some types:CurrencyConstant
,Ad
,AdGroupExtensionSetting
,
CustomerExtensionSetting
,CampaignExtensionSetting
. - Added code examples
- AddResponsiveSearchAd
- GetResponsiveSearchAds
- AddHotelCallout
- UpdateExpandedTextAd
- UpdateSitelink
- UpdateSitelinkCampaignExtensionSetting
- AddMerchantCenterDynamicRemarketingCampaign
- ForecastReach
- AddGeoTarget
- RemoveEntireSitelinkCampaignExtensionSetting
- GetAdGroupCriterionCpcBidSimulations
- UploadCallConversion
- ApproveMerchantCenterLink
- SearchForLanguageAndCarrierConstants
- GetCampaignCriterionBidModifierSimulations
- AddCustomerMatchUserList
- Improved code examples
- GetAccountHierarchy
- AddCompleteCampaignsUsingMutateJob
- GetAccountBudgets
google-ads-php-v3.1.0
Google Ads API Client Library for PHP v3.1.0
- Added support for v3_0 of Google Ads API.
- Added support for conversion-typed API errors.
- Added code examples: AddSiteLinks, UploadMediaBundle, UploadImageAsset,
UploadConversionAdjustment, ValidateTextAd, AddPrices, AddListingScope,
UpdateCampaignCriterionBidModifier, AddAppCampaign. - Fixed code examples: AddDynamicPageFeed.
- Improved code examples: UploadOfflineConversion, GetArtifactMetadata, AddRemarketingAction.
- Upgraded the Coding Style from PSR-2 to PSR-12 and made the code compliant.
- Upgraded dependencies:
squizlabs/php_codesniffer
(^3.5),google/protobuf
(^3.11.4).