Skip to content

Commit 07e8b55

Browse files
authored
Merge pull request #48 from BingAds/jan-update
search size
2 parents e033fb4 + e2bcc79 commit 07e8b55

File tree

6 files changed

+34
-3
lines changed

6 files changed

+34
-3
lines changed

src/V11/CampaignManagement/AdGroupAdditionalField.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*/
1313
final class AdGroupAdditionalField
1414
{
15-
/** Includes the InheritedBidStrategyType element that can be nested within the BiddingScheme element of an AdGroup object. */
15+
/** Request that the InheritedBidStrategyType element be included within each returned InheritFromParentBiddingScheme object (nested within the BiddingScheme element of an AdGroup). */
1616
const InheritedBidStrategyType = 'InheritedBidStrategyType';
1717
}
1818

src/V11/CampaignManagement/AdStatus.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*/
1212
final class AdStatus
1313
{
14-
/** The ad is undergoing editorial review or has failed editorial review. */
14+
/** This status is read-only. */
1515
const Inactive = 'Inactive';
1616

1717
/** The ad can be served. */

src/V11/CampaignManagement/Audience.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,12 @@ class Audience
5858
*/
5959
public $Scope;
6060

61+
/**
62+
* The total number of people who belong to this audience.
63+
* @var integer
64+
*/
65+
public $SearchSize;
66+
6167
/**
6268
* The type of the audience.
6369
* @var AudienceType
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?php
2+
3+
namespace Microsoft\BingAds\V11\CampaignManagement;
4+
5+
{
6+
/**
7+
* Defines a list of optional Audience properties that you can request when calling GetAudiencesByIds.
8+
* @link https://docs.microsoft.com/en-us/bingads/campaign-management-service/audienceadditionalfield?view=bingads-11 AudienceAdditionalField Value Set
9+
*
10+
* @used-by GetAudiencesByIdsRequest
11+
*/
12+
final class AudienceAdditionalField
13+
{
14+
/** Request that the SearchSize element be included within each returned Audience object. */
15+
const SearchSize = 'SearchSize';
16+
}
17+
18+
}

src/V11/CampaignManagement/GetAudiencesByIdsRequest.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
* @link https://docs.microsoft.com/en-us/bingads/campaign-management-service/getaudiencesbyids?view=bingads-11 GetAudiencesByIds Request Object
99
*
1010
* @uses AudienceType
11+
* @uses AudienceAdditionalField
1112
* @used-by BingAdsCampaignManagementService::GetAudiencesByIds
1213
*/
1314
final class GetAudiencesByIdsRequest
@@ -23,5 +24,11 @@ final class GetAudiencesByIdsRequest
2324
* @var AudienceType
2425
*/
2526
public $Type;
27+
28+
/**
29+
* The list of additional properties that you want included within each returned Audience object.
30+
* @var AudienceAdditionalField
31+
*/
32+
public $ReturnAdditionalFields;
2633
}
2734
}

src/V11/CampaignManagement/KeywordAdditionalField.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
*/
1414
final class KeywordAdditionalField
1515
{
16-
/** Includes the InheritedBidStrategyType element that can be nested within the BiddingScheme element of an Keyword object. */
16+
/** Request that the InheritedBidStrategyType element be included within each returned InheritFromParentBiddingScheme object (nested within the BiddingScheme element of a Keyword). */
1717
const InheritedBidStrategyType = 'InheritedBidStrategyType';
1818
}
1919

0 commit comments

Comments
 (0)