Skip to content

Commit

Permalink
Merge pull request #178 from BingAds/v13.0.15.1
Browse files Browse the repository at this point in the history
13.0.15.1
  • Loading branch information
qitia authored Jan 5, 2023
2 parents 064b6d3 + bf55827 commit 12ba4e9
Show file tree
Hide file tree
Showing 128 changed files with 2,145 additions and 18 deletions.
4 changes: 2 additions & 2 deletions src/Auth/ServiceClient.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php
php

namespace Microsoft\BingAds\Auth;

Expand Down Expand Up @@ -242,7 +242,7 @@ private function RefreshServiceProxy()
'features' => SOAP_SINGLE_ELEMENT_ARRAYS,
// Disable keep_alive to avoid 'Process open FD table is full'
'keep_alive' => FALSE,
'user_agent' => 'BingAdsSDKPHP ' . '13.0.15 ' . PHP_VERSION,
'user_agent' => 'BingAdsSDKPHP ' . '13.0.15.1 ' . PHP_VERSION,
'cache_wsdl' => 'WSDL_CACHE_NONE',

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

{
/**
* Applies an add, update, or delete action to each of the specified BiddableAdGroupCriterion or NegativeAdGroupCriterion, which each contain a ProductPartition.
* Applies an add, update, or delete action to each of the specified BiddableAdGroupCriterion or NegativeAdGroupCriterion, which each contain a HotelGroup.
* @link https://docs.microsoft.com/en-us/advertising/campaign-management-service/applyhotelgroupactions?view=bingads-13 ApplyHotelGroupActions Request Object
*
* @uses AdGroupCriterionAction
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

{
/**
* Applies an add, update, or delete action to each of the specified BiddableAdGroupCriterion or NegativeAdGroupCriterion, which each contain a ProductPartition.
* Applies an add, update, or delete action to each of the specified BiddableAdGroupCriterion or NegativeAdGroupCriterion, which each contain a HotelGroup.
* @link https://docs.microsoft.com/en-us/advertising/campaign-management-service/applyhotelgroupactions?view=bingads-13 ApplyHotelGroupActions Response Object
*
* @uses BatchError
Expand Down
4 changes: 2 additions & 2 deletions src/V13/CampaignManagement/CommissionBiddingScheme.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@

{
/**
* Reserved.
* Defines an object that represents the commission bid strategy type (commission pay per stay).
* @link https://docs.microsoft.com/en-us/advertising/campaign-management-service/commissionbiddingscheme?view=bingads-13 CommissionBiddingScheme Data Object
*/
final class CommissionBiddingScheme extends BiddingScheme
{
/**
* Reserved.
* The commission rate charged to the advertiser when someone books a hotel and stays there.
* @var double
*/
public $CommissionRate;
Expand Down
4 changes: 2 additions & 2 deletions src/V13/CampaignManagement/PercentCpcBiddingScheme.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@

{
/**
* Reserved.
* Defines an object that represents the percent CPC bid strategy type (total hotel price per night, including taxes and fees).
* @link https://docs.microsoft.com/en-us/advertising/campaign-management-service/percentcpcbiddingscheme?view=bingads-13 PercentCpcBiddingScheme Data Object
*/
final class PercentCpcBiddingScheme extends BiddingScheme
{
/**
* Reserved.
* The maximum effective bid limit, in absolute form, at the campaign level.
* @var double
*/
public $MaxPercentCpc;
Expand Down
4 changes: 2 additions & 2 deletions src/V13/CampaignManagement/RateAmount.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@

{
/**
* Reserved.
* Defines an object that represents the rate amount in percentage form.
* @link https://docs.microsoft.com/en-us/advertising/campaign-management-service/rateamount?view=bingads-13 RateAmount Data Object
*
* @used-by RateBid
*/
final class RateAmount
{
/**
* Reserved.
* The rate amount in percentage form.
* @var double
*/
public $Amount;
Expand Down
4 changes: 2 additions & 2 deletions src/V13/CampaignManagement/RateBid.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

{
/**
* Reserved.
* Defines an object that represents the rate bid.
* @link https://docs.microsoft.com/en-us/advertising/campaign-management-service/ratebid?view=bingads-13 RateBid Data Object
*
* @uses RateAmount
Expand All @@ -13,7 +13,7 @@
final class RateBid extends CriterionBid
{
/**
* Reserved.
* Defines an object that represents the rate amount.
* @var RateAmount
*/
public $RateAmount;
Expand Down
21 changes: 21 additions & 0 deletions src/V13/CustomerBilling/AddInsertionOrderRequest.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?php

namespace Microsoft\BingAds\V13\CustomerBilling;

{
/**
* Adds an insertion order to the specified account.
* @link https://docs.microsoft.com/en-us/advertising/customer-billing-service/addinsertionorder?view=bingads-13 AddInsertionOrder Request Object
*
* @uses InsertionOrder
* @used-by BingAdsCustomerBillingService::AddInsertionOrder
*/
final class AddInsertionOrderRequest
{
/**
* An insertion order to add to the account.
* @var InsertionOrder
*/
public $InsertionOrder;
}
}
26 changes: 26 additions & 0 deletions src/V13/CustomerBilling/AddInsertionOrderResponse.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?php

namespace Microsoft\BingAds\V13\CustomerBilling;

{
/**
* Adds an insertion order to the specified account.
* @link https://docs.microsoft.com/en-us/advertising/customer-billing-service/addinsertionorder?view=bingads-13 AddInsertionOrder Response Object
*
* @used-by BingAdsCustomerBillingService::AddInsertionOrder
*/
final class AddInsertionOrderResponse
{
/**
* A long value that represents the identifier for the insertion order that was added.
* @var integer
*/
public $InsertionOrderId;

/**
* Identifies the server time in UTC when the insertion order was added.
* @var \DateTime
*/
public $CreateTime;
}
}
1 change: 1 addition & 0 deletions src/V13/CustomerBilling/BatchError.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
* @link https://docs.microsoft.com/en-us/advertising/customer-billing-service/batcherror?view=bingads-13 BatchError Data Object
*
* @used-by ApiBatchFault
* @used-by DispatchCouponsResponse
*/
final class BatchError
{
Expand Down
1 change: 1 addition & 0 deletions src/V13/CustomerBilling/BillingDocument.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
* @link https://docs.microsoft.com/en-us/advertising/customer-billing-service/billingdocument?view=bingads-13 BillingDocument Data Object
*
* @uses DataType
* @used-by GetBillingDocumentsResponse
*/
final class BillingDocument
{
Expand Down
3 changes: 3 additions & 0 deletions src/V13/CustomerBilling/BillingDocumentInfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
/**
* Defines a billing document identification object that contains information about a billing document, such as the billing document identifier, billing document amount, and account identifier.
* @link https://docs.microsoft.com/en-us/advertising/customer-billing-service/billingdocumentinfo?view=bingads-13 BillingDocumentInfo Data Object
*
* @used-by GetBillingDocumentsRequest
* @used-by GetBillingDocumentsInfoResponse
*/
final class BillingDocumentInfo
{
Expand Down
1 change: 1 addition & 0 deletions src/V13/CustomerBilling/Coupon.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
* @link https://docs.microsoft.com/en-us/advertising/customer-billing-service/coupon?view=bingads-13 Coupon Data Object
*
* @uses CouponRedemption
* @used-by SearchCouponsResponse
*/
final class Coupon
{
Expand Down
1 change: 1 addition & 0 deletions src/V13/CustomerBilling/DataType.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
* @link https://docs.microsoft.com/en-us/advertising/customer-billing-service/datatype?view=bingads-13 DataType Value Set
*
* @used-by BillingDocument
* @used-by GetBillingDocumentsRequest
*/
final class DataType
{
Expand Down
32 changes: 32 additions & 0 deletions src/V13/CustomerBilling/DispatchCouponsRequest.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?php

namespace Microsoft\BingAds\V13\CustomerBilling;

{
/**
* Dispatch coupons of the specified coupon class name owned by the specified customer.
* @link https://docs.microsoft.com/en-us/advertising/customer-billing-service/dispatchcoupons?view=bingads-13 DispatchCoupons Request Object
*
* @used-by BingAdsCustomerBillingService::DispatchCoupons
*/
final class DispatchCouponsRequest
{
/**
* Email addresses to which the coupons are dispatched.
* @var string[]
*/
public $SendToEmails;

/**
* The identifier of the customer that the coupon class belongs to.
* @var integer
*/
public $CustomerId;

/**
* The name of coupon class whose available coupons are dispatched.
* @var string
*/
public $CouponClassName;
}
}
21 changes: 21 additions & 0 deletions src/V13/CustomerBilling/DispatchCouponsResponse.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?php

namespace Microsoft\BingAds\V13\CustomerBilling;

{
/**
* Dispatch coupons of the specified coupon class name owned by the specified customer.
* @link https://docs.microsoft.com/en-us/advertising/customer-billing-service/dispatchcoupons?view=bingads-13 DispatchCoupons Response Object
*
* @uses BatchError
* @used-by BingAdsCustomerBillingService::DispatchCoupons
*/
final class DispatchCouponsResponse
{
/**
* An array of BatchError objects that correspond to any email addresses where the coupon code could not be sent to.
* @var BatchError[]
*/
public $PartialErrors;
}
}
26 changes: 26 additions & 0 deletions src/V13/CustomerBilling/GetAccountMonthlySpendRequest.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?php

namespace Microsoft\BingAds\V13\CustomerBilling;

{
/**
* Gets the amount spent by the account in the specified month.
* @link https://docs.microsoft.com/en-us/advertising/customer-billing-service/getaccountmonthlyspend?view=bingads-13 GetAccountMonthlySpend Request Object
*
* @used-by BingAdsCustomerBillingService::GetAccountMonthlySpend
*/
final class GetAccountMonthlySpendRequest
{
/**
* The identifier of the account that contains the spend information to get.
* @var integer
*/
public $AccountId;

/**
* The month and year for which you want to get the monthly spend information (the operation ignores the day and time values).
* @var \DateTime
*/
public $MonthYear;
}
}
20 changes: 20 additions & 0 deletions src/V13/CustomerBilling/GetAccountMonthlySpendResponse.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?php

namespace Microsoft\BingAds\V13\CustomerBilling;

{
/**
* Gets the amount spent by the account in the specified month.
* @link https://docs.microsoft.com/en-us/advertising/customer-billing-service/getaccountmonthlyspend?view=bingads-13 GetAccountMonthlySpend Response Object
*
* @used-by BingAdsCustomerBillingService::GetAccountMonthlySpend
*/
final class GetAccountMonthlySpendResponse
{
/**
* The amount spent by the account in the specified period.
* @var double
*/
public $Amount;
}
}
32 changes: 32 additions & 0 deletions src/V13/CustomerBilling/GetBillingDocumentsInfoRequest.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?php

namespace Microsoft\BingAds\V13\CustomerBilling;

{
/**
* Gets a list of objects that contains billing document identification information, for example the billing document identifier, amount, and account identifier.
* @link https://docs.microsoft.com/en-us/advertising/customer-billing-service/getbillingdocumentsinfo?view=bingads-13 GetBillingDocumentsInfo Request Object
*
* @used-by BingAdsCustomerBillingService::GetBillingDocumentsInfo
*/
final class GetBillingDocumentsInfoRequest
{
/**
* A list of identifiers of the accounts whose billing document information you want to get.
* @var integer[]
*/
public $AccountIds;

/**
* The start date to use for specifying the billing documents to get.
* @var \DateTime
*/
public $StartDate;

/**
* The end date to use for specifying the billing documents to get.
* @var \DateTime
*/
public $EndDate;
}
}
21 changes: 21 additions & 0 deletions src/V13/CustomerBilling/GetBillingDocumentsInfoResponse.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?php

namespace Microsoft\BingAds\V13\CustomerBilling;

{
/**
* Gets a list of objects that contains billing document identification information, for example the billing document identifier, amount, and account identifier.
* @link https://docs.microsoft.com/en-us/advertising/customer-billing-service/getbillingdocumentsinfo?view=bingads-13 GetBillingDocumentsInfo Response Object
*
* @uses BillingDocumentInfo
* @used-by BingAdsCustomerBillingService::GetBillingDocumentsInfo
*/
final class GetBillingDocumentsInfoResponse
{
/**
* The list of billing document information objects that were retrieved.
* @var BillingDocumentInfo[]
*/
public $BillingDocumentsInfo;
}
}
28 changes: 28 additions & 0 deletions src/V13/CustomerBilling/GetBillingDocumentsRequest.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?php

namespace Microsoft\BingAds\V13\CustomerBilling;

{
/**
* Gets the specified billing documents.
* @link https://docs.microsoft.com/en-us/advertising/customer-billing-service/getbillingdocuments?view=bingads-13 GetBillingDocuments Request Object
*
* @uses BillingDocumentInfo
* @uses DataType
* @used-by BingAdsCustomerBillingService::GetBillingDocuments
*/
final class GetBillingDocumentsRequest
{
/**
* Identifies the list of billing documents that you want to get.
* @var BillingDocumentInfo[]
*/
public $BillingDocumentsInfo;

/**
* The format to use to generate the billing document.
* @var DataType
*/
public $Type;
}
}
Loading

0 comments on commit 12ba4e9

Please sign in to comment.