Export (0) Print
Expand All

GetNormalizedStringsRequest Message Object

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

System_CLiX_note Note

Use of this operation is not recommended for determining which keywords might be considered duplicates. For example AddKeywords uses different normalization steps.

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

Body Elements

Element

Description

Data Type

Strings

An array of keyword or negative keyword strings that you want to normalize. The array can have a maximum of 1,000 strings, and each string can have a maximum of 100 characters.

string[]

Language

The language to use to normalize the strings. The language determines the rules that the service uses to normalize the strings. The language that you specify and the language of the strings to be normalized must be the same. For possible values, see Language Values.

System_CLiX_noteNote

If the Language is set to English, French, or TraditionalChinese, the noise words can be removed by setting the RemoveNoise boolean flag. If the Language is German, then noise words are not removed. For all other languages, the operation returns the input keyword with no normalization applied.

string

RemoveNoise

A Boolean value that determines whether to remove noise words from the keyword. To remove noise words, set to true. The default is true.

boolean

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

The operation does not tell you that the list of strings that you pass contains duplicate keywords. For more information about the keyword normalization process, see Keyword Normalization.

The following shows the normalized keyword based on the value of RemoveNoise.

Keyword

RemoveNoise set to true

RemoveNoise set to false

+the +car

+car

+the +car

+the+car

+car

+the car

+the & +car

+car

+the +car

the car

car

the car

+car

+car

+car

SOAP

The following example shows the complete SOAP envelope for a GetNormalizedStringsRequest 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">GetNormalizedStrings</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>
    <GetNormalizedStringsRequest xmlns="https://adcenter.microsoft.com/v8">
      <Strings i:nil="false" xmlns:a1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <a1:string></a1:string>
      </Strings>
      <Language i:nil="false"></Language>
      <RemoveNoise i:nil="false"></RemoveNoise>
    </GetNormalizedStringsRequest>
  </s:Body>
</s:Envelope>

Requirements

CampaignManagementService.svc v8

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

Community Additions

Show:
© 2014 Microsoft