- Added support for v202411.
- Removed support for v202311.
- Removed examples for v202402.
- Added support for v202408.
- Removed support for v202308.
- Removed examples for v202311.
- Added AdsTxtService in v202408.
- Added support for v202405.
- Removed support for v202305.
- Removed examples for v202308.
- Removed ActivityService and ActivityGroupService in v202405.
- Added McmError to all versions.
- Added support for v202402.
- Removed support for v202302.
- Removed examples for v202305.
- Removed CreativeReviewService in v202402.
- Added support for v202311.
- Removed support for v202211.
- Removed examples for v202302.
- Added support for v202308.
- Removed support for v202208.
- Removed examples for v202211.
- Added support for PHP 8.2.
- Removed support for PHP 7.4.
- Added support for v202305.
- Removed support for v202205.
- Removed examples for v202208.
- No changes.
- Removed support because the API was sunset. Users should migrate to the new client library google-ads-php to access the new Google Ads API instead.
- Removed all code examples including the
LaravelSampleApp
. Users should refer to the new set of code examples of the new client library to access the new Google Ads API instead which also includes aLaravelSampleApp
.
- Added support for v202302.
- Removed support for v202202.
- Removed examples for v202205.
- Removed support for version 7.3 of the php dependency.
- Added support for version 3 of the monolog/monolog dependency.
- Added support for version 6 of the symfony/serializer dependency.
- Upgraded the minimum version of the guzzlehttp/psr7 dependency to 1.7 and added support for version 2.
- Migrated the example Auth/GetRefreshToken from OOB. More details can be found here.
- No changes.
- Added support for v202211.
- Removed support for v202111.
- Removed examples for v202202.
- No changes.
- Removed examples/AdWords/LaravelSampleApp/composer.lock file.
- Added support for v202208.
- Removed support for v202108.
- Removed examples for v202111.
- Added support for PHP 8.1.
- Updated examples/AdWords/LaravelSampleApp/composer.lock file.
- Added support for v202205.
- Removed support for v202105.
- Removed examples for v202108.
- Removed salesperson split from CreateProposals for v202205.
- Updated RunInventoryReport to use new Ad Exchange columns for v202205.
- Regenerated v202202 stubs to include missing SERVING_RESTRICTION dimensions.
- No changes.
- Updated examples/AdWords/LaravelSampleApp/composer.lock file.
- Added support for v202202.
- Removed support for v202102.
- Removed examples for v202105.
- Added YieldGroupService for v202202.
- Added example to create video creative for v202202.
- Removed AdExclusionRuleService from v202202.
- No changes.
- No changes.
- Added support for v202111.
- Removed support for v202011.
- Removed examples for v202102.
- No changes.
- No changes.
- Added support for v202108.
- Removed support for v202008.
- Removed examples for v202011.
- Added RunReachReportWithAdUnitDimensions for v202108.
- No changes.
- Upgrade laravel/framework to version 6.20.26 in examples/AdWords/LaravelSampleApp/composer.json.
- No changes.
- Restore Guzzle 6 support.
- No changes.
- Added support for v202105.
- Removed support for v202005.
- Removed examples for v202008.
- Updated the CreateProposalLineItems example to use RequestPlatformTargeting instead of marketplace info for v202105.
- Added a new example for v202105:
PushCreativeToDevices
.
- No changes.
- Updated laravel/framework version from 5.8.38 to 6.20.14 in LaravelSampleApp.
- Added support for v202102.
- Removed support for v202002.
- Removed examples for v202005.
- Updated the v202102/LineItemService/CreateVideoLineItems.php example to use
setVideoMaxDuration
function.
- Updated php version to ^7.3 as a dependency.
- Added symfony/serializer version ^3.0.3 as a dependency.
- Updated monolog/monolog version to ^2.2.0 as a dependency.
- Updated phpunit/phpunit version to ^9.5.2 as a development dependency.
- Migrated phpunit.xml.dist to comply with phpunit 9.5.2 schema.
- No changes.
- Added ext-json to composer.json file for
ContentService
examples. - Added new types in v202011:
- TimeSeries.php
- TrafficDataRequest.php
- TrafficDataResponse.php
- getTrafficDataResponse.php
- AuthenticationErrorReason.php
- CreativeErrorReason.php
- TrafficForecastSegmentErrorReason.php
- Added symfony/serializer version ^3.0.3 as a dependency.
- Updated phpunit/phpunit version to ^9.5.0 as a development dependency.
- Fixed issue #684.
- No changes.
- No changes.
- Fixed the date time format in example
GetAccountChanges.php
for v201809.
- Added support for v202011.
- Added new examples for v202011:
GetTrafficData
andGetDefaultThirdPartyDataDeclaration
. - Removed support for v201911.
- Removed examples for v202002.
- No changes.
- No changes.
- Fixed issue #675 by replacing an exception with a warning when network code is missing from the adsapi_php.ini file.
- Fixed issue #679
by updating
guzzlehttp/guzzle
to version 7.
- No changes.
- Added support for v202008.
- Added new examples for v202008:
CreateSites
,GetAllSites
,GetSitesRequiringApproval
andGetMcmEarnings
. - Removed support for v201908.
- Removed examples for v201911.
- No changes.
- No changes.
- Added support for v202005.
- Added new examples for v202005:
CmsMetadataService
,UpdateForecastAdjustments
andGetForecastAdjustmentsForTrafficForecastSegment
. - Update
CreateTrafficAdjustments.php
to becomeCreateForecastAdjustments
example for v202005. - Update
GetAllTrafficForecastSegments
example for v202005. - Removed support for v201905.
- Removed examples for v201908.
- No changes.
- Updated the composer.json and composer.lock files of Laravel sample application to fix the reported security issue.
- No changes.
- No changes.
- Added support for ReflectionDocBlock v5.0.
- No changes.
- Removed phpcs_ruleset.xml and .gitignore from git exports.
- Updated the Laravel sample application to use Laravel framework v5.8.
- No changes.
- No changes.
- No changes.
- Added AdRuleError and AdRuleErrorReason for v202002.
- Added new report columns for v202002: TOTAL_VIDEO_OPPORTUNITIES, TOTAL_VIDEO_CAPPED_OPPORTUNITIES and DP_ECPM.
- Removed src/Google/AdsApi/AdManager/Util/v201808 folder.
- No changes.
- No changes.
- Added support for v202002.
- Removed support for v201902.
- Removed examples for v201905.
- Fixed issue #640.
- Fixed issue #637.
- No changes.
- Added support for v201911.
- Updated v201911/ReportService/RunReportWithCustomFields.php example to use a reportable custom targeting key as a dimension.
- Updated v201911/ReportService/RunReachReport.php example to use replacement metrics and compatible dimensions.
- Updated v201911/ReportService/RunInventoryReport.php example to remove no-op PQL statements.
- Removed support for v201811.
- Removed examples for v201902.
- No changes.
- No changes.
-
Added support for v201908.
-
Removed support for v201808.
-
Removed examples for v201811.
-
Removed examples from all versions for Sales Management:
- BaseRateService/GetAllBaseRates
- BaseRateService/GetBaseRatesForRateCard
- ExchangeRateService/GetAllExchangeRates
- ExchangeRateService/GetExchangeRatesForCurrencyCode
- PackageService/GetAllPackages
- PackageService/GetInProgressPackages
- PremiumRateService/GetAllPremiumRates
- PremiumRateService/GetPremiumRatesForRateCard
- ProductPackageItemService/GetAllProductPackageItems
- ProductPackageItemService/GetProductPackageItemsForProductPackage
- ProductPackageService/GetActiveProductPackages
- ProductPackageService/GetAllProductPackages
- ProductService/GetAllProducts
- ProductService/GetProductsForProductTemplate
- ProductTemplateService/ActivateProductTemplates
- ProductTemplateService/CreateProductTemplates
- ProductTemplateService/CreateProgrammaticProductTemplates
- ProductTemplateService/GetAllProductTemplates
- ProductTemplateService/GetSponsorshipProductTemplates
- ProposalService/CreateProgrammaticProposals
- ProposalLineItemService/CreateProgrammaticProposalLineItems
- RateCardService/GetAllRateCards
- RateCardService/GetMarketplaceRateCards
- ReconciliationLineItemReportService/GetReconciliationLineItemReportsForReconciliationReport
- ReconciliationLineItemReportService/UpdateReconciliationLineItemReports
- ReconciliationOrderReportService/GetReconciliationOrderReportsForReconciliationReport
- ReconciliationOrderReportService/SubmitReconciliationOrderReports
- ReconciliationReportRowService/GetReconciliationReportRowsForReconciliationReport
- ReconciliationReportRowService/UpdateReconciliationReportRows
- ReconciliationReportService/GetAllReconciliationReports
- ReconciliationReportService/GetReconciliationReportForLastBillingPeriod
- WorkflowRequestService/ApproveWorkflowApprovalRequests
- WorkflowRequestService/GetWorkflowApprovalRequests
- WorkflowRequestService/GetWorkflowExternalConditionRequests
- WorkflowRequestService/TriggerWorkflowExternalConditionRequests
-
Converted ProposalService examples:
- GetProposalsPendingApproval to GetProposalsAwaitingSellerReview
- CreateProgrammaticProposalsForNonSalesManagement to CreateProposals
-
Converted ProposalLineItemService example:
- CreateProgrammaticProposalLineItemsForNonSalesManagement to CreateProposalLineItems
- No changes.
- No changes.
- Added support for v201905.
- Removed support for v201805.
- Removed examples for v201808.
- No changes.
- Removed support and examples for v201806. See deprecation schedule at: https://developers.google.com/adwords/api/docs/sunset-dates
- Fixed issue #538.
- Updated
composer.json
to require the minimum PHP version of 7.1.
- No changes.
- Added support for v201902.
- Updated RunInventoryReport example to replace deprecated metrics.
- Added examples for AdjustmentService and CmsMetadataService.
- Removed support for v201802.
- Removed examples for v201805.
- Refactored
GuzzleLogMessageHandler
andGuzzleLogMessageFormatter
so tests can be added to cover the cases when a response body is logged.
- Removed support and examples for v201802. See deprecation schedule at: https://developers.google.com/adwords/api/docs/sunset-dates
- Added CreateVideoLineItems example for v201811.
- Fixed null pointer exception when the
getAllNetworks
function returns null in theGetAllNetworks
examples for v201811, v201808 and v201805.
- Updated GuzzleLogMessageHandler to support both logging response body.
- Updated
composer.json
to require the minimum PHP version of 5.6.
- Added Smart Shopping ad example (v201809).
- Fixed issue #541.
- Added support for v201811.
- Removed support for v201711.
- Removed examples for v201802.
- Updated the
Util/v201811/AdManagerDateTimes.php
class for renaming the functionsetTimeZoneID
tosetTimeZoneId
. - Discontinue the
GetAllContentMetadataKeyHierarchies.php
example.
- Added support and examples for v201809.
- Fixed issue #527.
- Added a sample application to demonstrate how to use the AdWords API with
the Laravel framework. The location of the sample application is
examples/AdWords/LaravelSampleApp/
.
- Rename files, classes and variables to replace DFP with Ad Manager. For detailed changes, please refer to the migration guide.
- Added support and examples for v201808.
- Removed examples for v201711.
- Removed support for v201708.
- No changes.
- Removed support and examples for v201710. See deprecation schedule at: https://developers.google.com/adwords/api/docs/sunset-dates
- Added
ServiceFactory
classes for v201708, v201711, v201802 and v201805. - Updated examples to use the new
ServiceFactory
classes.
- Added support and examples for v201806.
- Added
ContentFilterError
,ContentFilterErrorReason
for all versions. These classes are for deserializing server errors. - Added
UserConsentEligibility
and updatedLineItem
,LineItemSummary
for v201805 to make line items ineligible for non-personalized ad requests.
- Added
QueryValidator
for v201802 to validate parts of an AWQL string. - Added unit tests for
ServiceQueryBuilder
,ReportQueryBuilder
and supporting classes for v201802. - Fixed issue #473.
- Added
DaiAuthenticationKeyService
for creating, updating and retrievingDaiAuthenticationKey
objects. - Added support and examples for v201805.
- Removed support for v201705.
- Removed examples for v201708.
- Removed support and examples for v201705 and v201708. See deprecation schedule at: https://developers.google.com/adwords/api/docs/sunset-dates
- Added
ServiceQueryBuilder
for v201802 to support building AWQL strings for querying AdWords API services. - Added
ReportQueryBuilder
for v201802 to support building AWQL strings for downloading AdWords API reports.
- Added new examples for managing user-team associations:
CreateUserTeamAssociations
,UpdateUserTeamAssociations
andDeleteUserTeamAssociations
.
- Added support and examples for v201802.
- Fixed issue #447.
- Accepted PR #429.
- Removed support and examples for v201702. See deprecation schedule at: https://developers.google.com/adwords/api/docs/sunset-dates
- Accepted PR #438.
- Added support and examples for v201802.
- Removed support for v201702.
- Removed examples for v201705.
- Fixed issue #194.
- Accepted PR #396.
- Accepted PR #415.
- Accepted PR #421.
- Accepted PR #422.
- Fixed issue #426.
-
Added examples for v201711:
- InventoryService\GetAdUnitHierarchy
- InventoryService\GetTopLevelAdUnits
- LineItemService\CreateLineItemsWithCustomCriteria
- NetworkService\GetCurrentNetwork
- NetworkService\MakeTestNetwork
- PublisherQueryLanguageService\GetAllLineItems
- PublisherQueryLanguageService\GetAllProgrammaticBuyers
- PublisherQueryLanguageService\GetGeoTargets
- ReportService\RunReachReport
- ReportService\RunReportWithCustomFields
- TeamService\UpdateTeams
- UserService\GetCurrentUser
- UserService\UpdateUsers
-
Added utility class
CsvFiles
for v201711.
- Fixed issue #399.
- Fixed the issue that a wrong path to local WSDL files was specified in
AdsSoapClient
. - Accepted PR #401.
- Fixed issue #378.
- Added support and examples for v201711.
- Added CdnConfigurationService and examples.
- Removed support for v201611.
- Removed examples for v201702.
- Included WSDL files for all SOAP services and they're now used for making
SOAP calls instead of live WSDLs. Therefore, the WSDL caching feature is
deprecated (
wsdlCache
inadsapi_php.ini
is now ignored). The feature will be removed completely in the next major release.
- Added support and examples for v201710.
- Added an option for setting transparent HTTP gzip compression for reporting
in
adsapi_php.ini
.
- Added UpdateLineItems and UpdateOrders examples.
- Removed the PROXY section in
adsapi_php.ini
. Use "proxy" under CONNECTION instead. - Added proxy support for non-SOAP utilities and OAuth authentication. See
the CONNECTION section in
adsapi_php.ini
for details.
- Removed support and examples for v201609. See deprecation schedule at: https://developers.google.com/adwords/api/docs/sunset-dates
- Fixed issue #349.
- Added support and examples for v201708.
- Removed examples for v201611.
- Fixed issue #320.
- Added support and examples for v201708.
- Fixed issue #331.
- Added a getter for SOAP response header values and SOAP fault message.
- Added support for redacting access tokens in SOAP body.
- Added support for overriding report settings in each report download request.
- Fixed issue #247.
- Fixed issue #226.
- Fixed issue #244.
- Fixed issue #254.
- Fixed issue #261.
- Fixed issue #292.
- Fixed issue #306.
- Added support and examples for v201705.
- Removed support for AdWords Express (AWX) API.
- Updated AddShoppingCampaign.php to include an option of creating an optional default partition.
- Fixed issues #287 and #298 related to too many open file descriptors.
- Added support and examples for v201705.
- Added GuzzleLogMessageFormatter and refactored the Guzzle logging handler.
- Made user agents sent by non-SOAP utilities more informative.
- Added support for specifying addtional request options for reporting.
- Fixed issue #246.
- Accepted PR #251.
- Accepted PR #253.
- Accepted PR #256.
- Updated AddSiteLinksUsingFeeds examples to use field and constant names that are consistent with the field names of SitelinkFeedItem.
- Added
AdsGuzzleHttpClientFactory
to create Guzzle HTTP clients for non-SOAP calls.
- Added
perform action
examples for core services. - Added
CreateNativeCreatives
example. - Fixed the
CreateProposals
example. - Added some
update
examples for reconciliation services.
- Added support and examples for v201702.
- Fixed issue #236.
- Accepted PR #196.
- Fixed [issue #238] (#238).
- Fixed an unmarshalling issue with
ApiError
. - Added
create
examples for core services.
- Added support for impersonation when using service accounts.
- Added support and examples for v201702.
- Accepted PR #217.
- Fixed issue #197.
- Accepted PR #203.
- Fixed issue #206.
- Fixed some examples that had issues with printing results.
- Accepted PR #195.
- Added RunSavedQuery.php reporting example.
- Added RunDeliveryReportForOrder.php reporting example.
- Added forecast service examples.
- Fixed issue #200.
- Fixed issue #210.
- Added support and examples for v201609.
- Removed support and examples for v201607.
- Fixed issue #168.
- Fixed issue #175.
- Fixed issue #181.
- Refactored how to specify what format a report is downloaded in
ReportDownloader
by introducingReportDownloadResult
. - Added support for including utility usage in the user agent header.
- Added support and examples for v201611.
- Removed support and examples for v201608.
- Renamed
DateTimeUtils
toDfpDateTimes
and refactored some of its methods to make it easier to understand and use.
- Library is now stable and no longer in beta. See the Upgrading guide for details on how to upgrade.
- Fixed the issue that some enum values whose names conflict with PHP reserved keywords were generated by prepending "a", e.g., "aDEFAULT". They are now generated by appending "VALUE", e.g., "DEFAULT_VALUE".
- Removed
__default
const from all generated pseudo-enum classes as it's not necessary. - Fixed issue #173.
- Refactored logging to support logging to different channels. There is now a SOAP logger, as well as other product-specific loggers.
- Added convenience config options for core AdWords and DFP loggers to setup logging to a specified file.
- Fixed issue #187.
- Relaxed all library dependencies to use ^ instead of ~.
- Various internal utility refactoring to make utilities clearer in what they do and easier to understand.
- Added support and examples for v201607.
- Removed support and examples for v201605.
- User agent is now optional. If no user agent is specified, 'unknown' will be passed instead. If provided, user agent must contain US-ASCII characters only.
- Added BatchJobs to support batch processing using BatchJobService (issue #145).
- Added some examples for v201607.
- Added support and examples for v201608.
- Removed support and examples for v201602.
- Added v201602 retrieval examples.
- Fixed issue #143 and issue #144.
- Added report downloader utility.
- Added support and examples for v201605.
- Removed support and examples for v201603.
- Added support for reporting request header
useRawEnumValues
.
- Added a GetRefreshToken.php example that helps you generate an OAuth2 offline refresh token for installed application flows.
- Added support for v201603.
- Removed support for v201601.
- Added support for v201602.
- Removed support for v201511.
- The report downloader utility now uses Guzzle, instead of Curl, to make HTTP requests.
- OAuth2 is now handled by the Google PHP Auth Library.
- OAuth2 service accounts are now supported and JSON key credentials can be loaded from the adsapi_php.ini file.
- SSL peer verification is now enabled by default for SOAP requests.
- Instances of ApiException are now thrown from services if there was a SOAP fault, instead of PHP's generic SoapFault.
- Initial release.