Skip to content

Commit 462ee6f

Browse files
authored
Merge pull request #197 from BingAds/v13.0.19
v13.0.19
2 parents 0a48a9a + 6030210 commit 462ee6f

File tree

121 files changed

+2546
-106
lines changed

Some content is hidden

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

121 files changed

+2546
-106
lines changed

src/Auth/OAuthAuthorization.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public function withRefreshToken($refreshToken) {
8181
/**
8282
* Includes the OAuth tokens.
8383
*
84-
* @param OAuthTokens $oauthTokens
84+
* @param string $oauthTokens
8585
* @return OAuthAuthorization this builder
8686
*/
8787
public function withOAuthTokens($oauthTokens) {

src/Auth/ServiceClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ private function RefreshServiceProxy()
242242
'features' => SOAP_SINGLE_ELEMENT_ARRAYS,
243243
// Disable keep_alive to avoid 'Process open FD table is full'
244244
'keep_alive' => FALSE,
245-
'user_agent' => 'BingAdsSDKPHP ' . '13.0.18 ' . PHP_VERSION,
245+
'user_agent' => 'BingAdsSDKPHP ' . '13.0.19 ' . PHP_VERSION,
246246
'cache_wsdl' => 'WSDL_CACHE_NONE',
247247

248248
/**

src/Auth/UriOAuthService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,4 +222,4 @@ public static function GetAuthorizeUrl($environment, $oauthScope, $tenant) {
222222

223223
return $authorizationEndpointUrl;
224224
}
225-
}
225+
}

src/V13/AdInsight/AgeEnum.php

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
<?php
2+
3+
namespace Microsoft\BingAds\V13\AdInsight;
4+
5+
{
6+
/**
7+
* Reserved.
8+
* @link https:/learn.microsoft.com/advertising/ad-insight-service/ageenum?view=bingads-13 AgeEnum Value Set
9+
*
10+
* @used-by SelectionOfAgeEnum
11+
*/
12+
final class AgeEnum
13+
{
14+
/** Reserved. */
15+
const Unknown = 'Unknown';
16+
17+
/** Reserved. */
18+
const ZeroToTwelve = 'ZeroToTwelve';
19+
20+
/** Reserved. */
21+
const ThirteenToSevenTeen = 'ThirteenToSevenTeen';
22+
23+
/** Reserved. */
24+
const EighteenToTwentyFour = 'EighteenToTwentyFour';
25+
26+
/** Reserved. */
27+
const TwentyFiveToThirtyFour = 'TwentyFiveToThirtyFour';
28+
29+
/** Reserved. */
30+
const ThirtyFiveToFourtyNine = 'ThirtyFiveToFourtyNine';
31+
32+
/** Reserved. */
33+
const FiftyToSixtyFour = 'FiftyToSixtyFour';
34+
35+
/** Reserved. */
36+
const SixtyFiveAndAbove = 'SixtyFiveAndAbove';
37+
}
38+
39+
}
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<?php
2+
3+
namespace Microsoft\BingAds\V13\AdInsight;
4+
5+
{
6+
/**
7+
* Apply a recommendation.
8+
* @link https:/learn.microsoft.com/advertising/ad-insight-service/applyrecommendationentity?view=bingads-13 ApplyRecommendationEntity Data Object
9+
*
10+
* @used-by ApplyRecommendationsRequest
11+
*/
12+
final class ApplyRecommendationEntity
13+
{
14+
/**
15+
* The identifier of the recommendation.
16+
* @var string
17+
*/
18+
public $RecommendationId;
19+
20+
/**
21+
* The type of recommendation: CAMPAIGN_BUDGET, KEYWORD or RESPONSIVE_SEARCH_AD.
22+
* @var string
23+
*/
24+
public $RecommendationType;
25+
}
26+
27+
}
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<?php
2+
3+
namespace Microsoft\BingAds\V13\AdInsight;
4+
5+
{
6+
/**
7+
* Apply one or more recommendations.
8+
* @link https:/learn.microsoft.com/advertising/ad-insight-service/applyrecommendations?view=bingads-13 ApplyRecommendations Request Object
9+
*
10+
* @uses ApplyRecommendationEntity
11+
* @used-by BingAdsAdInsightService::ApplyRecommendations
12+
*/
13+
final class ApplyRecommendationsRequest
14+
{
15+
/**
16+
* The list of operations to apply recommendations.
17+
* @var ApplyRecommendationEntity[]
18+
*/
19+
public $Entities;
20+
}
21+
}
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<?php
2+
3+
namespace Microsoft\BingAds\V13\AdInsight;
4+
5+
{
6+
/**
7+
* Apply one or more recommendations.
8+
* @link https:/learn.microsoft.com/advertising/ad-insight-service/applyrecommendations?view=bingads-13 ApplyRecommendations Response Object
9+
*
10+
* @uses BatchError
11+
* @used-by BingAdsAdInsightService::ApplyRecommendations
12+
*/
13+
final class ApplyRecommendationsResponse
14+
{
15+
/**
16+
* An array BatchError that contains details for any request items that were not successful.
17+
* @var BatchError[]
18+
*/
19+
public $PartialErrors;
20+
}
21+
}

src/V13/AdInsight/BatchError.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
* @link https:/learn.microsoft.com/advertising/ad-insight-service/batcherror?view=bingads-13 BatchError Data Object
99
*
1010
* @used-by ApiFaultDetail
11+
* @used-by ApplyRecommendationsResponse
12+
* @used-by DismissRecommendationsResponse
1113
* @used-by GetTextAssetSuggestionsByFinalUrlsResponse
1214
* @used-by SetAutoApplyOptInStatusResponse
1315
* @used-by TagRecommendationsResponse

src/V13/AdInsight/BudgetLimitType.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
* @link https:/learn.microsoft.com/advertising/ad-insight-service/budgetlimittype?view=bingads-13 BudgetLimitType Value Set
99
*
1010
* @used-by BudgetOpportunity
11+
* @used-by CampaignBudgetRecommendation
1112
*/
1213
final class BudgetLimitType
1314
{

src/V13/AdInsight/BudgetPoint.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
*
1010
* @uses BudgetPointType
1111
* @used-by BudgetOpportunity
12+
* @used-by CampaignBudgetRecommendation
1213
*/
1314
final class BudgetPoint
1415
{

0 commit comments

Comments
 (0)