Package com.google.api.adwords.v201306.cm

Examples of com.google.api.adwords.v201306.cm.Keyword


  /**
   * Test adding a biddable ad group criterion.
   */
  public void testAddBiddable() throws Exception {
    // Create keyword.
    Keyword keyword = new Keyword();
    keyword.setText("mars cruise");
    keyword.setMatchType(KeywordMatchType.BROAD);

    // Create biddable ad group criterion.
    BiddableAdGroupCriterion criterion = new BiddableAdGroupCriterion();
    criterion.setAdGroupId(adGroupId);
    criterion.setCriterion(keyword);
View Full Code Here


  /**
   * Test adding a negative ad group criterion.
   */
  public void testAddNegative() throws Exception {
    // Create keyword.
    Keyword keyword = new Keyword();
    keyword.setText("jupiter cruise");
    keyword.setMatchType(KeywordMatchType.BROAD);

    // Create biddable ad group criterion.
    NegativeAdGroupCriterion criterion = new NegativeAdGroupCriterion();
    criterion.setAdGroupId(adGroupId);
    criterion.setCriterion(keyword);
View Full Code Here

    averageTargetedMonthlySearchesSearchParameter
        .setOperation(new LongComparisonOperation(1L, 50L));

    RelatedToKeywordSearchParameter relatedToKeywordSearchParameter =
        new RelatedToKeywordSearchParameter();
    Keyword keyword = new Keyword();
    keyword.setText("election");
    keyword.setMatchType(KeywordMatchType.BROAD);
    relatedToKeywordSearchParameter.setKeywords(new Keyword[] {keyword});

    selector.setSearchParameters(new SearchParameter[] {
        averageTargetedMonthlySearchesSearchParameter, relatedToKeywordSearchParameter});
View Full Code Here

        CompetitionSearchParameterLevel.HIGH};
    competitionSearchParameter.setLevels(levels);

    RelatedToKeywordSearchParameter relatedToKeywordSearchParameter =
        new RelatedToKeywordSearchParameter();
    Keyword keyword = new Keyword();
    keyword.setText("election");
    keyword.setMatchType(KeywordMatchType.BROAD);
    relatedToKeywordSearchParameter.setKeywords(new Keyword[] {keyword});

    selector.setSearchParameters(new SearchParameter[] {
        competitionSearchParameter,relatedToKeywordSearchParameter});
View Full Code Here

        new CountryTarget(null, null, "CN"), new CountryTarget(null, null, "JP")};
    countryTargetSearchParameter.setCountryTargets(targets);

    RelatedToKeywordSearchParameter relatedToKeywordSearchParameter =
        new RelatedToKeywordSearchParameter();
    Keyword keyword = new Keyword();
    keyword.setText("election");
    keyword.setMatchType(KeywordMatchType.BROAD);
    relatedToKeywordSearchParameter.setKeywords(new Keyword[] {keyword});

    selector.setSearchParameters(new SearchParameter[] {
        countryTargetSearchParameter,relatedToKeywordSearchParameter});
View Full Code Here

    // Create selector and parameters.
    TargetingIdeaSelector selector = new TargetingIdeaSelector();

    ExcludedKeywordSearchParameter excludedKeywordSearchParameter =
        new ExcludedKeywordSearchParameter();
    Keyword keyword1 = new Keyword();
    keyword1.setText("media player");
    keyword1.setMatchType(KeywordMatchType.EXACT);
    excludedKeywordSearchParameter.setKeywords(new Keyword[] {keyword1});

    KeywordMatchTypeSearchParameter keywordMatchTypeSearchParameter =
        new KeywordMatchTypeSearchParameter();
    keywordMatchTypeSearchParameter.setKeywordMatchTypes(new KeywordMatchType[] {
        KeywordMatchType.BROAD, KeywordMatchType.EXACT});

    RelatedToKeywordSearchParameter relatedToKeywordSearchParameter =
        new RelatedToKeywordSearchParameter();
    Keyword keyword2 = new Keyword();
    keyword2.setText("dvd player");
    keyword2.setMatchType(KeywordMatchType.EXACT);
    relatedToKeywordSearchParameter.setKeywords(new Keyword[] {keyword2});

    selector.setSearchParameters(new SearchParameter[] {
        excludedKeywordSearchParameter, keywordMatchTypeSearchParameter,
        relatedToKeywordSearchParameter});
View Full Code Here

    longComparisonOperation.setMaximum(new Long(10000));
    globalMonthlySearchesSearchParameter.setOperation(longComparisonOperation);

    RelatedToKeywordSearchParameter relatedToKeywordSearchParameter =
        new RelatedToKeywordSearchParameter();
    Keyword keyword = new Keyword();
    keyword.setText("dvd player");
    keyword.setMatchType(KeywordMatchType.EXACT);
    relatedToKeywordSearchParameter.setKeywords(new Keyword[] {keyword});

    selector.setSearchParameters(new SearchParameter[] {
        globalMonthlySearchesSearchParameter, relatedToKeywordSearchParameter});
View Full Code Here

    KeywordCategoryIdSearchParameter keywordCategoryIdSearchParameter =
        new KeywordCategoryIdSearchParameter(null, new Integer(5));

    RelatedToKeywordSearchParameter relatedToKeywordSearchParameter =
        new RelatedToKeywordSearchParameter();
    Keyword keyword = new Keyword();
    keyword.setText("presidential vote");
    keyword.setMatchType(KeywordMatchType.EXACT);
    relatedToKeywordSearchParameter.setKeywords(new Keyword[] {keyword});

    selector.setSearchParameters(new SearchParameter[] {
        keywordCategoryIdSearchParameter, relatedToKeywordSearchParameter});
View Full Code Here

    keywordMatchTypeSearchParameter.setKeywordMatchTypes(new KeywordMatchType[] {
        KeywordMatchType.BROAD, KeywordMatchType.EXACT});

    RelatedToKeywordSearchParameter relatedToKeywordSearchParameter =
        new RelatedToKeywordSearchParameter();
    Keyword keyword = new Keyword();
    keyword.setText("presidential vote");
    keyword.setMatchType(KeywordMatchType.EXACT);
    relatedToKeywordSearchParameter.setKeywords(new Keyword[] {keyword});

    selector.setSearchParameters(new SearchParameter[] {
        keywordMatchTypeSearchParameter, relatedToKeywordSearchParameter});
View Full Code Here

        new LanguageTarget(null, "cn"), new LanguageTarget(null, "jp")};
    languageTargetSearchParameter.setLanguageTargets(targets);

    RelatedToKeywordSearchParameter relatedToKeywordSearchParameter =
        new RelatedToKeywordSearchParameter();
    Keyword keyword = new Keyword();
    keyword.setText("presidential vote");
    keyword.setMatchType(KeywordMatchType.EXACT);
    relatedToKeywordSearchParameter.setKeywords(new Keyword[] {keyword});

    selector.setSearchParameters(new SearchParameter[] {
        languageTargetSearchParameter, relatedToKeywordSearchParameter});
View Full Code Here

TOP

Related Classes of com.google.api.adwords.v201306.cm.Keyword

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.