Yahoo! Search Marketing

ExcludedWordsService

ExcludedWordsService provides operations for creating and managing excluded words for accounts and ad groups. Excluded words are used to filter out unwanted user queries when Sponsored Search with the advanced match type is enabled (see Setting Tactics).

Operations

addExcludedWordsToAccount

Add one or more excluded words to an account.

Capability required: AccountWrite
License command group: Marketing
Supported accounts: Web

Parameters

Parameter Data Type Description
excludedWords ExcludedWord[] A list of excluded words for the account.

Response

ExcludedWordResponse[] - A list of responses, which indicate if the operations succeeded or failed.

addExcludedWordsToAdGroup

Add one or more excluded words to an ad group.

Capability required: CampaignWrite
License command group: Marketing
Supported accounts: Web

Parameters

Parameter Data Type Description
excludedWords ExcludedWord[] A list of excluded words for the ad group.

Response

ExcludedWordResponse[] - A list of responses, which indicate if the operations succeeded or failed.

Sample Code

addExcludedWordToAccount

Add an excluded word to an account.

Capability required: AccountWrite
License command group: Marketing
Supported accounts: Web

Parameters

Parameter Data Type Description
excludedWord ExcludedWord The excluded word.

Response

ExcludedWordResponse - The response, which indicates if the operation succeeded or failed.

addExcludedWordToAdGroup

Add an excluded word to an ad group.

Capability required: CampaignWrite
License command group: Marketing
Supported accounts: Web

Parameters

Parameter Data Type Description
excludedWord ExcludedWord The excluded word.

Response

ExcludedWordResponse - The response, which indicates if the operation succeeded or failed.

deleteExcludedWord

Delete the excluded word (specified by excludedWordID).

Capability required: CampaignWrite
License command group: Marketing
Supported accounts: Web

Parameters

Parameter Data Type Description
excludedWordID long The excluded word ID.

Response

BasicResponse - The response, which indicates if the operation succeeded or failed.

deleteExcludedWords

Delete one or more excluded words (specified by the list of excludedWordIDs).

Capability required: CampaignWrite
License command group: Marketing
Supported accounts: Web

Parameters

Parameter Data Type Description
excludedWordIDs long[] A list of excluded word IDs.

Response

BasicResponse[] - A list of responses, which indicate if the operations succeeded or failed.

getExcludedWord

Return the excluded word (specified by excludedWordID).

Capability required: CampaignRead
License command group: Marketing
Supported accounts: Web

Parameters

Parameter Data Type Description
excludedWordID long The excluded word ID.

Response

ExcludedWord - The excluded word.

getExcludedWords

Return a list of excluded words (specified by a list of excludedWordIDs).

Capability required: CampaignRead
License command group: Marketing
Supported accounts: Web

Parameters

Parameter Data Type Description
excludedWordIDs long[] A list of excluded word IDs.

Response

ExcludedWord[] - A list of all excluded words.

getExcludedWordsByAccountID

Return the excluded words for the account (specified by accountID).

Capability required: CampaignRead
License command group: Marketing
Supported accounts: Web

Parameters

Parameter Data Type Description
accountID string The account ID.

Response

ExcludedWord[] - A list of all excluded words for the account.

getExcludedWordsByAdGroupID

Return the excluded words for the ad group (specified by adGroupID).

Capability required: CampaignRead
License command group: Marketing
Supported accounts: Web

Parameters

Parameter Data Type Description
adGroupID long The ad group ID.

Response

ExcludedWord[] - A list of all excluded words for the ad group.

Related Data Objects

Related Links

Sample Code for APIs

YSM Yahoo! Group Discussions

Re: Reports Stuck in Pending
Mon, 08 Feb 2010 18:53:43 GMT

Reports Stuck in Pending
Mon, 08 Feb 2010 16:34:31 GMT

Re: SANDBOX LICENSE
Mon, 07 Dec 2009 20:45:00 GMT

SANDBOX LICENSE
Tue, 01 Dec 2009 18:09:58 GMT

Systems Maintenance on 10/14
Wed, 14 Oct 2009 22:41:52 GMT

View All

YSM Blog Posts

Yahoo! Network Distribution and Import Campaigns Webinar
Wed, 03 Feb 2010 21:22:26 +0000

Ad News and Views from Around the Web
Wed, 03 Feb 2010 20:49:00 +0000

Don’t Set it and Forget it
Mon, 01 Feb 2010 22:04:51 +0000

Ad News and Views from Around the Web
Sat, 30 Jan 2010 01:38:53 +0000

You’re in Control
Wed, 20 Jan 2010 00:05:37 +0000

View All