所有帐户中所有广告系列的CampaignType [英] CampaignType for all the campaigns in all accounts

查看:136
本文介绍了所有帐户中所有广告系列的CampaignType的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好, 


我是BingAds的新手。我的要求是从所有帐户中删除以下列。 


campaignId,campaignName,campaignType,支出,点击次数,展示次数


我能够从CampaignPerformanceReport中提取除campaignType之外的所有列。我知道我可以从"GetCampaignsbyAccountIds"中获取CampaignType。但帐号ID是我通过它说的无效。 


最后我发现一个帐号可用,但如何识别GUI中的所有accountIds。在CampaignPerformanceReport中有一个列为AccountID的列,我给了那些vallues但它不起作用。 


当我点击广告系列时,我看到了网址中的帐户ID,其中包含了accountid和CampaignPerfromaceReport accountids我想知道如何获取所有广告系b


谢谢,

解决方案

您可以调用GetUser(带null) UserId)找出你的UserId。然后调用SearchAccounts(使用UserId谓词)以查找您的用户名可以访问的所有帐户。这是
的一个Java示例
GetUser + SearchAccounts
以下是
GetCampaignsByAccountId
。 


我希望这有帮助!


Hi All, 

I am new to BingAds. My requirement is to pull follwoing columns from all accounts. 

campaignId, campaignName, campaignType, spend, clicks, impressions

I was able to pull all the columns other than campaignType from CampaignPerformanceReport. I come to know that I can get CampaignType from "GetCampaignsbyAccountIds" but the account id what ever i pass it was saying invalid. 

Finally I found one account id which working but how to identify all the accountIds in GUI. In CampaignPerformanceReport there is a column colled AccountID, I gave those vallues but it is not working. 

I see account ids in the URL's when i click campaigns, that accountid and CampaignPerfromaceReport accountids are same. 

So please let me know how to get campaignType for all campaigns and how to get all the accountIds which i can use in GetCampaignsbyAccountIds. 

Thanks, 

解决方案

You can call GetUser (with null UserId) to find out your UserId. Then call SearchAccounts (with the UserId predicate) to find out all accounts that your user name can access. Here is a Java example for GetUser + SearchAccounts and here is an example of GetCampaignsByAccountId

I hope this helps!


这篇关于所有帐户中所有广告系列的CampaignType的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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