Skip to content

Commit 5477af0

Browse files
committed
Preparing src for release 7.0.0
1 parent fdb07af commit 5477af0

File tree

115 files changed

+22160
-19843
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

115 files changed

+22160
-19843
lines changed

ChangeLog.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
### 7.0.0
2+
3+
AdWords:
4+
- Versioned ReportUtils.
5+
- Added XmlSerializer and XmlDeserializer.
6+
- Added BatchJobUtils for uploading batch operations and downloading the
7+
results from batch processing.
8+
- Added an example of adding campaigns using BatchJobService.
9+
10+
Common:
11+
- Fixed [issue #100](https://github.com/googleads/googleads-php-lib/issues/100).
12+
113
### 6.6.0
214

315
DFP:

examples/AdWords/v201506/CampaignManagement/SetBidModifier.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
*/
2828

2929
// Include the initialization file.
30-
require_once dirname(dirname(__FILE__)) . "/init.php";
30+
require_once dirname(dirname(__FILE__)) . '/init.php';
3131

3232
// Enter parameters required by the code example.
3333
$campaignId = 'INSERT_CAMPAIGN_ID_HERE';
@@ -42,7 +42,7 @@
4242
function SetBidModifierExample(AdWordsUser $user, $campaignId, $bidModifier) {
4343
// Get the CampaignCriterionService, also loads classes
4444
$campaignCriterionService =
45-
$user->GetService("CampaignCriterionService", ADWORDS_VERSION);
45+
$user->GetService('CampaignCriterionService', ADWORDS_VERSION);
4646

4747
// Create Mobile Platform. The ID can be found in the documentation.
4848
// https://developers.google.com/adwords/api/docs/appendix/platforms
@@ -57,7 +57,7 @@ function SetBidModifierExample(AdWordsUser $user, $campaignId, $bidModifier) {
5757

5858
// Create SET operation.
5959
$operation = new CampaignCriterionOperation();
60-
$operation->operator = "SET";
60+
$operation->operator = 'SET';
6161
$operation->operand = $criterion;
6262

6363
// Update campaign criteria.
@@ -77,11 +77,11 @@ function SetBidModifierExample(AdWordsUser $user, $campaignId, $bidModifier) {
7777

7878
return true;
7979
}
80-
print "No campaign criterias were modified.";
80+
print 'No campaign criterias were modified.';
8181
}
8282

8383
// Don't run the example if the file is being included.
84-
if (__FILE__ != realpath($_SERVER["PHP_SELF"])) {
84+
if (__FILE__ != realpath($_SERVER['PHP_SELF'])) {
8585
return;
8686
}
8787

examples/AdWords/v201506/Reporting/DownloadCriteriaReport.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@
2626

2727
// Include the initialization file
2828
require_once dirname(dirname(__FILE__)) . '/init.php';
29-
30-
require_once ADWORDS_UTIL_PATH . '/ReportUtils.php';
29+
require_once ADWORDS_UTIL_VERSION_PATH . '/ReportUtils.php';
3130

3231
/**
3332
* Runs the example.

examples/AdWords/v201506/Reporting/DownloadCriteriaReportWithAwql.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@
2828

2929
// Include the initialization file
3030
require_once dirname(dirname(__FILE__)) . '/init.php';
31-
32-
require_once ADWORDS_UTIL_PATH . '/ReportUtils.php';
31+
require_once ADWORDS_UTIL_VERSION_PATH . '/ReportUtils.php';
3332

3433
/**
3534
* Runs the example.

examples/AdWords/v201506/init.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
define('LIB_PATH', 'Google/Api/Ads/AdWords/Lib');
3434
define('UTIL_PATH', 'Google/Api/Ads/Common/Util');
3535
define('ADWORDS_UTIL_PATH', 'Google/Api/Ads/AdWords/Util');
36+
define('ADWORDS_UTIL_VERSION_PATH', 'Google/Api/Ads/AdWords/Util/v201506');
3637

3738
define('ADWORDS_VERSION', 'v201506');
3839

0 commit comments

Comments
 (0)