The underlying connection was closed: An unexpected error occurred on a receive


for bingads api v10 campaigns management service,

i got error message when run getcampaignsbyaccountidrequest.

i dont know whether put correct parameters when use campaignmanagementservice.getcampaignsbyaccountid().

due campaigntype required , also includenativebidadjustment element removed, changed campaigntype.searchandcontent, campaignadditionalfield.biddingscheme in parameter of campaignmanagementservice.getcampaignsbyaccountid().

please advise me can do.

thank much.

program detail: 

i'm using c# development.

code sample below:

campaignmanagementservice cms = yahoobinghelper.getcampaignmanagementservice(username,password,developertoken,customerid,accountid.tostring());

campaign[] camp = cms.getcampaignsbyaccountid((long)accountid,true,campaigntype.searchandcontent,false,campaignadditionalfield.biddingscheme,false);

the error existed when program runs through cms.getcampaignsbyaccountid() function.



Bing Ads API: Development  >  Bing Ads API: Development



Comments

Popular posts from this blog

Azure DocumentDB Owner resource does not exist

BizTalk Server 2013 Azure VM Log Shipping and HA for hosts

How to Share webservice object to all user