Skip to content

Commit

Permalink
Merge pull request #205 from BingAds/v13.0.23
Browse files Browse the repository at this point in the history
v13.0.23
  • Loading branch information
xinyuwen2 authored Nov 22, 2024
2 parents 59902e3 + 72f3679 commit 7d0b9d2
Show file tree
Hide file tree
Showing 320 changed files with 859 additions and 3,593 deletions.
2 changes: 1 addition & 1 deletion src/Auth/ServiceClient.php
Original file line number Diff line number Diff line change
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.21.1 ' . PHP_VERSION,
'user_agent' => 'BingAdsSDKPHP ' . '13.0.23 ' . PHP_VERSION,
'cache_wsdl' => 'WSDL_CACHE_NONE',

/**
Expand Down
21 changes: 0 additions & 21 deletions src/V13/AdInsight/AgeEnum.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,36 +3,15 @@
namespace Microsoft\BingAds\V13\AdInsight;

{
/**
* Defines a value set of age ranges.
* @link https:/learn.microsoft.com/advertising/ad-insight-service/ageenum?view=bingads-13 AgeEnum Value Set
*
* @used-by SelectionOfAgeEnum
*/
final class AgeEnum
{
/** The age range is unknown. */
const Unknown = 'Unknown';

/** The age range is 0 to 12. */
const ZeroToTwelve = 'ZeroToTwelve';

/** The age range is 13 to 17. */
const ThirteenToSevenTeen = 'ThirteenToSevenTeen';

/** The age range is 18 to 24. */
const EighteenToTwentyFour = 'EighteenToTwentyFour';

/** The age range is 25 to 34. */
const TwentyFiveToThirtyFour = 'TwentyFiveToThirtyFour';

/** The age range is 35 to 49. */
const ThirtyFiveToFourtyNine = 'ThirtyFiveToFourtyNine';

/** The age range is 50 to 64. */
const FiftyToSixtyFour = 'FiftyToSixtyFour';

/** The age range is above 65. */
const SixtyFiveAndAbove = 'SixtyFiveAndAbove';
}

Expand Down
15 changes: 0 additions & 15 deletions src/V13/AdInsight/ApplyRecommendationEntity.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,9 @@
namespace Microsoft\BingAds\V13\AdInsight;

{
/**
* Apply a recommendation.
* @link https:/learn.microsoft.com/advertising/ad-insight-service/applyrecommendationentity?view=bingads-13 ApplyRecommendationEntity Data Object
*
* @used-by ApplyRecommendationsRequest
*/
final class ApplyRecommendationEntity
{
/**
* The identifier of the recommendation.
* @var string
*/
public $RecommendationId;

/**
* The type of recommendation: CAMPAIGN_BUDGET, KEYWORD or RESPONSIVE_SEARCH_AD.
* @var string
*/
public $RecommendationType;
}

Expand Down
11 changes: 0 additions & 11 deletions src/V13/AdInsight/ApplyRecommendationsRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,8 @@
namespace Microsoft\BingAds\V13\AdInsight;

{
/**
* Apply one or more recommendations.
* @link https:/learn.microsoft.com/advertising/ad-insight-service/applyrecommendations?view=bingads-13 ApplyRecommendations Request Object
*
* @uses ApplyRecommendationEntity
* @used-by BingAdsAdInsightService::ApplyRecommendations
*/
final class ApplyRecommendationsRequest
{
/**
* The list of operations to apply recommendations.
* @var ApplyRecommendationEntity[]
*/
public $Entities;
}
}
11 changes: 0 additions & 11 deletions src/V13/AdInsight/ApplyRecommendationsResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,8 @@
namespace Microsoft\BingAds\V13\AdInsight;

{
/**
* Apply one or more recommendations.
* @link https:/learn.microsoft.com/advertising/ad-insight-service/applyrecommendations?view=bingads-13 ApplyRecommendations Response Object
*
* @uses BatchError
* @used-by BingAdsAdInsightService::ApplyRecommendations
*/
final class ApplyRecommendationsResponse
{
/**
* An array BatchError that contains details for any request items that were not successful.
* @var BatchError[]
*/
public $PartialErrors;
}
}
26 changes: 0 additions & 26 deletions src/V13/AdInsight/CampaignBudgetRecommendation.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,37 +3,11 @@
namespace Microsoft\BingAds\V13\AdInsight;

{
/**
* Defines the CampaignBudgetRecommendation data object.
* @link https:/learn.microsoft.com/advertising/ad-insight-service/campaignbudgetrecommendation?view=bingads-13 CampaignBudgetRecommendation Data Object
*
* @uses BudgetPoint
* @uses BudgetLimitType
*/
final class CampaignBudgetRecommendation extends RecommendationBase
{
/**
* The list of budget points with weekly impressions, clicks and cost estimates for the given budget amount.
* @var BudgetPoint[]
*/
public $BudgetPoints;

/**
* The type of budget that the campaign uses.
* @var BudgetLimitType
*/
public $BudgetType;

/**
* The current budget amount.
* @var double
*/
public $CurrentBudget;

/**
* The recommended budget amount based on the last 15 days of performance history for the corresponding campaign.
* @var double
*/
public $RecommendedBudget;
}

Expand Down
94 changes: 0 additions & 94 deletions src/V13/AdInsight/Currency.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,145 +3,51 @@
namespace Microsoft\BingAds\V13\AdInsight;

{
/**
* Defines a value set of currencies.
* @link https:/learn.microsoft.com/advertising/ad-insight-service/currency?view=bingads-13 Currency Value Set
*
* @used-by GetAudienceFullEstimationRequest
* @used-by GetAudienceFullEstimationResponse
*/
final class Currency
{
/** Unspecified currency. */
const UnSpecify = 'UnSpecify';

/** The Algerian Dinar (DZD). */
const AlgerianDinar = 'AlgerianDinar';

/** The Argentine Peso (ARS). */
const ArgentinePeso = 'ArgentinePeso';

/** The Australian Dollar (AUD). */
const AustralianDollar = 'AustralianDollar';

/** The Thai Baht (THB). */
const Baht = 'Baht';

/** The Venezuelan Bolivar Fuerte (VEF). */
const Bolivar = 'Bolivar';

/** The Brazilian Real (BRL). */
const BrazilianReal = 'BrazilianReal';

/** The Canadian Dollar (CAD). */
const CanadianDollar = 'CanadianDollar';

/** The Chilean Peso (CLP). */
const ChileanPeso = 'ChileanPeso';

/** The Colombian Peso (COP). */
const ColombianPeso = 'ColombianPeso';

/** The Czech Koruna (CZK). */
const CzechKoruna = 'CzechKoruna';

/** The Danish Krone (DKK). */
const DanishKrone = 'DanishKrone';

/** The Vietnamese Dong (VND). */
const Dong = 'Dong';

/** The Egyptian Pound (EGP). */
const EgyptianPound = 'EgyptianPound';

/** The Euro (EUR). */
const EURO = 'EURO';

/** The Hungarian Forint (HUF). */
const Forint = 'Forint';

/** The Hong Kong Dollar (HKD). */
const HongKongDollar = 'HongKongDollar';

/** The Indian Rupee (INR). */
const IndianRupee = 'IndianRupee';

/** The Japanese Yen (JPY). */
const JapaneseYen = 'JapaneseYen';

/** The Lebanese Pound (LBP). */
const LebanesePound = 'LebanesePound';

/** The Malaysian Ringgit (MYR). */
const MalaysianRinggit = 'MalaysianRinggit';

/** The Mexican Peso (MXN). */
const MexicanPeso = 'MexicanPeso';

/** The Moroccan Dirham (MAD). */
const MoroccanDirham = 'MoroccanDirham';

/** The New Taiwan Dollar (TWD). */
const NewTaiwanDollar = 'NewTaiwanDollar';

/** The New Zealand Dollar (NZD). */
const NewZealandDollar = 'NewZealandDollar';

/** The Norwegian Krone (NOK). */
const NorwegianKrone = 'NorwegianKrone';

/** The Peruvian Nuevo Sol (NOK). */
const NuevoSol = 'NuevoSol';

/** The Philippine Peso (PHP). */
const PhilippinePeso = 'PhilippinePeso';

/** The Qatari Rial (QAR). */
const QatariRial = 'QatariRial';

/** The Indonesian Rupiah (IDR). */
const Rupiah = 'Rupiah';

/** The Saudi Riyal (SAR). */
const SaudiRiyal = 'SaudiRiyal';

/** The Singapore Dollar (SGD). */
const SingaporeDollar = 'SingaporeDollar';

/** The South African Rand (ZAR). */
const SouthAfricanRand = 'SouthAfricanRand';

/** The Swedish Krona (SEK). */
const SwedishKrona = 'SwedishKrona';

/** The Swiss Franc (CHF). */
const SwissFranc = 'SwissFranc';

/** The Turkish Lira (TRY). */
const TurkishLira = 'TurkishLira';

/** The UK Pound (GBP). */
const UKPound = 'UKPound';

/** The US Dollar USD */
const USDollar = 'USDollar';

/** The South Korean Won (KRW). */
const Won = 'Won';

/** The Chinese Yuan (CNY). */
const YuanRenminbi = 'YuanRenminbi';

/** The Polish Zloty (PLN). */
const PolishZloty = 'PolishZloty';

/** The UAE Dirham (AED). */
const UAEDirham = 'UAEDirham';

/** The Israeli Sheqel (ILS). */
const IsraeliSheqel = 'IsraeliSheqel';

/** The Nigerian Naira (NGN). */
const NigerianNaira = 'NigerianNaira';
}

Expand Down
17 changes: 0 additions & 17 deletions src/V13/AdInsight/DecimalRoundedResult.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,9 @@
namespace Microsoft\BingAds\V13\AdInsight;

{
/**
* Defines a DecimalRoundedResult data object.
* @link https:/learn.microsoft.com/advertising/ad-insight-service/decimalroundedresult?view=bingads-13 DecimalRoundedResult Data Object
*
* @uses ScaleUnit
* @used-by RangeResultOfDecimalRoundedResult
* @used-by GetAudienceFullEstimationResponse
*/
final class DecimalRoundedResult
{
/**
* The rounded value to the nearest scale unit.
* @var double
*/
public $Value;

/**
* The scale unit: Thousand, Million,Billion, None.
* @var ScaleUnit
*/
public $Unit;
}

Expand Down
15 changes: 0 additions & 15 deletions src/V13/AdInsight/DismissRecommendationEntity.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,9 @@
namespace Microsoft\BingAds\V13\AdInsight;

{
/**
* Dismiss a recommendation.
* @link https:/learn.microsoft.com/advertising/ad-insight-service/dismissrecommendationentity?view=bingads-13 DismissRecommendationEntity Data Object
*
* @used-by DismissRecommendationsRequest
*/
final class DismissRecommendationEntity
{
/**
* The identifier of the recommendation.
* @var string
*/
public $RecommendationId;

/**
* The type of recommendation: CAMPAIGN_BUDGET, KEYWORD or RESPONSIVE_SEARCH_AD.
* @var string
*/
public $RecommendationType;
}

Expand Down
11 changes: 0 additions & 11 deletions src/V13/AdInsight/DismissRecommendationsRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,8 @@
namespace Microsoft\BingAds\V13\AdInsight;

{
/**
* Dismiss one or more recommendations.
* @link https:/learn.microsoft.com/advertising/ad-insight-service/dismissrecommendations?view=bingads-13 DismissRecommendations Request Object
*
* @uses DismissRecommendationEntity
* @used-by BingAdsAdInsightService::DismissRecommendations
*/
final class DismissRecommendationsRequest
{
/**
* The list of operations to dismiss recommendations.
* @var DismissRecommendationEntity[]
*/
public $Entities;
}
}
11 changes: 0 additions & 11 deletions src/V13/AdInsight/DismissRecommendationsResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,8 @@
namespace Microsoft\BingAds\V13\AdInsight;

{
/**
* Dismiss one or more recommendations.
* @link https:/learn.microsoft.com/advertising/ad-insight-service/dismissrecommendations?view=bingads-13 DismissRecommendations Response Object
*
* @uses BatchError
* @used-by BingAdsAdInsightService::DismissRecommendations
*/
final class DismissRecommendationsResponse
{
/**
* An array BatchError that contains details for any request items that were not successful.
* @var BatchError[]
*/
public $PartialErrors;
}
}
Loading

0 comments on commit 7d0b9d2

Please sign in to comment.