Skip to content

Latest commit

 

History

History

java-sample

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Naver SearchAD API - Java Sample

Getting started

Pre-requirements

Issue the API License and the secret key

  1. Sign up for NAVER SEARCH ADVERTISER's Center (http://searchad.naver.com)
  2. Go to (http://manage.searchad.naver.com)
  3. Go to Tools > API Manager
  4. Create API license

Git clone

$ git clone https://github.com/naver/searchad-apidoc.git
$ cd searchad-apidoc/java-sample/
  • API_KEY
  • SECRET_KEY
  • CUSTOMER_ID

Build

with installed maven

$ mvn clean package

with embeded maven

$ ./mvnw clean package

Execute sample codes.

*nix

$ cd target
$ java -cp com.naver.searchad.api-java-sample.jar:lib/* com.naver.searchad.api.sample.AdManagementSample

windows

> cd target
> java -cp com.naver.searchad.api-java-sample.jar;lib/* com.naver.searchad.api.sample.AdManagementSample