Bing Ads v12批量搜索结果有时会缺少广告系列和广告组名称 [英] Bing Ads v12 bulk results sometimes missing Campaign and Ad Group names

查看:59
本文介绍了Bing Ads v12批量搜索结果有时会缺少广告系列和广告组名称的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在将我们的应用程序从Bing Ads v11升级到v12。我正在使用Bing Ads java sdk(用户代理是[BingAdsSDKJava 11.12.6.1 1.8.0_152])。我发现批量下载请求有时会返回广告系列,每个实体的广告组名称返回
,有时则不会。即使使用相同的批量下载请求,也会发生v11没有发生这种情况。由于我们的应用程序依赖于为每个实体行返回的活动名称(如v11中的情况),因此v12行为与我们的应用程序的
不兼容。我在v12发行说明中没有提到这种变化。实际上,正如我所说,有时会返回广告系列和广告组名称,有时它们不会用于完全相同的批量API调用。以下是一个调用示例,其中
广告组和广告系列名称未返回:

I am upgrading our application from Bing Ads v11 to v12. I am using the Bing Ads java sdk (user agent is [BingAdsSDKJava 11.12.6.1 1.8.0_152]). I have found that Bulk download requests sometimes return the campaign and ad group names for each entity returned and sometimes it does not. This happens even with identical bulk download requests. This did not happen with v11. Since our application relies on having the campaign name returned for each entity row (as was the case in v11), the v12 behavior is incompatible with our application. I can find no mention of this change in the v12 release notes. Indeed, like I said, sometimes the campaign and ad group names are returned and sometimes they are not for the exact same bulk API call. Here is an example of a call where the ad group and campaign names were not returned:

< soap:Envelope xmlns: soap =" http://schemas.xmlsoap.org/soap/envelope/">

  &NBSP; < soap:Header>

  &NBSP; &NBSP; &NBSP; < AuthenticationToken xmlns =" https://bingads.microsoft.com/CampaignManagement/v12"> SECRET

  &NBSP; &NBSP; &NBSP; < / AuthenticationToken>

  &NBSP; &NBSP; &NBSP; < CustomerAccountId xmlns =" https://guideads.microsoft.com/CampaignManagement/v12"> 141036723< / CustomerAccountId>

  &NBSP; &NBSP; &NBSP; < CustomerId xmlns =" https://guideads.microsoft.com/CampaignManagement/v12"> 7029169< / CustomerId>

  &NBSP; &NBSP; &NBSP; < DeveloperToken xmlns =" https://bingads.microsoft.com/CampaignManagement/v12"> SECRET< / DeveloperToken>

  &NBSP; < / soap:Header>

  &NBSP; < soap:Body>

  &NBSP; &NBSP; &NBSP; < DownloadCampaignsByCampaignIdsRequest xmlns =" https://guideads.microsoft.com/CampaignManagement/v12"

  &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP;   xmlns:ns2 =" https://adapi.microsoft.com"

  &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP;   xmlns:ns3 =" http://schemas.datacontract.org/2004/07/System.Collections.Generic"

  &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP;   xmlns:ns4 =" http://schemas.microsoft.com/2003/10/Serialization/Arrays"

  &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP;   xmlns:ns5 =" http://schemas.microsoft.com/2003/10/Serialization/">

  &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; <广告系列>

  &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; < CampaignScope>

  &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; < CampaignId> 329695967< / CampaignId>

  &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; < ParentAccountId> 141036723< / ParentAccountId>

  &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; < / CampaignScope>

  &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; < / Campaigns>

  &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; < CompressionType xmlns:xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi:nil =" true" />

  &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; < DataScope> EntityData QualityScoreData< / DataScope>

  &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; < DownloadEntities>

  &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; < DownloadEntity> AdGroups< / DownloadEntity>

  &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; < DownloadEntity>广告< / DownloadEntity>

  &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; < DownloadEntity>关键字< / DownloadEntity>

  &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; < DownloadEntity> AdGroupNegativeKeywords< / DownloadEntity>

  &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; < DownloadEntity> AdGroupTargetCriterions< / DownloadEntity>

  &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; < DownloadEntity> AdGroupProductPartitions< / DownloadEntity>

  &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; < DownloadEntity> AdGroupAudienceAssociations< / DownloadEntity>

  &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; < DownloadEntity> AdGroupNegativeAudienceAssociations< / DownloadEntity>

  &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; < DownloadEntity> AdGroupLabels< / DownloadEntity>

  &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; < DownloadEntity> AdGroupDynamicSearchAdTargets< / DownloadEntity>

  &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; < / DownloadEntities>

  &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; < DownloadFileType> Csv< / DownloadFileType>

  &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; < FormatVersion> 6.0< / FormatVersion>

  &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; < LastSyncTimeInUTC xmlns:xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi:nil =" true" />

  &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; < PerformanceStatsDateRange xmlns:xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi:nil =" true" />

  &NBSP; &NBSP; &NBSP; < / DownloadCampaignsByCampaignIdsRequest>

  &NBSP; < / soap:Body>

< / soap:Envelope>

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Header>
        <AuthenticationToken xmlns="https://bingads.microsoft.com/CampaignManagement/v12">SECRET
        </AuthenticationToken>
        <CustomerAccountId xmlns="https://bingads.microsoft.com/CampaignManagement/v12">141036723</CustomerAccountId>
        <CustomerId xmlns="https://bingads.microsoft.com/CampaignManagement/v12">7029169</CustomerId>
        <DeveloperToken xmlns="https://bingads.microsoft.com/CampaignManagement/v12">SECRET</DeveloperToken>
    </soap:Header>
    <soap:Body>
        <DownloadCampaignsByCampaignIdsRequest xmlns="https://bingads.microsoft.com/CampaignManagement/v12"
                                               xmlns:ns2="https://adapi.microsoft.com"
                                               xmlns:ns3="http://schemas.datacontract.org/2004/07/System.Collections.Generic"
                                               xmlns:ns4="http://schemas.microsoft.com/2003/10/Serialization/Arrays"
                                               xmlns:ns5="http://schemas.microsoft.com/2003/10/Serialization/">
            <Campaigns>
                <CampaignScope>
                    <CampaignId>329695967</CampaignId>
                    <ParentAccountId>141036723</ParentAccountId>
                </CampaignScope>
            </Campaigns>
            <CompressionType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
            <DataScope>EntityData QualityScoreData</DataScope>
            <DownloadEntities>
                <DownloadEntity>AdGroups</DownloadEntity>
                <DownloadEntity>Ads</DownloadEntity>
                <DownloadEntity>Keywords</DownloadEntity>
                <DownloadEntity>AdGroupNegativeKeywords</DownloadEntity>
                <DownloadEntity>AdGroupTargetCriterions</DownloadEntity>
                <DownloadEntity>AdGroupProductPartitions</DownloadEntity>
                <DownloadEntity>AdGroupAudienceAssociations</DownloadEntity>
                <DownloadEntity>AdGroupNegativeAudienceAssociations</DownloadEntity>
                <DownloadEntity>AdGroupLabels</DownloadEntity>
                <DownloadEntity>AdGroupDynamicSearchAdTargets</DownloadEntity>
            </DownloadEntities>
            <DownloadFileType>Csv</DownloadFileType>
            <FormatVersion>6.0</FormatVersion>
            <LastSyncTimeInUTC xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
            <PerformanceStatsDateRange xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
        </DownloadCampaignsByCampaignIdsRequest>
    </soap:Body>
</soap:Envelope>

这是返回的内容(我只显示前7列,并且我删除了一堆行更简洁):

Here is what was returned (I am only showing the first 7 columns, and I've removed a bunch of rows to be more concise):

如您所见,广告系列名称和广告组名称包含在t中他是广告组实体行,但其他实体类型的所有其他行(广告组受众群体关联,关键字,展开文字广告等)都是空的。

As you can see, the campaign name and ad group name were included in the ad group entity row, but it was empty for all the other rows of other entity types (ad group audience association, keyword, expanded text ad, etc.).

这是一个示例完全相同的API调用(唯一的区别是广告系列ID不同),其中为所有实体类型返回了广告系列和广告组名称:

Here is an example of the exact same API call (the only difference is the campaign id is different) where the campaign and ad group names were returned for all entity types:

以下是此请求返回的内容:

Here is what this request returned:

类型,状态,ID,父ID,子类型,广告系列,广告组

格式版本,,,,,,

帐号,, 141036723,160335745 ,,,

广告组,暂停,1169880610704270, 329695967,,0b349630-d67a-11e8-918a-d89ef31da228,f6c37f6a-27b2-4415-920f-a1905a2708ff

扩展文字广告,已暂停,73117580615837,1169880610704270,,0b349630-d67a-11e8-918a-d89ef31da228 ,f6c37f6a-27b2-4415-920f-a1905a2708ff

Type,Status,Id,Parent Id,Sub Type,Campaign,Ad Group
Format Version,,,,,,
Account,,141036723,160335745,,,
Ad Group,Paused,1169880610704270,329695967,,0b349630-d67a-11e8-918a-d89ef31da228,f6c37f6a-27b2-4415-920f-a1905a2708ff
Expanded Text Ad,Paused,73117580615837,1169880610704270,,0b349630-d67a-11e8-918a-d89ef31da228,f6c37f6a-27b2-4415-920f-a1905a2708ff

如您所见,与上一个示例不同,广告组和展开式文字广告都返回了广告系列和广告组名称行。

As you can see, unlike in the previous example, the campaign and ad group name were returned for both the ad group and the expanded text ad rows.

我每次都可以重现这个问题。这两个示例(返回广告系列名称的示例和不返回广告系列名称的示例)是我们编写的不同自动化测试用例(并且都适用于v11)。尽管每个测试用例都会使
与Bing完全相同的批量下载API请求,但每次运行每个测试用例时,我总会得到相同的结果,即包含广告系列和广告组名称的测试用例所有实体类型始终执行此操作,并且不包含
广告系列和广告组名称的测试用例也始终采用这种方式。唯一的区别似乎是从Bing批量服务返回的数据,我想知道这(实际返回的数据)是否实际上是触发错误的原因。在没有
的示例中,返回所有实体类型的广告系列和广告组名称,许多不同实体类型的许多不同行(广告组,广告组受众群体关联,关键字,增强型文字广告等)被退回。另一方面,在为所有实体类型返回广告系列
和广告组名称的示例中,仅返回一个广告组和一个增强型文字广告。两个示例都请求完全相同的实体类型,但返回的实际数据在每个示例之间是不同的。也许在v12中返回某个实体
类型的数据时,广告系列和广告组名称不再包含在结果中。如果是这种情况,那似乎是v12中的一个错误。

I can reproduce this issue every time. Both examples (the one that returns campaign names and the one that does not return campaign names) are different automated test cases that we have written (and both work on v11). Even though each test case makes the exact same bulk download API request from Bing, each time I run each of these test cases I always get the same results, i.e., the test case that includes the campaign and ad group name on all entity types always does this, and the test case that doesn't include the campaign and ad group names also always behaves this way. The only difference appears to be in the data returned from the Bing bulk service, and I'm wondering if this (the actual data returned) is actually what triggers the bug. In the example that doesn't return campaign and ad group names for all entity types, many different rows of a number of different entity types (ad group, ad group audience association, keyword, enhanced text ad, etc.) are returned. On the other hand, in the example that does return campaign and ad group names for all entity types, only one ad group and one enhanced text ad are returned. Both examples are requesting exactly the same entity types, but the actual data returned is different between each example. Perhaps when data of a certain entity type is returned in v12, then the campaign and ad group name are no longer included in the results. If this is the case, that would seem like it is a bug in v12.

上面列出的API调用发生在2018年10月22日的下午/晚上,但我注意到了类似的行为持续了几周,最后将其追溯到几个可重现的测试用例。同样,这个问题在v11中似乎不存在。上面的
API调用是在生产(而不是沙盒)环境中生成的。

The API calls listed above occurred in the afternoon/evening of October 22, 2018, but I've noticed similar behavior for a few weeks and finally tracked it down to a couple of reproducible test cases. Again, this problem doesn't appear to exist in v11. The API calls above were produced in the production (not the sandbox) environment.

就像我之前提到的,我们的应用依赖于为批量调用返回的所有行设置广告系列名称,因此此行为会破坏我们的应用程序并阻止我们升级到v12。 您能调查吗? 

Like I mentioned earlier, our application depends on having the campaign name for all rows that are returned from a bulk call, so this behavior is breaking our application and preventing us from upgrading to v12. Can you please investigate? 

感谢您的帮助,

Jon Oler

推荐答案

Jon Jon。

Hi Jon.

我可以确认受众和广告附加信息关联记录在版本12中不包含广告系列和广告组名称。这是有意的,尽管是的,迁移指南缺少此信息。我们将更新文档。我们的理解是,
客户通常会将ID映射到广告系列和广告组记录中的名称。为了减少文件大小,我们在v12中从这些记录中删除了广告系列和广告组名称:

I can confirm the audience and ad extension association records will not contain campaign and ad group name in version 12. This was intentional, although yes the migration guide is missing this info. We will update the doc. Our understanding had been that clients typically map the IDs to the name from the Campaign and Ad Group records. To reduce the file size we removed the campaign and ad group names from these records in v12:

帐户应用广告扩展程序

帐户标注广告附加信息

帐户图片广告附加信息

帐户位置广告附加信息

帐户价格广告附加费

帐户附加链接广告附加信息

帐户结构化代码段广告附加信息

广告组应用广告附加信息

广告组标注广告附加费
广告组自定义受众群体协会

广告组图片广告附加组合$
市场受众群体中的广告组

广告组负面定制受众协会

广告组负面市场受众协会

广告组否定再营销列表协会

广告组价格广告附加信息

广告组再营销列表协会

广告组评论广告附加ens b
广告组附加链接广告附加信息

广告组结构化代码段广告附加信息

广告系列应用广告附加信息

广告系列电话广告附加功能

广告系列标注广告附加费

广告系列位置广告附加信息

广告系列否定关键字列表协会

广告系列价格广告延期

广告系列评估广告附加费用
广告系列附加链接广告附加信息

广告系列结构化代码段广告附加信息

Account App Ad Extension
Account Callout Ad Extension
Account Image Ad Extension
Account Location Ad Extension
Account Price Ad Extension
Account Sitelink Ad Extension
Account Structured Snippet Ad Extension
Ad Group App Ad Extension
Ad Group Callout Ad Extension
Ad Group Custom Audience Association
Ad Group Image Ad Extension
Ad Group In Market Audience Association
Ad Group Negative Custom Audience Association
Ad Group Negative In Market Audience Association
Ad Group Negative Remarketing List Association
Ad Group Price Ad Extension
Ad Group Remarketing List Association
Ad Group Review Ad Extension
Ad Group Sitelink Ad Extension
Ad Group Structured Snippet Ad Extension
Campaign App Ad Extension
Campaign Call Ad Extension
Campaign Callout Ad Extension
Campaign Location Ad Extension
Campaign Negative Keyword List Association
Campaign Price Ad Extension
Campaign Review Ad Extension
Campaign Sitelink Ad Extension
Campaign Structured Snippet Ad Extension

(同样,自v12一般可用性以来添加的任何新受众群体和广告附加信息关联记录都不会包含广告系列和广告组名称。)

(Likewise the campaign and ad group name will not be included for any new audience and ad extension association records added since v12 general availability.)

关于您的第一个示例以上,广告组家长ID似乎与您在请求中指定的广告系列ID不匹配。请你仔细检查一下吗?您提供的csv看起来更像是上传结果文件,其中广告系列广告行中的广告系列和广告组可能为
为空。否则,如果您有最近的repro,其中扩展文字广告缺少广告系列和广告组名称,请提供带有RequestId和时间戳的SOAP响应。

Regarding your first example above, it seems the Ad Group Parent Id does not match the campaign ID that you specified in the request. Will you please double check? The csv you provided looks more like an upload results file where campaign and ad group could be empty in the Expanded Text Ad row. Otherwise if you have a recent repro where Expanded Text Ad is missing campaign and ad group name, please provide the SOAP response with RequestId and timestamp.

谢谢,

Eric


这篇关于Bing Ads v12批量搜索结果有时会缺少广告系列和广告组名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆