Skip to content

Commit

Permalink
Release 18.0.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
Thang Duong committed May 24, 2017
1 parent e745ffd commit fe0cfce
Show file tree
Hide file tree
Showing 403 changed files with 31,448 additions and 14,222 deletions.
10 changes: 10 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
### 18.0.0

DFP:
- Added support and examples for v201705.
- Removed examples for v201608 (deprecated).
- Removed support for v201605 (sunset).

Common:
- Made user agents sent by non-SOAP utilities more informative.

### 17.0.0

AdWords:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
* limitations under the License.
*
* @package GoogleApiAdsDfp
* @subpackage v201608
* @subpackage v201705
* @category WebServices
* @copyright 2013, Google Inc. All Rights Reserved.
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache License,
Expand All @@ -46,7 +46,7 @@
$user->LogDefaults();

// Get the ActivityGroupService.
$activityGroupService = $user->GetService('ActivityGroupService', 'v201608');
$activityGroupService = $user->GetService('ActivityGroupService', 'v201705');

// Set the ID of the advertiser company this activity group is associated
// with.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
* limitations under the License.
*
* @package GoogleApiAdsDfp
* @subpackage v201608
* @subpackage v201705
* @category WebServices
* @copyright 2014, Google Inc. All Rights Reserved.
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache License,
Expand All @@ -35,7 +35,7 @@
set_include_path(get_include_path() . PATH_SEPARATOR . $path);

require_once 'Google/Api/Ads/Dfp/Lib/DfpUser.php';
require_once 'Google/Api/Ads/Dfp/Util/v201608/StatementBuilder.php';
require_once 'Google/Api/Ads/Dfp/Util/v201705/StatementBuilder.php';
require_once dirname(__FILE__) . '/../../../Common/ExampleUtils.php';

try {
Expand All @@ -47,7 +47,7 @@
$user->LogDefaults();

// Get the ActivityGroupService.
$activityGroupService = $user->GetService('ActivityGroupService', 'v201608');
$activityGroupService = $user->GetService('ActivityGroupService', 'v201705');

// Create a statement to select only active activity groups.
$statementBuilder = new StatementBuilder();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
* limitations under the License.
*
* @package GoogleApiAdsDfp
* @subpackage v201608
* @subpackage v201705
* @category WebServices
* @copyright 2014, Google Inc. All Rights Reserved.
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache License,
Expand All @@ -35,7 +35,7 @@
set_include_path(get_include_path() . PATH_SEPARATOR . $path);

require_once 'Google/Api/Ads/Dfp/Lib/DfpUser.php';
require_once 'Google/Api/Ads/Dfp/Util/v201608/StatementBuilder.php';
require_once 'Google/Api/Ads/Dfp/Util/v201705/StatementBuilder.php';
require_once dirname(__FILE__) . '/../../../Common/ExampleUtils.php';

try {
Expand All @@ -47,7 +47,7 @@
$user->LogDefaults();

// Get the ActivityGroupService.
$activityGroupService = $user->GetService('ActivityGroupService', 'v201608');
$activityGroupService = $user->GetService('ActivityGroupService', 'v201705');

// Create a statement to select all activity groups.
$statementBuilder = new StatementBuilder();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
* limitations under the License.
*
* @package GoogleApiAdsDfp
* @subpackage v201608
* @subpackage v201705
* @category WebServices
* @copyright 2014, Google Inc. All Rights Reserved.
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache License,
Expand All @@ -35,7 +35,7 @@
set_include_path(get_include_path() . PATH_SEPARATOR . $path);

require_once 'Google/Api/Ads/Dfp/Lib/DfpUser.php';
require_once 'Google/Api/Ads/Dfp/Util/v201608/StatementBuilder.php';
require_once 'Google/Api/Ads/Dfp/Util/v201705/StatementBuilder.php';
require_once dirname(__FILE__) . '/../../../Common/ExampleUtils.php';

// Set the ID of the activity group to update.
Expand All @@ -53,7 +53,7 @@
$user->LogDefaults();

// Get the ActivityGroupService.
$activityGroupService = $user->GetService('ActivityGroupService', 'v201608');
$activityGroupService = $user->GetService('ActivityGroupService', 'v201705');

// Create a statement to select a single activity group by ID.
$statementBuilder = new StatementBuilder();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
* limitations under the License.
*
* @package GoogleApiAdsDfp
* @subpackage v201608
* @subpackage v201705
* @category WebServices
* @copyright 2013, Google Inc. All Rights Reserved.
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache License,
Expand All @@ -46,7 +46,7 @@
$user->LogDefaults();

// Get the ActivityService.
$activityService = $user->GetService('ActivityService', 'v201608');
$activityService = $user->GetService('ActivityService', 'v201705');

// Set the ID of the activity group this activity is associated with.
$activityGroupId = 'INSERT_ACTIVITY_GROUP_ID_HERE';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
* limitations under the License.
*
* @package GoogleApiAdsDfp
* @subpackage v201608
* @subpackage v201705
* @category WebServices
* @copyright 2014, Google Inc. All Rights Reserved.
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache License,
Expand All @@ -35,7 +35,7 @@
set_include_path(get_include_path() . PATH_SEPARATOR . $path);

require_once 'Google/Api/Ads/Dfp/Lib/DfpUser.php';
require_once 'Google/Api/Ads/Dfp/Util/v201608/StatementBuilder.php';
require_once 'Google/Api/Ads/Dfp/Util/v201705/StatementBuilder.php';
require_once dirname(__FILE__) . '/../../../Common/ExampleUtils.php';

try {
Expand All @@ -47,7 +47,7 @@
$user->LogDefaults();

// Get the ActivityService.
$activityService = $user->GetService('ActivityService', 'v201608');
$activityService = $user->GetService('ActivityService', 'v201705');

// Create a statement to select only active activities.
$statementBuilder = new StatementBuilder();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
* limitations under the License.
*
* @package GoogleApiAdsDfp
* @subpackage v201608
* @subpackage v201705
* @category WebServices
* @copyright 2014, Google Inc. All Rights Reserved.
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache License,
Expand All @@ -35,7 +35,7 @@
set_include_path(get_include_path() . PATH_SEPARATOR . $path);

require_once 'Google/Api/Ads/Dfp/Lib/DfpUser.php';
require_once 'Google/Api/Ads/Dfp/Util/v201608/StatementBuilder.php';
require_once 'Google/Api/Ads/Dfp/Util/v201705/StatementBuilder.php';
require_once dirname(__FILE__) . '/../../../Common/ExampleUtils.php';

try {
Expand All @@ -47,7 +47,7 @@
$user->LogDefaults();

// Get the ActivityService.
$activityService = $user->GetService('ActivityService', 'v201608');
$activityService = $user->GetService('ActivityService', 'v201705');

// Create a statement to select all activities.
$statementBuilder = new StatementBuilder();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
* limitations under the License.
*
* @package GoogleApiAdsDfp
* @subpackage v201608
* @subpackage v201705
* @category WebServices
* @copyright 2014, Google Inc. All Rights Reserved.
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache License,
Expand All @@ -35,7 +35,7 @@
set_include_path(get_include_path() . PATH_SEPARATOR . $path);

require_once 'Google/Api/Ads/Dfp/Lib/DfpUser.php';
require_once 'Google/Api/Ads/Dfp/Util/v201608/StatementBuilder.php';
require_once 'Google/Api/Ads/Dfp/Util/v201705/StatementBuilder.php';
require_once dirname(__FILE__) . '/../../../Common/ExampleUtils.php';

// Set the ID of the activity to update.
Expand All @@ -50,7 +50,7 @@
$user->LogDefaults();

// Get the ActivityService.
$activityService = $user->GetService('ActivityService', 'v201608');
$activityService = $user->GetService('ActivityService', 'v201705');

// Create a statement to select a single activity by ID.
$statementBuilder = new StatementBuilder();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
* limitations under the License.
*
* @package GoogleApiAdsDfp
* @subpackage v201608
* @subpackage v201705
* @category WebServices
* @copyright 2013, Google Inc. All Rights Reserved.
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache License,
Expand All @@ -47,10 +47,10 @@

// Get the AudienceSegmentService.
$audienceSegmentService =
$user->GetService('AudienceSegmentService', 'v201608');
$user->GetService('AudienceSegmentService', 'v201705');

// Get the NetworkService.
$networkService = $user->GetService('NetworkService', 'v201608');
$networkService = $user->GetService('NetworkService', 'v201705');

// Set the IDs of the custom criteria to be used in the segment rule.
$customTargetingKeyId = 'INSERT_CUSTOM_TARGETING_KEY_ID_HERE';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
* limitations under the License.
*
* @package GoogleApiAdsDfp
* @subpackage v201608
* @subpackage v201705
* @category WebServices
* @copyright 2014, Google Inc. All Rights Reserved.
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache License,
Expand All @@ -35,7 +35,7 @@
set_include_path(get_include_path() . PATH_SEPARATOR . $path);

require_once 'Google/Api/Ads/Dfp/Lib/DfpUser.php';
require_once 'Google/Api/Ads/Dfp/Util/v201608/StatementBuilder.php';
require_once 'Google/Api/Ads/Dfp/Util/v201705/StatementBuilder.php';
require_once dirname(__FILE__) . '/../../../Common/ExampleUtils.php';

try {
Expand All @@ -48,7 +48,7 @@

// Get the AudienceSegmentService.
$audienceSegmentService = $user->GetService('AudienceSegmentService',
'v201608');
'v201705');

// Create a statement to select all audience segments.
$statementBuilder = new StatementBuilder();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
* limitations under the License.
*
* @package GoogleApiAdsDfp
* @subpackage v201608
* @subpackage v201705
* @category WebServices
* @copyright 2014, Google Inc. All Rights Reserved.
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache License,
Expand All @@ -35,7 +35,7 @@
set_include_path(get_include_path() . PATH_SEPARATOR . $path);

require_once 'Google/Api/Ads/Dfp/Lib/DfpUser.php';
require_once 'Google/Api/Ads/Dfp/Util/v201608/StatementBuilder.php';
require_once 'Google/Api/Ads/Dfp/Util/v201705/StatementBuilder.php';
require_once dirname(__FILE__) . '/../../../Common/ExampleUtils.php';

try {
Expand All @@ -48,7 +48,7 @@

// Get the AudienceSegmentService.
$audienceSegmentService = $user->GetService('AudienceSegmentService',
'v201608');
'v201705');

// Create a statement to select only first party audience segments.
$statementBuilder = new StatementBuilder();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
* limitations under the License.
*
* @package GoogleApiAdsDfp
* @subpackage v201608
* @subpackage v201705
* @category WebServices
* @copyright 2014, Google Inc. All Rights Reserved.
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache License,
Expand All @@ -35,7 +35,7 @@
set_include_path(get_include_path() . PATH_SEPARATOR . $path);

require_once 'Google/Api/Ads/Dfp/Lib/DfpUser.php';
require_once 'Google/Api/Ads/Dfp/Util/v201608/StatementBuilder.php';
require_once 'Google/Api/Ads/Dfp/Util/v201705/StatementBuilder.php';
require_once dirname(__FILE__) . '/../../../Common/ExampleUtils.php';

// Set the ID of the first party audience segment to populate.
Expand All @@ -51,7 +51,7 @@

// Get the AudienceSegmentService.
$audienceSegmentService =
$user->GetService('AudienceSegmentService', 'v201608');
$user->GetService('AudienceSegmentService', 'v201705');

// Create a statement to only select a specified first party audience
// segment.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
* limitations under the License.
*
* @package GoogleApiAdsDfp
* @subpackage v201608
* @subpackage v201705
* @category WebServices
* @copyright 2014, Google Inc. All Rights Reserved.
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache License,
Expand All @@ -36,7 +36,7 @@
set_include_path(get_include_path() . PATH_SEPARATOR . $path);

require_once 'Google/Api/Ads/Dfp/Lib/DfpUser.php';
require_once 'Google/Api/Ads/Dfp/Util/v201608/StatementBuilder.php';
require_once 'Google/Api/Ads/Dfp/Util/v201705/StatementBuilder.php';
require_once dirname(__FILE__) . '/../../../Common/ExampleUtils.php';

// Set the ID of the first party audience segment to update.
Expand All @@ -52,7 +52,7 @@

// Get the AudienceSegmentService.
$audienceSegmentService =
$user->GetService('AudienceSegmentService', 'v201608');
$user->GetService('AudienceSegmentService', 'v201705');

// Create a statement to select a single first party audience segment by ID.
$statementBuilder = new StatementBuilder();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
* limitations under the License.
*
* @package GoogleApiAdsDfp
* @subpackage v201608
* @subpackage v201705
* @category WebServices
* @copyright 2014, Google Inc. All Rights Reserved.
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache License,
Expand Down Expand Up @@ -52,7 +52,7 @@
$user->LogDefaults();

// Get the BaseRateService.
$baseRateService = $user->GetService('BaseRateService', 'v201608');
$baseRateService = $user->GetService('BaseRateService', 'v201705');

// Create a base rate for a product.
$productBaseRate = new ProductBaseRate();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
* limitations under the License.
*
* @package GoogleApiAdsDfp
* @subpackage v201608
* @subpackage v201705
* @category WebServices
* @copyright 2014, Google Inc. All Rights Reserved.
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache License,
Expand Down Expand Up @@ -52,7 +52,7 @@
$user->LogDefaults();

// Get the BaseRateService.
$baseRateService = $user->GetService('BaseRateService', 'v201608');
$baseRateService = $user->GetService('BaseRateService', 'v201705');

// Create a base rate for a product template.
$productTemplateBaseRate = new ProductTemplateBaseRate();
Expand Down
Loading

0 comments on commit fe0cfce

Please sign in to comment.