CampaignManagement PauseAds Service Operation
CampaignManagement PauseAds Service Operation
Microsoft Advertising APIs
CampaignManagement PauseAds Service Operation

Pauses one or more ads.

Syntax

<wsdl:operation name="PauseAds">
  <soap:operation soapAction="PauseAds" style="document" />
  <wsdl:input name="PauseAdsRequest">
    <soap:header message="tns:PauseAdsRequest_Headers" part="ApplicationToken" use="literal" />
    <soap:header message="tns:PauseAdsRequest_Headers" part="CustomerAccountId" use="literal" />
    <soap:header message="tns:PauseAdsRequest_Headers" part="CustomerId" use="literal" />
    <soap:header message="tns:PauseAdsRequest_Headers" part="DeveloperToken" use="literal" />
    <soap:header message="tns:PauseAdsRequest_Headers" part="Password" use="literal" />
    <soap:header message="tns:PauseAdsRequest_Headers" part="UserName" use="literal" />
    <soap:body use="literal" />
  </wsdl:input>
  <wsdl:output name="PauseAdsResponse">
    <soap:header message="tns:PauseAdsResponse_Headers" part="TrackingId" use="literal" />
    <soap:body use="literal" />
  </wsdl:output>
  <wsdl:fault name="ApiFaultDetailFault">
    <soap:fault use="literal" name="ApiFaultDetailFault" namespace="" />
  </wsdl:fault>
  <wsdl:fault name="AdApiFaultDetailFault">
    <soap:fault use="literal" name="AdApiFaultDetailFault" namespace="" />
  </wsdl:fault>
</wsdl:operation>
Request

A PauseAdsRequest object that contains the header and parameter information for the service operation.

Response

A PauseAdsResponse object that contains the response information for the service request.

Fault

If a Microsoft adCenter API error occurs, a FaultException exception is thrown. It contains one of the following objects:

For more information about fault detail objects, see Microsoft adCenter API Error Handling. For a list of campaign-management–specific error codes, see Campaign Management Error Codes. For a list of generic error codes, see Common Error Codes.

Remarks

Because this service operation uses arrays, we recommend that you read the Quotas in Microsoft adCenter topic before you use this service operation. Arrays can consume a large percentage of your allocated quota.

Requirements

WSDL: CampaignManagementService.svc in version 6.

See Also

Reference

CampaignManagement ResumeAds Service Operation

Other Resources

Quotas in Microsoft adCenter

© 2009 Microsoft Corporation. All rights reserved.   Terms of Use | Trademarks | Privacy Statement
Page view tracker
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Do you like the tabbed code blocks?
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
Classic
Lightweight Beta
ScriptFree
Switch View