Package com.google.api.ads.adwords.axis.v201406.video

Examples of com.google.api.ads.adwords.axis.v201406.video.VideoCampaignCriterionServiceInterface.mutate()


    TargetingGroupCriterionOperation addUserInterestCriteriaOp =
        new TargetingGroupCriterionOperation();
    addUserInterestCriteriaOp.setOperand(interestCriterion);
    addUserInterestCriteriaOp.setOperator(Operator.ADD);

    TargetingGroupCriterionReturnValue result = videoTargetingGroupCriterionService.mutate(
        new TargetingGroupCriterionOperation[] {
          addAgeCriterionOp, addGenderCriterionOp,
          addNegativeAgeCriterionOp, addTopicCriterionOp,
          addUserInterestCriteriaOp});
   
View Full Code Here


    TargetingGroupOperation operation = new TargetingGroupOperation();
    operation.setOperator(Operator.SET);
    operation.setOperand(targetingGroup);

    TargetingGroupReturnValue result =
        videoTargetingGroupService.mutate(new TargetingGroupOperation[] {operation});
   
    for (TargetingGroup targetingGroupResult : result.getValue()) {
      System.out.printf("Targeting group with campaign id %d, "
          + "and targeting group id %d was updated.%n",
          targetingGroupResult.getCampaignId(),
View Full Code Here

    TargetingGroupOperation operation = new TargetingGroupOperation();
    operation.setOperand(targetingGroup);
    operation.setOperator(Operator.ADD);

    TargetingGroupReturnValue result =
        videoTargetingGroupService.mutate(new TargetingGroupOperation[] {operation});

    for (TargetingGroup targetingGroupResult : result.getValue()) {
      System.out.printf("Targeting group with campaign id %d,"
          + " and targeting group id %d was added.%n",
          targetingGroupResult.getCampaignId(), targetingGroupResult.getId());
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.