tmarois/laravel-ads-sdk
PHP SDK for Google Ads, Bing Ads, and Facebook Ads API for Laravel
30 Releases
Latest: 4y ago
v1.5.0Latest
📋 Changed
- Bump minimist from 1.2.5 to 1.2.6 #46
- Updated facebook php sdk to use v13 instead of v12 #49
🐛 Fixed
- Bing ads random report-id name extension #47
- -------------------------------------------------------
v1.4.0
✨ Added
- Added Macroable trait to Service classes for extensibility [Readme](README.md#Customization)
📋 Changed
- Updated facebook php sdk to use v12 instead of v11
- -------------------------------------------------------
v1.3.0
✨ Added
- New facebook integration [Readme](FacebookAds-SDK.md#facebookads---documentation)
- New facebook API v11 using [Marketing API](https://developers.facebook.com/docs/marketing-apis) and [facebook-php-business-sdk](https://github.com/facebook/facebook-php-business-sdk)
- Facebook: Fetch Campaigns and AdSets
- Facebook: Insight reports for Account, Campaign and AdSet performance
- -------------------------------------------------------
v1.2.23
🐛 Fixed
- Fixed bing offline conversion response by changing `click` to `click_id` and adding `name` and `time` to match Google
- -------------------------------------------------------
v1.2.22
✨ Added
- Added ability to specify fields for Bing Ads reports
- Added getCustomers() endpoint for Bing Ads #23
📋 Changed
- Made the redirect_uri config setting an env variable #22
- Updated the laravel vendor:publish to show laravel-ads-sdk instead of config
🐛 Fixed
- Url encoded spaces in OAuth Grant URL #20
- -------------------------------------------------------
- Version standard is changing after this release: No longer will include new features in patch releases.
Version 1.2.21v1.2.21
✨ Added
- For the google/bing offline conversions import and with the setting of output value, now returns name and time.
🐛 Fixed
- Fixed offline conversions for both google/bing to return the proper click id on errors (was returning the same click id for all errors)
Version 1.2.20v1.2.20
✨ Added
- Added a way to output the conversion value of success/error offline conversion imports for google/bing ads
Version 1.2.19v1.2.19
📋 Changes
- Updated composer.json Google Ads API to v49 based on #19 (no other AdWords changes were made)
Version 1.2.18v1.2.18
📋 Changes
- Updated Google Ads API to v47 (from v40) to fix the dependency issue #10
Version 1.2.17v1.2.17
📋 Changes
- Google Ads `getTargetCpa()` suppressing any null errors when trying to get the target cpa value.
Version 1.2.16v1.2.16
📋 Changes
- Ability to set the configuration manaually (overriding the laravel config settings) by using `configuration(array)`
Version 1.2.15v1.2.15
📋 Changes
- Cleaning up more `BingAds` for Soap errors due to undefined variables. (raw output of errors).
Version 1.2.14v1.2.14
📋 Changes
- Cleaned up `BingAds` for Soap errors due to request of `__getLastRequest()` undefined errors.
Version 1.2.13v1.2.13
📋 Changes
- Added `InvalidCredentials` Error code with Offline Conversion Import on `BingAds`
- Added `ApiVersionNoLongerSupported` Error code with Offline Conversion Import on `BingAds`
- Added `withRedirectUri()` by default for `BingAds` Auth
- Added config variable `redirect_uri` by default it will use `https://login.microsoftonline.com/common/oauth2/nativeclient`
- Fixed `BingAds` now using `^0.12` instead of deprecated `v0.11` as of 11/6 (version of SDK)
- Changed `BingAds` Services to use `V13` namespace instead of `V12` (version of API)
Version 1.2.12v1.2.12
📋 Changes
- Added Offline Conversion Import services for both `BingAds` and `GoogleAds`.
- Added `withCustomerId()` to the `BingAds` service as some requests require it.
Version 1.2.11v1.2.11
📋 Changes
- Fixed BingAds from running too many rows for Search Terms (using Summary instead of Daily feed)
- Updated BingAds to increase time checking for API reports
- Updated BingAds Report Names and Aggregation to choose, daily, hourly, summary on account level.
- Updated GoogleAds API to version 40
Version 1.2.10v1.2.10
📋 Changes
- Fixed GoogleAds Reports by bad parsing of csv data. Due to comma issues. Now using `str_getcsv`
- GoogleAds Report: Added default columns to rows (based on headers) if the column was missing
Version 1.2.9v1.2.9
📋 Changes
- Added `campaign_name` to the response of `getAdGroupReport()`.
- Added Reports: `getFinalUrlReport()` on both Google/Bing (it returns per campaign)
- Added Reports: `getPlacementReport()` on Google only
- Added Reports: `getPlacementUrlReport()` on Google only
- Added Reports: `getSearchTermReport()` on Google/Bing
- Added Reports: `getAgeRangeReport()` on Google/Bing
- Added Reports: `getGenderReport()` on Google/Bing
Version 1.2.8v1.2.8
📋 Changes
- Fixed fetching `getAdGroups()` on Bing causing undefined error when AdGroups not returned.
Version 1.2.7v1.2.7
📋 Changes
- Added `getCampaigns()` and `getAdGroups()` to now work with paging. Google allows only 10,000 results per page. Pre-defined 5,000 per page in this SDK for safety. It will be handled automatically and give you the entire total in the response.
- Added `$filters` array within the `getCampaigns()` and `getAdGroups()`, using the `Predicate` and `setPredicates` Google Ads functionality. (Note: this currently will only use the `PredicateOperator::IN` operator.)
Version 1.2.6v1.2.6
📋 Changes
- Updated GoogleAds API from `v201802` to `v201809`
Version 1.2.5v1.2.5
📋 Changes
- GoogleAds Reports now allow for advanced customization, making `reportDownload()` a public method.
- GoogleAds Reports now allow `aggregate()` to be used with multiple calls.
Version 1.2.4v1.2.4
📋 Changes
- GoogleAds: `AveragePosition` which equals `avg_position` within AdGroup Report `getAdGroupReport`.
- BingAds: `AveragePosition` which equals `avg_position` within AdGroup Report `getAdGroupReport()`.
Version 1.2.3v1.2.3
📋 Changes
- `setTargetCpa()` on Bing/Google campaigns.
Version 1.2.2v1.2.2
📋 Changes
- Fixed bing report response on downloading CSV
Version 1.2.1v1.2.1
📋 Changes
- Fixed Bing Report Download when download fails due to "no data in report" (now returns a empty response)
Version 1.2.0v1.2.0
📋 Changes
- Overhaul of Google and Bing APIs
- Includes Google/Bing Campaign and AdGroup Management Features.
- Updated Readme with all Documentation for both Google/Bing
- Improved consistency between both Google/Bing
Version 1.1.6v1.1.6
📋 Changes
- Fixed new bid type method returns the correct types now.
Version 1.1.5v1.1.5
📋 Changes
- Added `Campaign Id` into Bing Ad Group response.
Version 1.1.4v1.1.4
📋 Changes
- Changed Bing Ad Group status from `Active` to `ENABLED` (matching GoogleAds)
- Fetching AdGroups now use the AdGroup Response object.
