集成指南专有integration guide.pdf
Introduction
Themobilesearchsite
allowsappdevelopersandwebsite
publisherstomonetizesearchtraffic
generatedontheirproperties.
Thisdocumentdescribeshowto
integrateyourmobileapporsitewith
thesite.Ithasbeen
writtenprimarilyfordevelopers.For
assistance,pleasecontactyouraccount
manager.
M–IntegrationGuidev1.03
IntegratingYourMobileApporWebSite
GettingStarted
Aspartofyourinitialsetup,youraccountmanagerwillprovideyouwiththisguideplusan
origincodetouniquelyidentifyyourtraffic.Theorigincodewilllooksomethinglikethis:
APN12345
Whenauserinitiatesasearch,youmaysimplyopenawebcontrolwithinyourappor
directtheexistingbrowsertothefollowingURL:
[integration-type]o=[ocode]q=[query]
RequiredURLParameters
YoushouldpassthefollowingparametersintheURLquerystring:
ParameterNotes
Basedonyourimplementation,useoneofthefollowingvalues:
“hp”-browserhomepage
[integration-
“ds”-browserdefaultsearchsettings
type]
“dial”-browserspeeddial:
“icon”–searchshortcut
Thisorigincodeassignedtoyoubyyouraccountmanager.Thisisneededto
[ocode]
properlyattributetraffictoyourproperty
[query]Searchtermenteredbyuser
IMPORTANT
EncodingURLparameters:AswithanyURLquerystringparameters,besureto
URLencode(aka“percentencode”)allparametervalueswhenpassingtothesite.
RefertoformoreinfoonURL
encoding.
umSearchQueryLength:Dependingonhowyoucollectthesearchterm