LookSmart® API v4.0 Developer Implementation Guide
  Introduction
  Accounts Service
  Campaigns Service
  Ad Groups Service
  Ads Service
  Keywords Service
  Reports Service
  Geo Locations
Frequently Asked Questions
Implementation Guide

version 3
 

KeywordStruct

Field Type Description
ad_group_id int The ID for the ad group to which this keyword belongs
destination_url String Optional Destination URL for the keyword. Is used instead of the ad destination URL. When used to create or update a keyword, destination_url has the following validations:
  • destination_url must begin with http:// or https://.
  • destination_url must not contain a banned domain.
  • destination_url must not be a banned URL.
  • destination_url must not contain more than 1000 characters (counting the default text length if dynamic substitution fields are used).
keyword String The keyword text. When used to create or update an ad keyword, keyword has the following validations:
  • keyword must not contain adult words if the is_adult flag belonging to the ad group is false.
  • keyword must not be a banned keyword.
  • keyword must not be a duplicate of another keyword already linked to ad_id.
  • keyword must not have more than 100 characters and may not be blank.
keyword_id int System assigned unique ID for the keyword.
keyword_state String The state of the specified keyword target expressed as on or off. When used to create or update an ad keyword, ad_keyword_state must equal onor off.
max_cpc double The max cpc for the specified keyword target. If no value passed, the target inherits the campaign or ad group level max cpc. When used to create or update an ad keyword, max_cpc has the following validations:
  • max_cpc must not be greater than $1,000,000.00.
  • max_cpc must not be greater than $20.00.
  • max_cpc must not be less than $0.01.
match_type_id int Keyword match type. At present the folllowing matchtypes are supported:
  • 0=smart
  • 1=broad
  • 3=negative.
If null passed, defaults to broad match.



When used to create or update an ad keyword, match_type_id has the following validations:
  • match_type_id may not be 3 if there is not at least one broad match keyword already linked to the ad group.