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
Post a Comment