Export (0) Print
Expand All

GetAdsByAdGroupIdResponse Message Object

Defines the response message that the GetAdsByAdGroupId operation returns to the client.

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

Body Elements

Element

Description

Data Type

Ads

An array of Ad objects that represents the ads that have been retrieved. If the ad group doesn't contain ads, this array is empty.

Ad array

Header Elements

Element

Description

Data Type

TrackingId

The identifier of the log entry that contains details about the API call.

string

SOAP

The following example shows the complete SOAP envelope for a GetAdsByAdGroupIdResponse response.

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
  <s:Header xmlns="https://adcenter.microsoft.com/v8">
    <TrackingId p4:nil="false" xmlns:p4="http://www.w3.org/2001/XMLSchema-instance"></TrackingId>
  </s:Header>
  <s:Body>
    <GetAdsByAdGroupIdResponse xmlns="https://adcenter.microsoft.com/v8">
      <Ads p4:nil="false" xmlns:p4="http://www.w3.org/2001/XMLSchema-instance">
        <Ad p4:type="-- specify derived type here with the appropriate prefix --">
          <EditorialStatus p4:nil="false"></EditorialStatus>
          <Id p4:nil="false"></Id>
          <Status p4:nil="false"></Status>
          <Type p4:nil="false"></Type>
          <!--Keep these fields if you set the i:type attribute to MobileAd-->
          <BusinessName p4:nil="false"></BusinessName>
          <DestinationUrl p4:nil="false"></DestinationUrl>
          <DisplayUrl p4:nil="false"></DisplayUrl>
          <PhoneNumber p4:nil="false"></PhoneNumber>
          <Text p4:nil="false"></Text>
          <Title p4:nil="false"></Title>
          <!--Keep these fields if you set the i:type attribute to TextAd-->
          <DestinationUrl p4:nil="false"></DestinationUrl>
          <DisplayUrl p4:nil="false"></DisplayUrl>
          <Text p4:nil="false"></Text>
          <Title p4:nil="false"></Title>
          <!--Keep this field if you set the i:type attribute to ProductAd-->
          <PromotionalText p4:nil="false"></PromotionalText>
        </Ad>
      </Ads>
    </GetAdsByAdGroupIdResponse>
  </s:Body>
</s:Envelope>

The array of ads will not contain rich ads that were added to the ad group by using the Bing Ads web application or Bing Ads Editor.

Requirements

CampaignManagementService.svc v8

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

Community Additions

Show:
© 2014 Microsoft