Skip to content

Commit

Permalink
Merge pull request #193 from BingAds/v13.0.18
Browse files Browse the repository at this point in the history
v13.0.18
  • Loading branch information
qitia authored Nov 14, 2023
2 parents cb83aeb + 387e319 commit ad01716
Show file tree
Hide file tree
Showing 48 changed files with 319 additions and 101 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.17 ' . PHP_VERSION,
'user_agent' => 'BingAdsSDKPHP ' . '13.0.18 ' . PHP_VERSION,
'cache_wsdl' => 'WSDL_CACHE_NONE',

/**
Expand Down
9 changes: 9 additions & 0 deletions src/V13/Bulk/DownloadEntity.php
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,15 @@ final class DownloadEntity

/** Reserved. */
const AdGroupLogoAdExtensions = 'AdGroupLogoAdExtensions';

/** Reserved. */
const LeadFormAdExtensions = 'LeadFormAdExtensions';

/** Reserved. */
const AccountLeadFormAdExtensions = 'AccountLeadFormAdExtensions';

/** Reserved. */
const CampaignLeadFormAdExtensions = 'CampaignLeadFormAdExtensions';
}

}
14 changes: 14 additions & 0 deletions src/V13/CampaignManagement/AccountNegativeKeywordList.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?php

namespace Microsoft\BingAds\V13\CampaignManagement;

{
/**
* Reserved.
* @link https:/learn.microsoft.com/advertising/campaign-management-service/accountnegativekeywordlist?view=bingads-13 AccountNegativeKeywordList Data Object
*/
final class AccountNegativeKeywordList extends SharedList
{
}

}
8 changes: 7 additions & 1 deletion src/V13/CampaignManagement/AdGroup.php
Original file line number Diff line number Diff line change
Expand Up @@ -153,11 +153,17 @@ final class AdGroup
public $UrlCustomParameters;

/**
* Indicates if predictive targeting is enabled for an AdGroup.
* This will be deprecated.
* @var boolean
*/
public $UseOptimizedTargeting;

/**
* Indicates if predictive targeting is enabled for an AdGroup.
* @var boolean
*/
public $UsePredictiveTargeting;

/**
* Determines whether to use the account time zone or the time zone of the search user where the ads could be delivered.
* @var boolean
Expand Down
5 changes: 4 additions & 1 deletion src/V13/CampaignManagement/AdGroupAdditionalField.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,14 @@ final class AdGroupAdditionalField
/** Reserved. */
const McpaBid = 'McpaBid';

/** Indicates if predictive targeting is enabled for an AdGroup. */
/** This will be deprecated. */
const UseOptimizedTargeting = 'UseOptimizedTargeting';

/** Settings for the frequency cap. */
const FrequencyCapSettings = 'FrequencyCapSettings';

/** Indicates if predictive targeting is enabled for an AdGroup. */
const UsePredictiveTargeting = 'UsePredictiveTargeting';
}

}
2 changes: 1 addition & 1 deletion src/V13/CampaignManagement/AdGroupCriterionType.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ final class AdGroupCriterionType
/** Reserved. */
const HotelCheckInDate = 'HotelCheckInDate';

/** Reserved. */
/** The ad group criterion is a genre criterion. */
const Genre = 'Genre';
}

Expand Down
2 changes: 1 addition & 1 deletion src/V13/CampaignManagement/AddAudienceGroupsRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

{
/**
* Adds array of audience groups to a specified campaign.
* Adds array of audience groups to the account.
* @link https:/learn.microsoft.com/advertising/campaign-management-service/addaudiencegroups?view=bingads-13 AddAudienceGroups Request Object
*
* @uses AudienceGroup
Expand Down
2 changes: 1 addition & 1 deletion src/V13/CampaignManagement/AddAudienceGroupsResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

{
/**
* Adds array of audience groups to a specified campaign.
* Adds array of audience groups to the account.
* @link https:/learn.microsoft.com/advertising/campaign-management-service/addaudiencegroups?view=bingads-13 AddAudienceGroups Response Object
*
* @uses BatchError
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
final class ApplyAssetGroupListingGroupActionsRequest
{
/**
* A list of AssetGroupListingGroupAction objects that each contain an Action element and a ListingGroup element.All of the asset group listing group actions must be for the same asset group
* A list of AssetGroupListingGroupAction objects that each contain an Action element and a ListingGroup element.
* @var AssetGroupListingGroupAction[]
*/
public $ListingGroupActions;
Expand Down
8 changes: 4 additions & 4 deletions src/V13/CampaignManagement/AssetGroupStatus.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@
*/
final class AssetGroupStatus
{
/** The status of the AssetGroup is Active. */
/** The asset group is active, which indicates that the asset group can be served. */
const Active = 'Active';

/** The status of the AssetGroup is Paused. */
/** The asset group is paused, which indicates that the asset group will not serve. */
const Paused = 'Paused';

/** The status of the AssetGroup is Deleted. */
/** This status is for internal use only. */
const Deleted = 'Deleted';

/** Reserved. */
/** The asset group is expired. */
const Expired = 'Expired';
}

Expand Down
3 changes: 3 additions & 0 deletions src/V13/CampaignManagement/CampaignAdditionalField.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ final class CampaignAdditionalField

/** Reserved. */
const CallToActionSetting = 'CallToActionSetting';

/** Reserved. */
const PageFeedInPerformanceMaxSettings = 'PageFeedInPerformanceMaxSettings';
}

}
4 changes: 2 additions & 2 deletions src/V13/CampaignManagement/CampaignConversionGoal.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@
final class CampaignConversionGoal
{
/**
* Reserved.
* The Microsoft Advertising assigned identifier of a campaign.
* @var integer
*/
public $CampaignId;

/**
* Reserved.
* The Microsoft Advertising assigned identifier of a conversion goal.
* @var integer
*/
public $GoalId;
Expand Down
2 changes: 1 addition & 1 deletion src/V13/CampaignManagement/CampaignType.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ final class CampaignType
/** The campaign is a Hotel campaign. */
const Hotel = 'Hotel';

/** Reserved. */
/** The campaign is a Performance max campaign. */
const PerformanceMax = 'PerformanceMax';
}

Expand Down
4 changes: 2 additions & 2 deletions src/V13/CampaignManagement/DealCriterion.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@

{
/**
* Reserved.
* Defines a criterion that can be used to show ads for a specific deal.
* @link https:/learn.microsoft.com/advertising/campaign-management-service/dealcriterion?view=bingads-13 DealCriterion Data Object
*/
final class DealCriterion extends Criterion
{
/**
* Reserved.
* The Microsoft Advertising identifier of the Deal.
* @var integer
*/
public $DealId;
Expand Down
6 changes: 0 additions & 6 deletions src/V13/CampaignManagement/FrequencyCapSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,6 @@ final class FrequencyCapSettings
*/
public $CapValue;

/**
* What unit to limit the ad serves.
* @var string
*/
public $FrequencyCapUnit;

/**
* The smallest time interval to limit ad serves.
* @var FrequencyCapTimeGranularity
Expand Down
8 changes: 1 addition & 7 deletions src/V13/CampaignManagement/FrequencyCapTimeGranularity.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,8 @@ final class FrequencyCapTimeGranularity
/** The number of days to limit ad serves by. */
const DAY = 'DAY';

/** The number of weeks to limit ad serves by.. */
/** The number of weeks to limit ad serves by. */
const WEEK = 'WEEK';

/** The number of months to limit ad serves by. */
const MONTH = 'MONTH';

/** Limit ad serves by the lifetime of the ad. */
const LIFETIME = 'LIFETIME';
}

}
4 changes: 2 additions & 2 deletions src/V13/CampaignManagement/GenreCriterion.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@

{
/**
* Reserved.
* Defines a criterion that can be used to show ads from a specific genre.
* @link https:/learn.microsoft.com/advertising/campaign-management-service/genrecriterion?view=bingads-13 GenreCriterion Data Object
*/
final class GenreCriterion extends Criterion
{
/**
* Reserved.
* The Microsoft Advertising identifier of the Genre.
* @var integer
*/
public $GenreId;
Expand Down
20 changes: 19 additions & 1 deletion src/V13/CampaignManagement/GoogleImportOption.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ final class GoogleImportOption extends ImportOption
public $AdjustmentForCampaignBudgets;

/**
* The identifier of the Microsoft Merchant Center store that you want to associate with imported product ads and product filters.
* Note: AssociatedStoreId is deprecated.
* @var integer
*/
public $AssociatedStoreId;
Expand Down Expand Up @@ -179,6 +179,12 @@ final class GoogleImportOption extends ImportOption
*/
public $NewLocationTargets;

/**
* Reserved.
* @var boolean
*/
public $NewLogoAdExtensions;

/**
* Import negative keyword lists that have not previously been imported.
* @var boolean
Expand Down Expand Up @@ -479,6 +485,12 @@ final class GoogleImportOption extends ImportOption
*/
public $UpdateLocationTargets;

/**
* Reserved.
* @var boolean
*/
public $UpdateLogoAdExtensions;

/**
* Import updates to existing negative keyword lists.
* @var boolean
Expand Down Expand Up @@ -527,6 +539,12 @@ final class GoogleImportOption extends ImportOption
*/
public $UpdateSitelinkAdExtensions;

/**
* Reserved.
* @var boolean
*/
public $UpdateSitelinkUrls;

/**
* Import updates to the status of existing ad groups.
* @var boolean
Expand Down
9 changes: 9 additions & 0 deletions src/V13/CampaignManagement/ImportAdditionalField.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,15 @@ final class ImportAdditionalField

/** Reserved. */
const UpdateAdUrls = 'UpdateAdUrls';

/** Reserved. */
const NewLogoAdExtensions = 'NewLogoAdExtensions';

/** Reserved. */
const UpdateLogoAdExtensions = 'UpdateLogoAdExtensions';

/** Reserved. */
const UpdateSitelinkUrls = 'UpdateSitelinkUrls';
}

}
18 changes: 18 additions & 0 deletions src/V13/CampaignManagement/LanguageName.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,24 @@ final class LanguageName
/** Reserved. */
const Russian = 'Russian';

/** Reserved. */
const Malay = 'Malay';

/** Reserved. */
const Thai = 'Thai';

/** Reserved. */
const Indonesian = 'Indonesian';

/** Reserved. */
const Tagalog = 'Tagalog';

/** Reserved. */
const Vietnamese = 'Vietnamese';

/** Reserved. */
const Hindi = 'Hindi';

/** The corresponding language name. */
const All = 'All';
}
Expand Down
8 changes: 7 additions & 1 deletion src/V13/CampaignManagement/PerformanceMaxSetting.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,16 @@
final class PerformanceMaxSetting extends Setting
{
/**
* Reserved.
* If false, then the entire domain will be targeted, and ad assets will be dynamically generated to match landing page content.
* @var boolean
*/
public $FinalUrlExpansionOptOut;

/**
* Reserved.
* @var integer[]
*/
public $PageFeedIds;
}

}
6 changes: 6 additions & 0 deletions src/V13/CustomerBilling/BillingDocumentInfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,12 @@ final class BillingDocumentInfo
* @var integer
*/
public $CustomerId;

/**
* Reserved.
* @var integer
*/
public $CampaignId;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,21 @@

{
/**
* Reserved.
* Check the FAC eligibility of an account.
* @link https:/learn.microsoft.com/advertising/customer-billing-service/checkfeatureadoptioncouponeligibility?view=bingads-13 CheckFeatureAdoptionCouponEligibility Request Object
*
* @used-by BingAdsCustomerBillingService::CheckFeatureAdoptionCouponEligibility
*/
final class CheckFeatureAdoptionCouponEligibilityRequest
{
/**
* Reserved.
* The identifier of the feature.
* @var integer
*/
public $FeatureId;

/**
* Reserved.
* A list of account identifiers to check for eligibility.
* @var integer[]
*/
public $AccountIds;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

{
/**
* Reserved.
* Check the FAC eligibility of an account.
* @link https:/learn.microsoft.com/advertising/customer-billing-service/checkfeatureadoptioncouponeligibility?view=bingads-13 CheckFeatureAdoptionCouponEligibility Response Object
*
* @used-by BingAdsCustomerBillingService::CheckFeatureAdoptionCouponEligibility
Expand Down
Loading

0 comments on commit ad01716

Please sign in to comment.