Skip to content

Commit 5abc1d6

Browse files
authored
Merge pull request #95 from BingAds/v12-0-3
V12 0 3
2 parents dc5c8fb + 2fe8bf4 commit 5abc1d6

25 files changed

+93
-57
lines changed

samples/V12/CampaignManagementExampleHelper.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1604,31 +1604,31 @@ static function OutputAd($dataObject)
16041604
self::OutputStatusMessage(sprintf("TrackingUrlTemplate: %s", $dataObject->TrackingUrlTemplate));
16051605
self::OutputStatusMessage(sprintf("Type: %s", $dataObject->Type));
16061606
self::OutputCustomParameters($dataObject->UrlCustomParameters);
1607-
if($dataObject->Type === "AppInstallAd")
1607+
if($dataObject->Type === "AppInstall")
16081608
{
16091609
self::OutputAppInstallAd($dataObject);
16101610
}
1611-
if($dataObject->Type === "DynamicSearchAd")
1611+
if($dataObject->Type === "DynamicSearch")
16121612
{
16131613
self::OutputDynamicSearchAd($dataObject);
16141614
}
1615-
if($dataObject->Type === "ExpandedTextAd")
1615+
if($dataObject->Type === "ExpandedText")
16161616
{
16171617
self::OutputExpandedTextAd($dataObject);
16181618
}
1619-
if($dataObject->Type === "ProductAd")
1619+
if($dataObject->Type === "Product")
16201620
{
16211621
self::OutputProductAd($dataObject);
16221622
}
16231623
if($dataObject->Type === "ResponsiveAd")
16241624
{
16251625
self::OutputResponsiveAd($dataObject);
16261626
}
1627-
if($dataObject->Type === "ResponsiveSearchAd")
1627+
if($dataObject->Type === "ResponsiveSearch")
16281628
{
16291629
self::OutputResponsiveSearchAd($dataObject);
16301630
}
1631-
if($dataObject->Type === "TextAd")
1631+
if($dataObject->Type === "Text")
16321632
{
16331633
self::OutputTextAd($dataObject);
16341634
}
@@ -2331,15 +2331,15 @@ static function OutputAudience($dataObject)
23312331
self::OutputStatusMessage(sprintf("SearchSize: %s", $dataObject->SearchSize));
23322332
self::OutputArrayOfString($dataObject->SupportedCampaignTypes);
23332333
self::OutputStatusMessage(sprintf("Type: %s", $dataObject->Type));
2334-
if($dataObject->Type === "CustomAudience")
2334+
if($dataObject->Type === "Custom")
23352335
{
23362336
self::OutputCustomAudience($dataObject);
23372337
}
2338-
if($dataObject->Type === "InMarketAudience")
2338+
if($dataObject->Type === "InMarket")
23392339
{
23402340
self::OutputInMarketAudience($dataObject);
23412341
}
2342-
if($dataObject->Type === "ProductAudience")
2342+
if($dataObject->Type === "Product")
23432343
{
23442344
self::OutputProductAudience($dataObject);
23452345
}

src/V12/AdInsight/AuctionInsightResult.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ final class AuctionInsightResult
2020
public $Segments;
2121

2222
/**
23-
* One or more auction insight entries i.
23+
* One or more auction insight entries i.e., one result per domain that you competed with in the auction.
2424
* @var AuctionInsightEntry[]
2525
*/
2626
public $Entries;

src/V12/AdInsight/DomainCategory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ final class DomainCategory
2424
public $CategoryName;
2525

2626
/**
27-
* A score from 0.
27+
* A score from 0.0 to 1.0 that indicates the percentage of pages in the requested language that belong to a particular domain out of all the pages that Bing has indexed for the same language your website's domain.
2828
* @var double
2929
*/
3030
public $Coverage;

src/V12/AdInsight/GetKeywordIdeasRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ final class GetKeywordIdeasRequest
2020
public $ExpandIdeas;
2121

2222
/**
23-
* The keyword idea attributes that you want included in the response e.
23+
* The keyword idea attributes that you want included in the response e.g., Keyword, Competition, MonthlySearchCounts, and SuggestedBid.
2424
* @var KeywordIdeaAttribute[]
2525
*/
2626
public $IdeaAttributes;

src/V12/AdInsight/GetKeywordTrafficEstimatesRequest.php

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

55
{
66
/**
7-
* Provides traffic estimates for keywords e.
7+
* Provides traffic estimates for keywords e.g., average CPC, average position, clicks, CTR, impressions, and total cost.
88
* @link https://docs.microsoft.com/en-us/bingads/ad-insight-service/getkeywordtrafficestimates?view=bingads-12 GetKeywordTrafficEstimates Request Object
99
*
1010
* @uses CampaignEstimator

src/V12/AdInsight/GetKeywordTrafficEstimatesResponse.php

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

55
{
66
/**
7-
* Provides traffic estimates for keywords e.
7+
* Provides traffic estimates for keywords e.g., average CPC, average position, clicks, CTR, impressions, and total cost.
88
* @link https://docs.microsoft.com/en-us/bingads/ad-insight-service/getkeywordtrafficestimates?view=bingads-12 GetKeywordTrafficEstimates Response Object
99
*
1010
* @uses CampaignEstimate

src/V12/AdInsight/KeywordAndConfidence.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ final class KeywordAndConfidence
1919
public $SuggestedKeyword;
2020

2121
/**
22-
* A score from 0.
22+
* A score from 0.0 to 1.0 that indicates the probability that the keyword would match a user's search query.
2323
* @var double
2424
*/
2525
public $ConfidenceScore;

src/V12/AdInsight/KeywordCategory.php

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

2020
/**
21-
* A score from 0.
21+
* A score from 0.0 to 1.0 that indicates the likelihood that the keyword belongs to the category.
2222
* @var double
2323
*/
2424
public $ConfidenceScore;

src/V12/Bulk/DataScope.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,16 @@
1212
*/
1313
final class DataScope
1414
{
15-
/** Download the entity attributes records. */
15+
/** Download entity records e.g., campaigns and ad groups. */
1616
const EntityData = 'EntityData';
1717

1818
/** This value is not supported in Bing Ads API Version 12, and will be removed in a future version. */
1919
const EntityPerformanceData = 'EntityPerformanceData';
2020

21-
/** Download the quality score fields for the corresponding entity records. */
21+
/** Download the quality score fields i.e., Quality Score, Keyword Relevance, Landing Page Relevance, and Landing Page User Experience in the Ad Group, Campaign, and Keyword records. */
2222
const QualityScoreData = 'QualityScoreData';
2323

24-
/** Download the bid suggestions records. */
24+
/** Download the keyword bid suggestion records. */
2525
const BidSuggestionsData = 'BidSuggestionsData';
2626
}
2727

src/V12/Bulk/DownloadEntity.php

Lines changed: 39 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -210,13 +210,13 @@ final class DownloadEntity
210210
/** Include Ad Group Negative In Market Audience Association records in the download that each represent the association relationship between an ad group and an in-market audience exclusion. */
211211
const AdGroupNegativeInMarketAudienceAssociations = 'AdGroupNegativeInMarketAudienceAssociations';
212212

213-
/** Include Custom Audience, In Market Audience, Product Audience, and Remarketing List records in the download data. */
213+
/** Include Custom Audience, In Market Audience, Product Audience, Remarketing List, and Similar Remarketing List records in the download data. */
214214
const Audiences = 'Audiences';
215215

216-
/** Include Ad Group Custom Audience Association, Ad Group In Market Audience Association, Ad Group Product Audience Association, and Ad Group Remarketing List Association records in the download data. */
216+
/** Include Ad Group Custom Audience Association, Ad Group In Market Audience Association, Ad Group Product Audience Association, Ad Group Remarketing List Association, and Ad Group Similar Remarketing List Association records in the download data. */
217217
const AdGroupAudienceAssociations = 'AdGroupAudienceAssociations';
218218

219-
/** Include Ad Group Negative Custom Audience Association, Ad Group Negative In Market Audience Association, Ad Group Negative Product Audience Association, and Ad Group Negative Remarketing List Association records in the download data. */
219+
/** Include Ad Group Negative Custom Audience Association, Ad Group Negative In Market Audience Association, Ad Group Negative Product Audience Association, Ad Group Negative Remarketing List Association, and Ad Group Negative Similar Remarketing List Association records in the download data. */
220220
const AdGroupNegativeAudienceAssociations = 'AdGroupNegativeAudienceAssociations';
221221

222222
/** Include Product Ad Label records in the download that each represent a label applied to a product ad. */
@@ -302,6 +302,42 @@ final class DownloadEntity
302302

303303
/** Include Responsive Search Ad Label records in the download that each represent a label applied to a responsive search ad. */
304304
const ResponsiveSearchAdLabels = 'ResponsiveSearchAdLabels';
305+
306+
/** Include Campaign Custom Audience Association, Campaign In Market Audience Association, Campaign Product Audience Association, Campaign Remarketing List Association, and Campaign Similar Remarketing List Association records in the download data. */
307+
const CampaignAudienceAssociations = 'CampaignAudienceAssociations';
308+
309+
/** Include Campaign Negative Custom Audience Association, Campaign Negative In Market Audience Association, Campaign Negative Product Audience Association, Campaign Negative Remarketing List Association, and Campaign Negative Similar Remarketing List Association records in the download data. */
310+
const CampaignNegativeAudienceAssociations = 'CampaignNegativeAudienceAssociations';
311+
312+
/** Include Campaign Custom Audience Association records in the download that each represent the association relationship between a campaign and a custom audience. */
313+
const CampaignCustomAudienceAssociations = 'CampaignCustomAudienceAssociations';
314+
315+
/** Include Campaign Negative Custom Audience Association records in the download that each represent the association relationship between a campaign and a custom audience exclusion. */
316+
const CampaignNegativeCustomAudienceAssociations = 'CampaignNegativeCustomAudienceAssociations';
317+
318+
/** Include Campaign In Market Audience Association records in the download that each represent the association relationship between a campaign and an in-market audience. */
319+
const CampaignInMarketAudienceAssociations = 'CampaignInMarketAudienceAssociations';
320+
321+
/** Include Campaign Negative In Market Audience Association records in the download that each represent the association relationship between a campaign and an in-market audience exclusion. */
322+
const CampaignNegativeInMarketAudienceAssociations = 'CampaignNegativeInMarketAudienceAssociations';
323+
324+
/** Include Campaign Product Audience Association records in the download that each represent the association relationship between a campaign and a product audience. */
325+
const CampaignProductAudienceAssociations = 'CampaignProductAudienceAssociations';
326+
327+
/** Include Campaign Negative Product Audience Association records in the download that each represent the association relationship between a campaign and a product audience exclusion. */
328+
const CampaignNegativeProductAudienceAssociations = 'CampaignNegativeProductAudienceAssociations';
329+
330+
/** Include Campaign Remarketing List Association records in the download that each represent the association relationship between a campaign and a remarketing list. */
331+
const CampaignRemarketingListAssociations = 'CampaignRemarketingListAssociations';
332+
333+
/** Include Campaign Negative Remarketing List Association records in the download that each represent the association relationship between a campaign and a remarketing list exclusion. */
334+
const CampaignNegativeRemarketingListAssociations = 'CampaignNegativeRemarketingListAssociations';
335+
336+
/** Include Campaign Similar Remarketing List Association records in the download that each represent the association relationship between a campaign and a similar remarketing list. */
337+
const CampaignSimilarRemarketingListAssociations = 'CampaignSimilarRemarketingListAssociations';
338+
339+
/** Include Campaign Negative Similar Remarketing List Association records in the download that each represent the association relationship between a campaign and a similar remarketing list exclusion. */
340+
const CampaignNegativeSimilarRemarketingListAssociations = 'CampaignNegativeSimilarRemarketingListAssociations';
305341
}
306342

307343
}

0 commit comments

Comments
 (0)