如何使用带有 soap api 方法的 bing ads api 获取广告帐户的每月支出

How can get monthly spend of an ads account using bing ads api with soap api method

提问人:hamza shah 提问时间:6/6/2023 最后编辑:hamza shah 更新时间:6/6/2023 访问量:96

问:

这是示例 api 调用,它返回活动数据作为响应,我需要获取活动的last30_days支出。

    <s:Envelope xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
  <s:Header xmlns="https://bingads.microsoft.com/CampaignManagement/v13">
    <Action mustUnderstand="1">GetCampaignsByAccountId</Action>
    <AuthenticationToken i:nil="false">access token</AuthenticationToken>
    <CustomerAccountId i:nil="false">acc_id</CustomerAccountId>
    <CustomerId i:nil="false">cus_id</CustomerId>
    <DeveloperToken i:nil="false">dev_token</DeveloperToken>
  </s:Header>
  <s:Body>
    <GetCampaignsByAccountIdRequest xmlns="https://bingads.microsoft.com/CampaignManagement/v13">
      <AccountId>acc_id</AccountId>
      <CampaignType>Search</CampaignType>
    </GetCampaignsByAccountIdRequest>
  </s:Body>
</s:Envelope>
bing-api 必应广告 api

评论


答: 暂无答案