Skip to content

Commit

Permalink
Release 39.0.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
fiboknacky committed Jan 24, 2019
1 parent 6d51865 commit 656650c
Show file tree
Hide file tree
Showing 9,424 changed files with 822 additions and 317,299 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
Empty file modified .gitattributes
100644 → 100755
Empty file.
Empty file modified .gitignore
100644 → 100755
Empty file.
Empty file modified .travis.yml
100644 → 100755
Empty file.
18 changes: 18 additions & 0 deletions CHANGELOG.md
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
### 39.0.0

##### AdWords

* Removed support and examples for v201802. See deprecation
schedule at: https://developers.google.com/adwords/api/docs/sunset-dates

##### Ad Manager

* Added CreateVideoLineItems example for v201811.
* Fixed null pointer exception when the `getAllNetworks` function returns
null in the `GetAllNetworks` examples for v201811, v201808 and v201805.

##### Common

* Updated GuzzleLogMessageHandler to support both logging response body.
* Updated `composer.json` to require the minimum PHP version of 5.6.

### 38.0.0

##### AdWords
Expand Down
Empty file modified CONTRIBUTING.md
100644 → 100755
Empty file.
Empty file modified LICENSE
100644 → 100755
Empty file.
Empty file modified README.md
100644 → 100755
Empty file.
Empty file modified UPGRADING.md
100644 → 100755
Empty file.
Empty file modified check_conditions.php
100644 → 100755
Empty file.
6 changes: 3 additions & 3 deletions composer.json
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "googleads/googleads-php-lib",
"description": "Google Ads APIs Client Library for PHP (AdWords and Ad Manager)",
"require": {
"php": ">=5.5.9",
"php": ">=5.6",
"ext-mbstring": "*",
"ext-openssl": "*",
"ext-soap": "*",
Expand All @@ -14,12 +14,12 @@
"symfony/serializer": "^2.8.0 || ^3.0.3 || ^4.0.0"
},
"require-dev": {
"php": ">=5.5.17",
"php": ">=5.6",
"phpunit/phpunit": "^4.8.35 || ^5.7",
"squizlabs/php_codesniffer": "^2.9 || ^3.2"
},
"suggest": {
"php-64bit": ">=5.5.9"
"php-64bit": ">=5.6"
},
"homepage": "https://github.com/googleads/googleads-php-lib",
"license": "Apache-2.0",
Expand Down
Empty file modified examples/AdManager/adsapi_php.ini
100644 → 100755
Empty file.
Empty file.
Empty file.
Empty file.
Empty file modified examples/AdManager/v201805/ActivityService/GetAllActivities.php
100644 → 100755
Empty file.
Empty file.
Empty file.
Empty file modified examples/AdManager/v201805/BaseRateService/GetAllBaseRates.php
100644 → 100755
Empty file.
Empty file.
Empty file.
Empty file.
Empty file modified examples/AdManager/v201805/CompanyService/CreateCompanies.php
100644 → 100755
Empty file.
Empty file modified examples/AdManager/v201805/CompanyService/GetAdvertisers.php
100644 → 100755
Empty file.
Empty file modified examples/AdManager/v201805/CompanyService/GetAllCompanies.php
100644 → 100755
Empty file.
Empty file modified examples/AdManager/v201805/ContactService/GetAllContacts.php
100644 → 100755
Empty file.
Empty file.
Empty file.
Empty file modified examples/AdManager/v201805/ContentService/GetAllContent.php
100644 → 100755
Empty file.
Empty file modified examples/AdManager/v201805/CreativeService/CreateCreatives.php
100644 → 100755
Empty file.
Empty file.
Empty file modified examples/AdManager/v201805/CreativeService/GetAllCreatives.php
100644 → 100755
Empty file.
Empty file.
Empty file modified examples/AdManager/v201805/CreativeService/UpdateCreatives.php
100644 → 100755
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file modified examples/AdManager/v201805/InventoryService/ArchiveAdUnits.php
100644 → 100755
Empty file.
Empty file modified examples/AdManager/v201805/InventoryService/CreateAdUnits.php
100644 → 100755
Empty file.
Empty file.
Empty file.
Empty file modified examples/AdManager/v201805/InventoryService/GetAllAdUnits.php
100644 → 100755
Empty file.
Empty file.
Empty file modified examples/AdManager/v201805/LabelService/GetActiveLabels.php
100644 → 100755
Empty file.
Empty file modified examples/AdManager/v201805/LabelService/GetAllLabels.php
100644 → 100755
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file modified examples/AdManager/v201805/LineItemService/CreateLineItems.php
100644 → 100755
Empty file.
Empty file.
Empty file modified examples/AdManager/v201805/LineItemService/GetAllLineItems.php
100644 → 100755
Empty file.
Empty file.
Empty file.
Empty file modified examples/AdManager/v201805/LineItemService/PauseLineItems.php
100644 → 100755
Empty file.
Empty file modified examples/AdManager/v201805/LineItemService/UpdateLineItems.php
100644 → 100755
Empty file.
Empty file.
Empty file.
5 changes: 5 additions & 0 deletions examples/AdManager/v201805/NetworkService/GetAllNetworks.php
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,11 @@ public static function runExample(
// authentication credentials.
$networks = $networkService->getAllNetworks();

if (empty($networks)) {
printf('No accessible networks found.' . PHP_EOL);
return;
}

// Print out some information for each network.
foreach ($networks as $i => $network) {
printf(
Expand Down
Empty file modified examples/AdManager/v201805/NetworkService/GetCurrentNetwork.php
100644 → 100755
Empty file.
Empty file modified examples/AdManager/v201805/NetworkService/MakeTestNetwork.php
100644 → 100755
Empty file.
Empty file modified examples/AdManager/v201805/OrderService/ApproveOrders.php
100644 → 100755
Empty file.
Empty file modified examples/AdManager/v201805/OrderService/CreateOrders.php
100644 → 100755
Empty file.
Empty file modified examples/AdManager/v201805/OrderService/GetAllOrders.php
100644 → 100755
Empty file.
Empty file.
Empty file modified examples/AdManager/v201805/OrderService/UpdateOrders.php
100644 → 100755
Empty file.
Empty file modified examples/AdManager/v201805/PackageService/GetAllPackages.php
100644 → 100755
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file modified examples/AdManager/v201805/ProductService/GetAllProducts.php
100644 → 100755
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file modified examples/AdManager/v201805/ProposalService/CreateProposals.php
100644 → 100755
Empty file.
Empty file modified examples/AdManager/v201805/ProposalService/GetAllProposals.php
100644 → 100755
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file modified examples/AdManager/v201805/RateCardService/GetAllRateCards.php
100644 → 100755
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file modified examples/AdManager/v201805/ReportService/RunInventoryReport.php
100644 → 100755
Empty file.
Empty file modified examples/AdManager/v201805/ReportService/RunReachReport.php
100644 → 100755
Empty file.
Empty file.
Empty file modified examples/AdManager/v201805/ReportService/RunSavedQuery.php
100644 → 100755
Empty file.
Empty file.
Empty file.
Empty file.
Empty file modified examples/AdManager/v201805/TeamService/CreateTeams.php
100644 → 100755
Empty file.
Empty file modified examples/AdManager/v201805/TeamService/GetAllTeams.php
100644 → 100755
Empty file.
Empty file modified examples/AdManager/v201805/UserService/CreateUsers.php
100644 → 100755
Empty file.
Empty file modified examples/AdManager/v201805/UserService/DeactivateUsers.php
100644 → 100755
Empty file.
Empty file modified examples/AdManager/v201805/UserService/GetAllRoles.php
100644 → 100755
Empty file.
Empty file modified examples/AdManager/v201805/UserService/GetAllUsers.php
100644 → 100755
Empty file.
Empty file modified examples/AdManager/v201805/UserService/GetCurrentUser.php
100644 → 100755
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file modified examples/AdManager/v201808/ActivityService/GetAllActivities.php
100644 → 100755
Empty file.
Empty file.
Empty file.
Empty file modified examples/AdManager/v201808/BaseRateService/GetAllBaseRates.php
100644 → 100755
Empty file.
Empty file.
Empty file.
Empty file.
Empty file modified examples/AdManager/v201808/CompanyService/CreateCompanies.php
100644 → 100755
Empty file.
Empty file modified examples/AdManager/v201808/CompanyService/GetAdvertisers.php
100644 → 100755
Empty file.
Empty file modified examples/AdManager/v201808/CompanyService/GetAllCompanies.php
100644 → 100755
Empty file.
Empty file modified examples/AdManager/v201808/ContactService/GetAllContacts.php
100644 → 100755
Empty file.
Empty file.
Empty file.
Empty file modified examples/AdManager/v201808/ContentService/GetAllContent.php
100644 → 100755
Empty file.
Empty file modified examples/AdManager/v201808/CreativeService/CreateCreatives.php
100644 → 100755
Empty file.
Empty file.
Empty file modified examples/AdManager/v201808/CreativeService/GetAllCreatives.php
100644 → 100755
Empty file.
Empty file.
Empty file modified examples/AdManager/v201808/CreativeService/UpdateCreatives.php
100644 → 100755
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file modified examples/AdManager/v201808/InventoryService/ArchiveAdUnits.php
100644 → 100755
Empty file.
Empty file modified examples/AdManager/v201808/InventoryService/CreateAdUnits.php
100644 → 100755
Empty file.
Empty file.
Empty file.
Empty file modified examples/AdManager/v201808/InventoryService/GetAllAdUnits.php
100644 → 100755
Empty file.
Empty file.
Empty file modified examples/AdManager/v201808/LabelService/GetActiveLabels.php
100644 → 100755
Empty file.
Empty file modified examples/AdManager/v201808/LabelService/GetAllLabels.php
100644 → 100755
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file modified examples/AdManager/v201808/LineItemService/CreateLineItems.php
100644 → 100755
Empty file.
Empty file.
Empty file modified examples/AdManager/v201808/LineItemService/GetAllLineItems.php
100644 → 100755
Empty file.
Empty file.
Empty file.
Empty file modified examples/AdManager/v201808/LineItemService/PauseLineItems.php
100644 → 100755
Empty file.
Empty file modified examples/AdManager/v201808/LineItemService/UpdateLineItems.php
100644 → 100755
Empty file.
Empty file.
Empty file.
5 changes: 5 additions & 0 deletions examples/AdManager/v201808/NetworkService/GetAllNetworks.php
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,11 @@ public static function runExample(
// authentication credentials.
$networks = $networkService->getAllNetworks();

if (empty($networks)) {
printf('No accessible networks found.' . PHP_EOL);
return;
}

// Print out some information for each network.
foreach ($networks as $i => $network) {
printf(
Expand Down
Empty file modified examples/AdManager/v201808/NetworkService/GetCurrentNetwork.php
100644 → 100755
Empty file.
Empty file modified examples/AdManager/v201808/NetworkService/MakeTestNetwork.php
100644 → 100755
Empty file.
Empty file modified examples/AdManager/v201808/OrderService/ApproveOrders.php
100644 → 100755
Empty file.
Empty file modified examples/AdManager/v201808/OrderService/CreateOrders.php
100644 → 100755
Empty file.
Empty file modified examples/AdManager/v201808/OrderService/GetAllOrders.php
100644 → 100755
Empty file.
Empty file.
Empty file modified examples/AdManager/v201808/OrderService/UpdateOrders.php
100644 → 100755
Empty file.
Empty file modified examples/AdManager/v201808/PackageService/GetAllPackages.php
100644 → 100755
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file modified examples/AdManager/v201808/ProductService/GetAllProducts.php
100644 → 100755
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file modified examples/AdManager/v201808/ProposalService/CreateProposals.php
100644 → 100755
Empty file.
Empty file modified examples/AdManager/v201808/ProposalService/GetAllProposals.php
100644 → 100755
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file modified examples/AdManager/v201808/RateCardService/GetAllRateCards.php
100644 → 100755
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file modified examples/AdManager/v201808/ReportService/RunInventoryReport.php
100644 → 100755
Empty file.
Empty file modified examples/AdManager/v201808/ReportService/RunReachReport.php
100644 → 100755
Empty file.
Empty file.
Empty file modified examples/AdManager/v201808/ReportService/RunSavedQuery.php
100644 → 100755
Empty file.
Empty file.
Empty file.
Empty file.
Empty file modified examples/AdManager/v201808/TeamService/CreateTeams.php
100644 → 100755
Empty file.
Empty file modified examples/AdManager/v201808/TeamService/GetAllTeams.php
100644 → 100755
Empty file.
Empty file modified examples/AdManager/v201808/UserService/CreateUsers.php
100644 → 100755
Empty file.
Empty file modified examples/AdManager/v201808/UserService/DeactivateUsers.php
100644 → 100755
Empty file.
Empty file modified examples/AdManager/v201808/UserService/GetAllRoles.php
100644 → 100755
Empty file.
Empty file modified examples/AdManager/v201808/UserService/GetAllUsers.php
100644 → 100755
Empty file.
Empty file modified examples/AdManager/v201808/UserService/GetCurrentUser.php
100644 → 100755
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file modified examples/AdManager/v201811/ActivityService/GetAllActivities.php
100644 → 100755
Empty file.
Empty file.
Empty file.
Empty file modified examples/AdManager/v201811/BaseRateService/GetAllBaseRates.php
100644 → 100755
Empty file.
Loading

0 comments on commit 656650c

Please sign in to comment.