Skip to content

Commit

Permalink
update to version 13.0.13
Browse files Browse the repository at this point in the history
  • Loading branch information
qitia committed Jan 13, 2022
1 parent 0438f67 commit 68ca0f3
Show file tree
Hide file tree
Showing 14 changed files with 135 additions and 3 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.12 ' . PHP_VERSION,
'user_agent' => 'BingAdsSDKPHP ' . '13.0.13 ' . PHP_VERSION,
'cache_wsdl' => 'WSDL_CACHE_NONE',

/**
Expand Down
3 changes: 3 additions & 0 deletions src/V13/CampaignManagement/AudienceAdditionalField.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ final class AudienceAdditionalField
{
/** Request that the NormalForm element be included within each returned PageVisitorsRule object. */
const NormalForm = 'NormalForm';

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

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

/** The corresponding call to action in the ad. */
const RegisterNow = 'RegisterNow';

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

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

namespace Microsoft\BingAds\V13\CampaignManagement;

{
/**
* Defines the possible compression types for the file to download.
* @link https://docs.microsoft.com/en-us/advertising/campaign-management-service/compressiontype?view=bingads-13 CompressionType Value Set
*
* @used-by GetGeoLocationsFileUrlRequest
*/
final class CompressionType
{
/** Reserved. */
const Zip = 'Zip';

/** The file should be GZIP compressed. */
const GZip = 'GZip';
}

}
7 changes: 7 additions & 0 deletions src/V13/CampaignManagement/GetGeoLocationsFileUrlRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* Gets a temporary URL that you can use to download a file that contains identifiers for the geographical locations that you can target or exclude.
* @link https://docs.microsoft.com/en-us/advertising/campaign-management-service/getgeolocationsfileurl?view=bingads-13 GetGeoLocationsFileUrl Request Object
*
* @uses CompressionType
* @used-by BingAdsCampaignManagementService::GetGeoLocationsFileUrl
*/
final class GetGeoLocationsFileUrlRequest
Expand All @@ -22,5 +23,11 @@ final class GetGeoLocationsFileUrlRequest
* @var string
*/
public $LanguageLocale;

/**
* Defines the possible compression types for the file to download.
* @var CompressionType
*/
public $CompressionType;
}
}
12 changes: 12 additions & 0 deletions src/V13/CampaignManagement/GoogleImportOption.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,12 @@ final class GoogleImportOption extends ImportOption
*/
public $NewEntities;

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

/**
* Import new keyword landing page URLs.
* @var boolean
Expand Down Expand Up @@ -425,6 +431,12 @@ final class GoogleImportOption extends ImportOption
*/
public $UpdateEntities;

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

/**
* Import updates to existing keyword landing page URLs.
* @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 @@ -26,6 +26,15 @@ final class ImportAdditionalField

/** Request that the SearchAndReplaceForCustomParameters element be included within each returned GoogleImportOption object. */
const SearchAndReplaceForCustomParameters = 'SearchAndReplaceForCustomParameters';

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

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

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

}
4 changes: 4 additions & 0 deletions src/V13/CampaignManagement/NumberOperator.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/campaign-management-service/numberoperator?view=bingads-13 NumberOperator Value Set
*
* @used-by CustomEventsRule
* @used-by NumberRuleItem
*/
final class NumberOperator
{
Expand All @@ -28,6 +29,9 @@ final class NumberOperator

/** Less than or equal to the corresponding number value. */
const LessThanEqualTo = 'LessThanEqualTo';

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

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

namespace Microsoft\BingAds\V13\CampaignManagement;

{
/**
* Reserved.
* @link https://docs.microsoft.com/en-us/advertising/campaign-management-service/numberruleitem?view=bingads-13 NumberRuleItem Data Object
*
* @uses NumberOperator
*/
final class NumberRuleItem extends RuleItem
{
/**
* Reserved.
* @var string
*/
public $Operand;

/**
* Reserved.
* @var NumberOperator
*/
public $Operator;

/**
* Reserved.
* @var string
*/
public $Value;
}

}
4 changes: 2 additions & 2 deletions src/V13/CampaignManagement/OfflineConversion.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ final class OfflineConversion
public $ConversionValue;

/**
* Reserved for future use.
* This field can only be set for conversions actions which use external attribution.
* @var double
*/
public $ExternalAttributionCredit;

/**
* Reserved for future use.
* This field can only be set for conversions actions which use external attribution.
* @var string
*/
public $ExternalAttributionModel;
Expand Down
7 changes: 7 additions & 0 deletions src/V13/CampaignManagement/WebpageCondition.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/campaign-management-service/webpagecondition?view=bingads-13 WebpageCondition Data Object
*
* @uses WebpageConditionOperand
* @uses WebpageConditionOperator
* @used-by WebpageParameter
*/
final class WebpageCondition
Expand All @@ -23,6 +24,12 @@ final class WebpageCondition
* @var WebpageConditionOperand
*/
public $Operand;

/**
* Reserved.
* @var WebpageConditionOperator
*/
public $Operator;
}

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

namespace Microsoft\BingAds\V13\CampaignManagement;

{
/**
* Reserved.
* @link https://docs.microsoft.com/en-us/advertising/campaign-management-service/webpageconditionoperator?view=bingads-13 WebpageConditionOperator Value Set
*
* @used-by WebpageCondition
*/
final class WebpageConditionOperator
{
/** Reserved. */
const Unknown = 'Unknown';

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

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

}
3 changes: 3 additions & 0 deletions src/V13/Reporting/GeographicPerformanceReportColumn.php
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,9 @@ final class GeographicPerformanceReportColumn

/** Reserved for future use. */
const ViewThroughConversionsQualified = 'ViewThroughConversionsQualified';

/** The neighborhood where an ad was physically served, or the neighborhood that your customer had shown interest in through searches or content they had viewed. */
const Neighborhood = 'Neighborhood';
}

}
6 changes: 6 additions & 0 deletions src/V13/Reporting/UserLocationPerformanceReportColumn.php
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,12 @@ final class UserLocationPerformanceReportColumn

/** Reserved for future use. */
const ViewThroughConversionsQualified = 'ViewThroughConversionsQualified';

/** The neighborhood where an ad was physically served, or the neighborhood that your customer had shown interest in through searches or content they had viewed. */
const Neighborhood = 'Neighborhood';

/** The name of a neighborhood if the user?s geographical intent can be determined. */
const QueryIntentNeighborhood = 'QueryIntentNeighborhood';
}

}

0 comments on commit 68ca0f3

Please sign in to comment.