Click to Rate and Give Feedback
MSDN
MSDN Library
Live Services SDK
 Create Keywords in Perl

  Switch on low bandwidth view
Microsoft Advertising APIs
Create Keywords in Perl

The following Perl example shows how to create keywords by using the Campaign Management Web service. This example assumes that you have already determined which ad group ID will be used for the keywords; you must substitute your ad group ID for the $AdGroupID variable that is assigned 50777472 in the following code.

For an example about creating an ad group and retrieving the ad group ID, see Create Ad Groups in Perl.

This example is currently under development.

Each successfully created keyword is assigned a keyword ID by Microsoft adCenter. The keyword ID is stored in the Id element of the Keyword object.

When you have received the keyword IDs, you should store them for future use. For information about why storing the IDs is recommended, see Creating an Efficient Microsoft adCenter Application. If you don't store them, you can retrieve them by calling the GetKeywordsByAdGroupId service operation. You can retrieve the properties associated with a keyword by calling the GetKeywordsByIds service operation.

Calling GetKeywordsByAdGroupId or GetAdKeywordsByIds reduces your API quota. For more information, see Quotas in Microsoft adCenter.

When you have successfully created your ads and keywords, the next step is to submit your ad group for approval. For an example about submitting your ad group for approval, see Submit an Ad Group for Approval in Perl.

© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker