Examples of performPlacementAction()


Examples of com.google.api.ads.dfp.axis.v201302.PlacementServiceInterface.performPlacementAction()

      com.google.api.ads.dfp.axis.v201302.DeactivatePlacements action =
          new com.google.api.ads.dfp.axis.v201302.DeactivatePlacements();

      // Perform action.
      UpdateResult result =
          placementService.performPlacementAction(action, statementBuilder.toStatement());

      if (result != null && result.getNumChanges() > 0) {
        System.out.printf("Number of placements deactivated: %d\n", result.getNumChanges());
      } else {
        System.out.println("No placements were deactivated.");
View Full Code Here

Examples of com.google.api.ads.dfp.axis.v201306.PlacementServiceInterface.performPlacementAction()

      com.google.api.ads.dfp.axis.v201306.DeactivatePlacements action =
          new com.google.api.ads.dfp.axis.v201306.DeactivatePlacements();

      // Perform action.
      UpdateResult result =
          placementService.performPlacementAction(action, statementBuilder.toStatement());

      if (result != null && result.getNumChanges() > 0) {
        System.out.printf("Number of placements deactivated: %d\n", result.getNumChanges());
      } else {
        System.out.println("No placements were deactivated.");
View Full Code Here

Examples of com.google.api.ads.dfp.axis.v201308.PlacementServiceInterface.performPlacementAction()

      com.google.api.ads.dfp.axis.v201308.DeactivatePlacements action =
          new com.google.api.ads.dfp.axis.v201308.DeactivatePlacements();

      // Perform action.
      UpdateResult result =
          placementService.performPlacementAction(action, statementBuilder.toStatement());

      if (result != null && result.getNumChanges() > 0) {
        System.out.printf("Number of placements deactivated: %d\n", result.getNumChanges());
      } else {
        System.out.println("No placements were deactivated.");
View Full Code Here

Examples of com.google.api.ads.dfp.axis.v201311.PlacementServiceInterface.performPlacementAction()

      com.google.api.ads.dfp.axis.v201311.DeactivatePlacements action =
          new com.google.api.ads.dfp.axis.v201311.DeactivatePlacements();

      // Perform action.
      UpdateResult result =
          placementService.performPlacementAction(action, statementBuilder.toStatement());

      if (result != null && result.getNumChanges() > 0) {
        System.out.printf("Number of placements deactivated: %d\n", result.getNumChanges());
      } else {
        System.out.println("No placements were deactivated.");
View Full Code Here

Examples of com.google.api.ads.dfp.v201208.PlacementServiceInterface.performPlacementAction()

      // Create action.
      DeactivatePlacements action = new DeactivatePlacements();

      // Perform action.
      UpdateResult result = placementService.performPlacementAction(action, filterStatement);

      // Display results.
      if (result != null && result.getNumChanges() > 0) {
        System.out.println("Number of placements deactivated: " + result.getNumChanges());
      } else {
View Full Code Here

Examples of com.google.api.ads.dfp.v201211.PlacementServiceInterface.performPlacementAction()

      // Create action.
      DeactivatePlacements action = new DeactivatePlacements();

      // Perform action.
      UpdateResult result = placementService.performPlacementAction(action, filterStatement);

      // Display results.
      if (result != null && result.getNumChanges() > 0) {
        System.out.println("Number of placements deactivated: " + result.getNumChanges());
      } else {
View Full Code Here

Examples of com.google.api.ads.dfp.v201302.PlacementServiceInterface.performPlacementAction()

      // Create action.
      DeactivatePlacements action = new DeactivatePlacements();

      // Perform action.
      UpdateResult result = placementService.performPlacementAction(action, filterStatement);

      // Display results.
      if (result != null && result.getNumChanges() > 0) {
        System.out.println("Number of placements deactivated: " + result.getNumChanges());
      } else {
View Full Code Here

Examples of com.google.api.ads.dfp.v201306.PlacementServiceInterface.performPlacementAction()

      // Create action.
      DeactivatePlacements action = new DeactivatePlacements();

      // Perform action.
      UpdateResult result = placementService.performPlacementAction(action, filterStatement);

      // Display results.
      if (result != null && result.getNumChanges() > 0) {
        System.out.println("Number of placements deactivated: " + result.getNumChanges());
      } else {
View Full Code Here

Examples of com.google.api.ads.dfp.v201308.PlacementServiceInterface.performPlacementAction()

      // Create action.
      DeactivatePlacements action = new DeactivatePlacements();

      // Perform action.
      UpdateResult result = placementService.performPlacementAction(action, filterStatement);

      // Display results.
      if (result != null && result.getNumChanges() > 0) {
        System.out.println("Number of placements deactivated: " + result.getNumChanges());
      } else {
View Full Code Here

Examples of com.google.api.ads.dfp.v201311.PlacementServiceInterface.performPlacementAction()

      // Create action.
      DeactivatePlacements action = new DeactivatePlacements();

      // Perform action.
      UpdateResult result = placementService.performPlacementAction(action, filterStatement);

      // Display results.
      if (result != null && result.getNumChanges() > 0) {
        System.out.println("Number of placements deactivated: " + result.getNumChanges());
      } else {
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.