Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

AddCampaignsRequest Message Object

Defines the request message that the client passes to the AddCampaigns operation.


<wsdl:message name="AddCampaignsRequest">
  <wsdl:part name="parameters" element="tns:AddCampaignsRequest" />
</wsdl:message>

Body Elements

Element

Description

Data Type

AccountId

The identifier of the account to add the campaigns to.

long

Campaigns

An array of Campaign objects to add to the specified account.

You can add a maximum of 100 campaigns to an account in a single call. The total number of campaigns that you can add to an account depends on your service level. For a list of limits for a standard user, see Entity Hierarchy and Limits.

Campaign array

Header Elements

For information about the values you set the DeveloperToken, Password, and UserName elements to, see Getting Started With the Bing Ads API.

Element

Description

Data Type

ApplicationToken

The application-access token. This header element is not used and should be null.

string

AuthenticationToken

The authentication token. This header element is not used and should be null.

string

CustomerAccountId

The identifier of the account that owns the entities in the request.

string

CustomerId

The identifier of the customer that owns the account.

string

DeveloperToken

The caller's developer-access token.

string

Password

The user's sign-in password.

string

UserName

The user's sign-in user name. You cannot set this element to a Microsoft account (formerly known as Windows Live ID).

string

SOAP

The following example shows the complete SOAP envelope for an AddCampaignsRequest request.

<s:Envelope xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
  <s:Header xmlns="https://adcenter.microsoft.com/v8">
    <Action mustUnderstand="1">AddCampaigns</Action>
    <ApplicationToken i:nil="false"></ApplicationToken>
    <AuthenticationToken i:nil="false"></AuthenticationToken>
    <CustomerAccountId i:nil="false"></CustomerAccountId>
    <CustomerId i:nil="false"></CustomerId>
    <DeveloperToken i:nil="false"></DeveloperToken>
    <Password i:nil="false"></Password>
    <UserName i:nil="false"></UserName>
  </s:Header>
  <s:Body>
    <AddCampaignsRequest xmlns="https://adcenter.microsoft.com/v8">
      <AccountId></AccountId>
      <Campaigns i:nil="false">
        <Campaign>
          <BudgetType i:nil="false"></BudgetType>
          <ConversionTrackingEnabled i:nil="false"></ConversionTrackingEnabled>
          <DailyBudget i:nil="false"></DailyBudget>
          <DaylightSaving i:nil="false"></DaylightSaving>
          <Description i:nil="false"></Description>
          <Id i:nil="false"></Id>
          <MonthlyBudget i:nil="false"></MonthlyBudget>
          <Name i:nil="false"></Name>
          <Status i:nil="false"></Status>
          <TimeZone i:nil="false"></TimeZone>
        </Campaign>
      </Campaigns>
    </AddCampaignsRequest>
  </s:Body>
</s:Envelope>

Requirements

CampaignManagementService.svc v8

Namespace: https://adcenter.microsoft.com/v8

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.