Skip to content

Commit fdfe741

Browse files
authored
Merge pull request #98 from BingAds/v12-0-4-dev
proxy refresh and min php version
2 parents cc40ea3 + 9196ac2 commit fdfe741

File tree

49 files changed

+270
-30
lines changed

Some content is hidden

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

49 files changed

+270
-30
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"type": "library",
77
"homepage": "https://github.com/BingAds/BingAds-PHP-SDK",
88
"require": {
9-
"php": ">=5.6",
9+
"php": ">=7.1",
1010
"ext-curl": "*",
1111
"ext-openssl": "*",
1212
"ext-soap": "*"

src/V12/Bulk/GetBulkUploadUrlResponse.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ final class GetBulkUploadUrlResponse
1818
public $RequestId;
1919

2020
/**
21-
* The URL where you may submit your bulk upload file with HTTP POST.
21+
* The URL where you may submit your bulk upload file via HTTP POST.
2222
* @var string
2323
*/
2424
public $UploadUrl;

src/V12/CampaignManagement/AccountPropertyName.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ final class AccountPropertyName
2323

2424
/** Used to get or set the property that determines whether you want to send customers directly to your final URL while click measurement runs in the background. */
2525
const AdClickParallelTracking = 'AdClickParallelTracking';
26+
27+
/** Used to get or set the account's Final URL Suffix. */
28+
const FinalUrlSuffix = 'FinalUrlSuffix';
2629
}
2730

2831
}

src/V12/CampaignManagement/ActionAdExtension.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
final class ActionAdExtension extends AdExtension
1414
{
1515
/**
16-
* The text you choose here is what is displayed on your call-to-action button.
16+
* The action type that you choose here, as well as the Language that you set, determines the text that is displayed on your call-to-action button.
1717
* @var ActionAdExtensionActionType
1818
*/
1919
public $ActionType;
@@ -24,6 +24,12 @@ final class ActionAdExtension extends AdExtension
2424
*/
2525
public $FinalMobileUrls;
2626

27+
/**
28+
* The final URL suffix can include tracking parameters that will be appended to the end of your landing page URL.
29+
* @var string
30+
*/
31+
public $FinalUrlSuffix;
32+
2733
/**
2834
* This is the link to your specific web page or form that corresponds to the action text.
2935
* @var string[]

src/V12/CampaignManagement/Ad.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,12 @@ class Ad
5151
*/
5252
public $FinalMobileUrls;
5353

54+
/**
55+
* The final URL suffix can include tracking parameters that will be appended to the end of your landing page URL.
56+
* @var string
57+
*/
58+
public $FinalUrlSuffix;
59+
5460
/**
5561
* The last or final URL where a user is ultimately taken, whether or not the click to final URL path included any redirects.
5662
* @var string[]

src/V12/CampaignManagement/AdAdditionalField.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
{
66
/**
7-
* Defines a list of optional Ad properties that you can request when calling GetAdsByAdGroupId, GetAdsByEditorialStatus, and GetAdsByIds.
7+
* Defines a list of optional ad properties that you can request when calling GetAdsByAdGroupId, GetAdsByEditorialStatus, and GetAdsByIds.
88
* @link https://docs.microsoft.com/en-us/bingads/campaign-management-service/adadditionalfield?view=bingads-12 AdAdditionalField Value Set
99
*
1010
* @used-by GetAdsByAdGroupIdRequest
@@ -21,6 +21,9 @@ final class AdAdditionalField
2121

2222
/** Request that the Images element be included within each returned ResponsiveAd object. */
2323
const Images = 'Images';
24+
25+
/** Request that the FinalUrlSuffix element be included within each returned Ad object. */
26+
const FinalUrlSuffix = 'FinalUrlSuffix';
2427
}
2528

2629
}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<?php
2+
3+
namespace Microsoft\BingAds\V12\CampaignManagement;
4+
5+
{
6+
/**
7+
* Defines a list of optional ad extension properties that you can request when calling GetAdExtensionsAssociations and GetAdExtensionsByIds.
8+
* @link https://docs.microsoft.com/en-us/bingads/campaign-management-service/adextensionadditionalfield?view=bingads-12 AdExtensionAdditionalField Value Set
9+
*
10+
* @used-by GetAdExtensionsAssociationsRequest
11+
* @used-by GetAdExtensionsByIdsRequest
12+
*/
13+
final class AdExtensionAdditionalField
14+
{
15+
/** Request that the FinalUrlSuffix element be included within each returned ActionAdExtension, AppAdExtension, ImageAdExtension, PriceAdExtension, and SitelinkAdExtension object. */
16+
const FinalUrlSuffix = 'FinalUrlSuffix';
17+
}
18+
19+
}

src/V12/CampaignManagement/AdGroup.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,12 @@ final class AdGroup
5454
*/
5555
public $EndDate;
5656

57+
/**
58+
* The final URL suffix can include tracking parameters that will be appended to the end of your landing page URL.
59+
* @var string
60+
*/
61+
public $FinalUrlSuffix;
62+
5763
/**
5864
* The list of key and value strings for forward compatibility to avoid otherwise breaking changes when new elements are added in the current API version.
5965
* @var KeyValuePairOfstringstring[]
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<?php
2+
3+
namespace Microsoft\BingAds\V12\CampaignManagement;
4+
5+
{
6+
/**
7+
* Defines a list of optional ad group properties that you can request when calling GetAdGroupsByCampaignId and GetAdGroupsByIds.
8+
* @link https://docs.microsoft.com/en-us/bingads/campaign-management-service/adgroupadditionalfield?view=bingads-12 AdGroupAdditionalField Value Set
9+
*
10+
* @used-by GetAdGroupsByCampaignIdRequest
11+
* @used-by GetAdGroupsByIdsRequest
12+
*/
13+
final class AdGroupAdditionalField
14+
{
15+
/** Request that the FinalUrlSuffix element be included within each returned AdGroup object. */
16+
const FinalUrlSuffix = 'FinalUrlSuffix';
17+
}
18+
19+
}
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\V12\CampaignManagement;
4+
5+
{
6+
/**
7+
* Defines a list of optional ad group criterion properties that you can request when calling GetAdGroupCriterionsByIds.
8+
* @link https://docs.microsoft.com/en-us/bingads/campaign-management-service/adgroupcriterionadditionalfield?view=bingads-12 AdGroupCriterionAdditionalField Value Set
9+
*
10+
* @used-by GetAdGroupCriterionsByIdsRequest
11+
*/
12+
final class AdGroupCriterionAdditionalField
13+
{
14+
/** Request that the FinalUrlSuffix element be included within each returned BiddableAdGroupCriterion object. */
15+
const FinalUrlSuffix = 'FinalUrlSuffix';
16+
}
17+
18+
}

0 commit comments

Comments
 (0)