Skip to content

Releases: googleads/google-ads-php

google-ads-php-v11.0.0

13 Aug 12:17

Choose a tag to compare

Google Ads API Client Library for PHP v11.0.0

  • Added support for v8_1 of Google Ads API.
  • Added 1.26 to the minimum required version constraints of the monolog/monolog dependency.
  • Removed support for v6 of Google Ads API.
  • Improved the FieldMasks utility:
    • Support getting enum value names from fields in the getFieldValue method.
    • Support the case when a modified field is an empty Message with no fields declared in the
      compare method.
  • Fixed/improved code examples:
    • GetAdGroupBidModifiers
    • AddSmartCampaign
    • GetChangeDetails
    • AddLocalCampaign
  • Removed the code example AddGmailAd.

google-ads-php-v10.1.0

02 Jul 15:35

Choose a tag to compare

Google Ads API Client Library for PHP v10.1.0

  • Moved the CampaignReportToCsv example to the Migration/ directory.
  • Added the LIMIT clause to the query of the GetAdGroupBidModifiers example.

google-ads-php-v10.0.0

16 Jun 04:54

Choose a tag to compare

Google Ads API Client Library for PHP v10.0.0

  • Added support for v8 of Google Ads API.
  • Removed support for v5 of Google Ads API.
  • Fixed the ResourceNames utility:
    • Some method names are changed to be consistent with others:
      • forAccountLinkName becomes forAccountLink
      • forThirdPartyAppAnalyticsLinkName becomes forThirdPartyAppAnalyticsLink
    • Enumerable names are now expected instead of indexes. The affected methods are:
      • forAdGroupExtensionSetting (ExtensionType)
      • forCampaignAsset (AssetFieldType)
      • forCampaignExtensionSetting (ExtensionType)
      • forCustomerExtensionSetting (ExtensionType)
    • All parameters typed as integers are now typed as strings
  • Added support for removing unused Google Ads API versions. See this guide
    for details.
  • Updated the minimum required versions of google/protobuf to 3.17.1.
  • Added code examples:
    • AddSmartCampaign
    • UseCrossAccountBiddingStrategy
  • Fixed/improved code examples:
    • RemoveEntireSitelinkCampaignExtensionSetting
    • UpdateSitelinkCampaignExtensionSetting
    • UploadStoreSalesTransactions

google-ads-php-v9.0.0

06 May 12:38

Choose a tag to compare

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

05 Apr 12:01

Choose a tag to compare

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

18 Mar 15:27

Choose a tag to compare

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 of grpc/grpc (1.36.0).
    • Updated GoogleAdsFailuresUnaryCall.php of all versions.
  • Makes the examples directory and its dependency belong to dev 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

19 Feb 03:40

Choose a tag to compare

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

11 Dec 05:37

Choose a tag to compare

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

16 Nov 14:55

Choose a tag to compare

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

01 Sep 19:15

Choose a tag to compare

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