1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Getting the Google

Discussion in 'Shopping' started by chandramouli.tanikonda, Dec 15, 2009.

  1. #1
    Hi,
    Iam using Google product api.But iam getting the products.Those products are different to the Googlel products.
    SEMrush
    Which package is going to use to get the sample products those match with hthe Google products..

    thanks in advance

    Regards
    ChandraMouli Tanikonda
     
    chandramouli.tanikonda, Dec 15, 2009 IP
    SEMrush
  2. chandramouli.tanikonda

    chandramouli.tanikonda Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I written the code like this.If anyerror in my code please let me know...


    GoogleBaseQuery query = new GoogleBaseQuery(FeedURLFactory.getDefault().getSnippetsFeedURL());
    query.setGoogleBaseQuery(searchStr);
    query.setFullTextQuery(searchStr);
    GoogleBaseFeed feed = service.query(query);
    for(GoogleBaseEntry entry : feed.getEntries()){
    if(entry.getGoogleBaseAttributes().getItemType().equals("Products")){
    products.add(new QuerySearch(entry.getGoogleBaseAttributes().getImageLink(),
    entry.getTitle().getPlainText(),
    entry.getGoogleBaseAttributes().getPrice().toString(),
    entry.getHtmlLink().getHref(),
    entry.getTextContent().getContent().getPlainText()));
    }
    }
    form.setProducts(products);
    }catch(Exception e){
    e.printStackTrace();
    }
    }
     
    chandramouli.tanikonda, Dec 15, 2009 IP
  3. Aj khan

    Aj khan Peon

    Messages:
    67
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    your question makes no sense , rephrase it and you may get the answer your looking for .
     
    Aj khan, Dec 16, 2009 IP
  4. adolouw

    adolouw Guest

    Messages:
    14
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Do you want to buy google,you use google adwords is a useful tool!
     
    adolouw, Dec 17, 2009 IP