Skip to content

Commit

Permalink
Merge pull request #80 from BingAds/september-proxy-updates
Browse files Browse the repository at this point in the history
proxy refresh
  • Loading branch information
eric-urban authored Sep 12, 2018
2 parents e167f4d + 1683cfd commit 5d851d1
Show file tree
Hide file tree
Showing 25 changed files with 131 additions and 15 deletions.
9 changes: 9 additions & 0 deletions src/V12/Bulk/DownloadEntity.php
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,15 @@ final class DownloadEntity

/** Include Ad Group Negative Product Audience Association records in the download that each represent the association relationship between an ad group and a product audience exclusion. */
const AdGroupNegativeProductAudienceAssociations = 'AdGroupNegativeProductAudienceAssociations';

/** Include Similar Remarketing List records in the download data. */
const SimilarRemarketingLists = 'SimilarRemarketingLists';

/** Include Ad Group Similar Remarketing List Association records in the download that each represent the association relationship between an ad group and a similar remarketing list. */
const AdGroupSimilarRemarketingListAssociations = 'AdGroupSimilarRemarketingListAssociations';

/** Include Ad Group Negative Similar Remarketing List Association records in the download that each represent the association relationship between an ad group and a similar remarketing list exclusion. */
const AdGroupNegativeSimilarRemarketingListAssociations = 'AdGroupNegativeSimilarRemarketingListAssociations';
}

}
2 changes: 1 addition & 1 deletion src/V12/CampaignManagement/AccountPropertyName.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ final class AccountPropertyName
/** Used to get or set the property that determines whether MSCLKID auto-tagging is enabled for the account. */
const MSCLKIDAutoTaggingEnabled = 'MSCLKIDAutoTaggingEnabled';

/** Reserved. */
/** 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. */
const AdClickParallelTracking = 'AdClickParallelTracking';
}

Expand Down
2 changes: 1 addition & 1 deletion src/V12/CampaignManagement/Ad.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
class Ad
{
/**
* The Ad Format Preference is used to indicate whether or not you prefer the ad copy to be shown to users as a search or native ad.
* The Ad Format Preference is used to indicate whether or not you prefer the ad copy to be shown to users as a search or audience ad.
* @var string
*/
public $AdFormatPreference;
Expand Down
23 changes: 23 additions & 0 deletions src/V12/CampaignManagement/AdAdditionalField.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?php

namespace Microsoft\BingAds\V12\CampaignManagement;

{
/**
* Defines a list of optional Ad properties that you can request when calling GetAdsByAdGroupId, GetAdsByEditorialStatus, and GetAdsByIds.
* @link https://docs.microsoft.com/en-us/bingads/campaign-management-service/adadditionalfield?view=bingads-12 AdAdditionalField Value Set
*
* @used-by GetAdsByAdGroupIdRequest
* @used-by GetAdsByEditorialStatusRequest
* @used-by GetAdsByIdsRequest
*/
final class AdAdditionalField
{
/** Request that the TitlePart3 element be included within each returned ExpandedTextAd object. */
const TitlePart3 = 'TitlePart3';

/** Request that the TextPart2 element be included within each returned ExpandedTextAd object. */
const TextPart2 = 'TextPart2';
}

}
2 changes: 1 addition & 1 deletion src/V12/CampaignManagement/CampaignStatus.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ final class CampaignStatus
/** The campaign is deleted. */
const Deleted = 'Deleted';

/** Your campaign has been suspended and no ads are eligible for delivery because of potentially fraudulent activity. */
/** Your campaign has been suspended because of suspicious activity, and no ads are eligible for delivery. */
const Suspended = 'Suspended';
}

Expand Down
12 changes: 12 additions & 0 deletions src/V12/CampaignManagement/ExpandedTextAd.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ final class ExpandedTextAd extends Ad
*/
public $Text;

/**
* Reserved for future use.
* @var string
*/
public $TextPart2;

/**
* The first part of the ad title.
* @var string
Expand All @@ -44,6 +50,12 @@ final class ExpandedTextAd extends Ad
* @var string
*/
public $TitlePart2;

/**
* Reserved for future use.
* @var string
*/
public $TitlePart3;
}

}
7 changes: 7 additions & 0 deletions src/V12/CampaignManagement/GetAdsByAdGroupIdRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
* @link https://docs.microsoft.com/en-us/bingads/campaign-management-service/getadsbyadgroupid?view=bingads-12 GetAdsByAdGroupId Request Object
*
* @uses AdType
* @uses AdAdditionalField
* @used-by BingAdsCampaignManagementService::GetAdsByAdGroupId
*/
final class GetAdsByAdGroupIdRequest
Expand All @@ -23,5 +24,11 @@ final class GetAdsByAdGroupIdRequest
* @var AdType[]
*/
public $AdTypes;

/**
* The list of additional properties that you want included within each returned Ad object.
* @var AdAdditionalField
*/
public $ReturnAdditionalFields;
}
}
7 changes: 7 additions & 0 deletions src/V12/CampaignManagement/GetAdsByEditorialStatusRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
*
* @uses AdEditorialStatus
* @uses AdType
* @uses AdAdditionalField
* @used-by BingAdsCampaignManagementService::GetAdsByEditorialStatus
*/
final class GetAdsByEditorialStatusRequest
Expand All @@ -30,5 +31,11 @@ final class GetAdsByEditorialStatusRequest
* @var AdType[]
*/
public $AdTypes;

/**
* The list of additional properties that you want included within each returned Ad object.
* @var AdAdditionalField
*/
public $ReturnAdditionalFields;
}
}
7 changes: 7 additions & 0 deletions src/V12/CampaignManagement/GetAdsByIdsRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
* @link https://docs.microsoft.com/en-us/bingads/campaign-management-service/getadsbyids?view=bingads-12 GetAdsByIds Request Object
*
* @uses AdType
* @uses AdAdditionalField
* @used-by BingAdsCampaignManagementService::GetAdsByIds
*/
final class GetAdsByIdsRequest
Expand All @@ -29,5 +30,11 @@ final class GetAdsByIdsRequest
* @var AdType[]
*/
public $AdTypes;

/**
* The list of additional properties that you want included within each returned Ad object.
* @var AdAdditionalField
*/
public $ReturnAdditionalFields;
}
}
4 changes: 2 additions & 2 deletions src/V12/CampaignManagement/PriceTableRow.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,13 @@ final class PriceTableRow
public $Price;

/**
* The price qualifier.
* The price qualifier for a given product or service e.
* @var PriceQualifier
*/
public $PriceQualifier;

/**
* The price unit.
* The price unit allows you to specify the cost in terms of hour, day, week, etc.
* @var PriceUnit
*/
public $PriceUnit;
Expand Down
2 changes: 1 addition & 1 deletion src/V12/CustomerManagement/AccountLifeCycleStatus.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ final class AccountLifeCycleStatus
/** For internal use only. */
const Pending = 'Pending';

/** Your account has been suspended and no ads are eligible for delivery because of potentially fraudulent activity. */
/** Your account has been suspended because of suspicious activity, and no ads are eligible for delivery. */
const Suspended = 'Suspended';
}

Expand Down
4 changes: 2 additions & 2 deletions src/V12/CustomerManagement/ValidateAddressRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

{
/**
* Reserved.
* Determines whether or not the submitted address is valid for Bing Ads accounts.
* @link https://docs.microsoft.com/en-us/bingads/customer-management-service/validateaddress?view=bingads-12 ValidateAddress Request Object
*
* @uses Address
Expand All @@ -13,7 +13,7 @@
final class ValidateAddressRequest
{
/**
* Reserved.
* The address to validate.
* @var Address
*/
public $Address;
Expand Down
8 changes: 4 additions & 4 deletions src/V12/CustomerManagement/ValidateAddressResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

{
/**
* Reserved.
* Determines whether or not the submitted address is valid for Bing Ads accounts.
* @link https://docs.microsoft.com/en-us/bingads/customer-management-service/validateaddress?view=bingads-12 ValidateAddress Response Object
*
* @uses Address
Expand All @@ -13,19 +13,19 @@
final class ValidateAddressResponse
{
/**
* Reserved.
* The address that was submitted for validation.
* @var Address
*/
public $OriginalAddress;

/**
* Reserved.
* Determines whether or not the submitted address is valid for Bing Ads accounts, and whether or not any address suggestions are available via the SuggestedAddresses response element.
* @var string
*/
public $Status;

/**
* Reserved.
* One or more suggested addresses if the Status is either AddressValidWithSuggestions or AddressInvalidWithSuggestions.
* @var Address[]
*/
public $SuggestedAddresses;
Expand Down
6 changes: 6 additions & 0 deletions src/V12/Reporting/AccountPerformanceReportColumn.php
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,12 @@ final class AccountPerformanceReportColumn

/** The estimated percentage of impressions that your account received for searches that exactly matched your keyword, out of the total available exact match impressions you were eligible to receive. */
const ExactMatchImpressionSharePercent = 'ExactMatchImpressionSharePercent';

/** The Bing Ads assigned identifier of a customer. */
const CustomerId = 'CustomerId';

/** The customer name. */
const CustomerName = 'CustomerName';
}

}
2 changes: 1 addition & 1 deletion src/V12/Reporting/AdDistributionReportFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ final class AdDistributionReportFilter
/** The report will contain search ads. */
const Search = 'Search';

/** The report will contain intent ads. */
/** The report will contain audience ads. */
const Audience = 'Audience';
}

Expand Down
6 changes: 6 additions & 0 deletions src/V12/Reporting/AdGroupPerformanceReportColumn.php
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,12 @@ final class AdGroupPerformanceReportColumn

/** The estimated percentage of impressions that your ad group received for searches that exactly matched your keyword, out of the total available exact match impressions you were eligible to receive. */
const ExactMatchImpressionSharePercent = 'ExactMatchImpressionSharePercent';

/** The Bing Ads assigned identifier of a customer. */
const CustomerId = 'CustomerId';

/** The customer name. */
const CustomerName = 'CustomerName';
}

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

/** The labels applied to the ad. */
const AdLabels = 'AdLabels';

/** The Bing Ads assigned identifier of a customer. */
const CustomerId = 'CustomerId';

/** The customer name. */
const CustomerName = 'CustomerName';
}

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

/** The estimated percentage of impressions that your campaign received for searches that exactly matched your keyword, out of the total available exact match impressions you were eligible to receive. */
const ExactMatchImpressionSharePercent = 'ExactMatchImpressionSharePercent';

/** The Bing Ads assigned identifier of a customer. */
const CustomerId = 'CustomerId';

/** The customer name. */
const CustomerName = 'CustomerName';
}

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

/** The revenue per assist. */
const RevenuePerAssist = 'RevenuePerAssist';

/** The Bing Ads assigned identifier of a customer. */
const CustomerId = 'CustomerId';

/** The customer name. */
const CustomerName = 'CustomerName';
}

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

/** The ad status. */
const AdStatus = 'AdStatus';

/** The Bing Ads assigned identifier of a customer. */
const CustomerId = 'CustomerId';

/** The customer name. */
const CustomerName = 'CustomerName';
}

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

/** The current keyword status. */
const KeywordStatus = 'KeywordStatus';

/** The type of negative keyword conflict encountered. */
const ConflictType = 'ConflictType';
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,12 @@ final class ProductSearchQueryPerformanceReportColumn

/** The revenue per assist. */
const RevenuePerAssist = 'RevenuePerAssist';

/** The Bing Ads assigned identifier of a customer. */
const CustomerId = 'CustomerId';

/** The customer name. */
const CustomerName = 'CustomerName';
}

}
2 changes: 1 addition & 1 deletion src/V12/Reporting/ReportRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class ReportRequest
public $ReportName;

/**
* Determines whether you want the service to generate the report only if all the data has been processed and is available.
* Determines whether or not the service must ensure that all the data has been processed and is available.
* @var boolean
*/
public $ReturnOnlyCompleteData;
Expand Down
2 changes: 1 addition & 1 deletion src/V12/Reporting/ReportTime.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ final class ReportTime
public $PredefinedTime;

/**
* Determines the time zone that you want the Reporting service to use for the selected date range.
* Determines the time zone that is used to establish today's date.
* @var ReportTimeZone
*/
public $ReportTimeZone;
Expand Down
6 changes: 6 additions & 0 deletions src/V12/Reporting/SearchQueryPerformanceReportColumn.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,12 @@ final class SearchQueryPerformanceReportColumn

/** The type of campaign. */
const CampaignType = 'CampaignType';

/** The Bing Ads assigned identifier of a customer. */
const CustomerId = 'CustomerId';

/** The customer name. */
const CustomerName = 'CustomerName';
}

}

0 comments on commit 5d851d1

Please sign in to comment.