Skip to content

Commit ce85134

Browse files
committed
Preparing src for release 10.1.0
1 parent 4d712ef commit ce85134

File tree

187 files changed

+253704
-58
lines changed

Some content is hidden

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

187 files changed

+253704
-58
lines changed

ChangeLog.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
### 10.1.0
2+
3+
AdWords:
4+
- Added support and examples for v201607.
5+
16
### 10.0.0
27

38
AdWords:

examples/AdWords/v201601/AdvancedOperations/UseSharedBiddingStrategy.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ function CreateBiddingStrategy(AdWordsUser $user) {
6464

6565
$biddingScheme = new TargetSpendBiddingScheme();
6666
// Optionally set additional bidding scheme parameters.
67-
$biddingScheme->bidCeiling = new Money('2000000');
68-
$biddingScheme->spendTarget = new Money('20000000');
67+
$biddingScheme->bidCeiling = new Money(2000000);
68+
$biddingScheme->spendTarget = new Money(20000000);
6969

7070
$sharedBiddingStrategy->biddingScheme = $biddingScheme;
7171

examples/AdWords/v201601/BasicOperations/UpdateAdGroup.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ function UpdateAdGroupExample(AdWordsUser $user, $adGroupId) {
4646

4747
// Update the bid.
4848
$bid = new CpcBid();
49-
$bid->bid = new Money(0.75 * AdWordsConstants::MICROS_PER_DOLLAR);
49+
$bid->bid = new Money(intval(0.75 * AdWordsConstants::MICROS_PER_DOLLAR));
5050
$biddingStrategyConfiguration = new BiddingStrategyConfiguration();
5151
$biddingStrategyConfiguration->bids[] = $bid;
5252
$adGroup->biddingStrategyConfiguration = $biddingStrategyConfiguration;

examples/AdWords/v201601/Remarketing/AddCrmBasedUserList.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
3-
* This example adds a remarketing user list (a.k.a. audience) and uploads
4-
* hashed email addresses to populate the list.
3+
* This example adds a user list (a.k.a. audience) and uploads hashed email
4+
* addresses to populate the list.
55
*
66
* <p>
77
* <em>Note:</em> It may take up to several hours for the list to be populated
@@ -52,7 +52,7 @@ function AddCrmBasedUserList(AdWordsUser $user, array $EMAILS) {
5252
$userListService = $user->GetService('AdwordsUserListService',
5353
ADWORDS_VERSION);
5454

55-
// Create remarketing user list.
55+
// Create a user list.
5656
$userList = new CrmBasedUserList();
5757
$userList->name = 'Customer relationship management list #' . uniqid();
5858
$userList->description =

examples/AdWords/v201603/AdvancedOperations/UsePortfolioBiddingStrategy.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ function CreateBiddingStrategy(AdWordsUser $user) {
6464

6565
$biddingScheme = new TargetSpendBiddingScheme();
6666
// Optionally set additional bidding scheme parameters.
67-
$biddingScheme->bidCeiling = new Money('2000000');
68-
$biddingScheme->spendTarget = new Money('20000000');
67+
$biddingScheme->bidCeiling = new Money(2000000);
68+
$biddingScheme->spendTarget = new Money(20000000);
6969

7070
$biddingStrategy->biddingScheme = $biddingScheme;
7171

examples/AdWords/v201603/BasicOperations/UpdateAdGroup.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ function UpdateAdGroupExample(AdWordsUser $user, $adGroupId) {
4646

4747
// Update the bid.
4848
$bid = new CpcBid();
49-
$bid->bid = new Money(0.75 * AdWordsConstants::MICROS_PER_DOLLAR);
49+
$bid->bid = new Money(intval(0.75 * AdWordsConstants::MICROS_PER_DOLLAR));
5050
$biddingStrategyConfiguration = new BiddingStrategyConfiguration();
5151
$biddingStrategyConfiguration->bids[] = $bid;
5252
$adGroup->biddingStrategyConfiguration = $biddingStrategyConfiguration;

examples/AdWords/v201603/Remarketing/AddCrmBasedUserList.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
3-
* This example adds a remarketing user list (a.k.a. audience) and uploads
4-
* hashed email addresses to populate the list.
3+
* This example adds a user list (a.k.a. audience) and uploads hashed email
4+
* addresses to populate the list.
55
*
66
* <p>
77
* <em>Note:</em> It may take up to several hours for the list to be populated
@@ -52,7 +52,7 @@ function AddCrmBasedUserList(AdWordsUser $user, array $EMAILS) {
5252
$userListService = $user->GetService('AdwordsUserListService',
5353
ADWORDS_VERSION);
5454

55-
// Create remarketing user list.
55+
// Create a user list.
5656
$userList = new CrmBasedUserList();
5757
$userList->name = 'Customer relationship management list #' . uniqid();
5858
$userList->description =

examples/AdWords/v201605/AdvancedOperations/UsePortfolioBiddingStrategy.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ function CreateBiddingStrategy(AdWordsUser $user) {
6464

6565
$biddingScheme = new TargetSpendBiddingScheme();
6666
// Optionally set additional bidding scheme parameters.
67-
$biddingScheme->bidCeiling = new Money('2000000');
68-
$biddingScheme->spendTarget = new Money('20000000');
67+
$biddingScheme->bidCeiling = new Money(2000000);
68+
$biddingScheme->spendTarget = new Money(20000000);
6969

7070
$biddingStrategy->biddingScheme = $biddingScheme;
7171

examples/AdWords/v201605/BasicOperations/UpdateAdGroup.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ function UpdateAdGroupExample(AdWordsUser $user, $adGroupId) {
4646

4747
// Update the bid.
4848
$bid = new CpcBid();
49-
$bid->bid = new Money(0.75 * AdWordsConstants::MICROS_PER_DOLLAR);
49+
$bid->bid = new Money(intval(0.75 * AdWordsConstants::MICROS_PER_DOLLAR));
5050
$biddingStrategyConfiguration = new BiddingStrategyConfiguration();
5151
$biddingStrategyConfiguration->bids[] = $bid;
5252
$adGroup->biddingStrategyConfiguration = $biddingStrategyConfiguration;

examples/AdWords/v201605/Remarketing/AddCrmBasedUserList.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
3-
* This example adds a remarketing user list (a.k.a. audience) and uploads
4-
* hashed email addresses to populate the list.
3+
* This example adds a user list (a.k.a. audience) and uploads hashed email
4+
* addresses to populate the list.
55
*
66
* <p>
77
* <em>Note:</em> It may take up to several hours for the list to be populated
@@ -52,7 +52,7 @@ function AddCrmBasedUserList(AdWordsUser $user, array $EMAILS) {
5252
$userListService = $user->GetService('AdwordsUserListService',
5353
ADWORDS_VERSION);
5454

55-
// Create remarketing user list.
55+
// Create a user list.
5656
$userList = new CrmBasedUserList();
5757
$userList->name = 'Customer relationship management list #' . uniqid();
5858
$userList->description =

0 commit comments

Comments
 (0)