Package com.google.api.ads.dfp.jaxws.v201211

Examples of com.google.api.ads.dfp.jaxws.v201211.Network


    // Get the NetworkService.
    NetworkServiceInterface networkService =
        dfpServices.get(session, NetworkServiceInterface.class);

    // Get the current network.
    Network network = networkService.getCurrentNetwork();

    System.out.printf("Current network has network code \"%s\" and display name \"%s\".\n",
        network.getNetworkCode(), network.getDisplayName());
  }
View Full Code Here


    // Get the NetworkService.
    NetworkServiceInterface networkService =
        dfpServices.get(session, NetworkServiceInterface.class);

    // Make the test network.
    Network network = networkService.makeTestNetwork();

    System.out.printf(
        "Test network with network code \"%s\" and display name \"%s\" created.\n"
        + "You may now sign in at https://www.google.com/dfp/main?networkCode=%s\n",
        network.getNetworkCode(), network.getDisplayName(), network.getNetworkCode());
  }
View Full Code Here

    // Get the NetworkService.
    NetworkServiceInterface networkService =
        dfpServices.get(session, NetworkServiceInterface.class);

    // Get the current network.
    Network network = networkService.getCurrentNetwork();

    System.out.printf("Current network has network code \"%s\" and display name \"%s\".\n",
        network.getNetworkCode(), network.getDisplayName());
  }
View Full Code Here

    // Get the NetworkService.
    NetworkServiceInterface networkService =
        dfpServices.get(session, NetworkServiceInterface.class);

    // Make the test network.
    Network network = networkService.makeTestNetwork();

    System.out.printf(
        "Test network with network code \"%s\" and display name \"%s\" created.\n"
        + "You may now sign in at https://www.google.com/dfp/main?networkCode=%s\n",
        network.getNetworkCode(), network.getDisplayName(), network.getNetworkCode());
  }
View Full Code Here

    // Get the NetworkService.
    NetworkServiceInterface networkService =
        dfpServices.get(session, NetworkServiceInterface.class);

    // Make the test network.
    Network network = networkService.makeTestNetwork();

    System.out.printf(
        "Test network with network code \"%s\" and display name \"%s\" created.\n"
        + "You may now sign in at https://www.google.com/dfp/main?networkCode=%s\n",
        network.getNetworkCode(), network.getDisplayName(), network.getNetworkCode());
  }
View Full Code Here

    // Get the NetworkService.
    NetworkServiceInterface networkService =
        dfpServices.get(session, NetworkServiceInterface.class);

    // Get the current network.
    Network network = networkService.getCurrentNetwork();

    System.out.printf("Current network has network code \"%s\" and display name \"%s\".\n",
        network.getNetworkCode(), network.getDisplayName());
  }
View Full Code Here

    // Get the NetworkService.
    NetworkServiceInterface networkService =
        dfpServices.get(session, NetworkServiceInterface.class);

    // Gets the current network.
    Network network = networkService.getCurrentNetwork();

    System.out.printf("Current network has network code \"%s\" and display name \"%s\".\n",
        network.getNetworkCode(), network.getDisplayName());
  }
View Full Code Here

    // Get the NetworkService.
    NetworkServiceInterface networkService =
        dfpServices.get(session, NetworkServiceInterface.class);

    // Get the current network.
    Network network = networkService.getCurrentNetwork();

    System.out.printf("Current network has network code \"%s\" and display name \"%s\".\n",
        network.getNetworkCode(), network.getDisplayName());
  }
View Full Code Here

    // Get the NetworkService.
    NetworkServiceInterface networkService =
        dfpServices.get(session, NetworkServiceInterface.class);

    // Make the test network.
    Network network = networkService.makeTestNetwork();

    System.out.printf(
        "Test network with network code \"%s\" and display name \"%s\" created.\n"
        + "You may now sign in at https://www.google.com/dfp/main?networkCode=%s\n",
        network.getNetworkCode(), network.getDisplayName(), network.getNetworkCode());
  }
View Full Code Here

      return (Value) value;
    } else if (value == null) {
      return new TextValue();
    } else {
      if (value instanceof Boolean) {
        BooleanValue booleanValue = new BooleanValue();
        booleanValue.setValue((Boolean) value);
        return booleanValue;
      } else if (value instanceof Double || value instanceof Long || value instanceof Integer) {
        NumberValue numberValue = new NumberValue();
        numberValue.setValue(value.toString());
        return numberValue;
View Full Code Here

TOP

Related Classes of com.google.api.ads.dfp.jaxws.v201211.Network

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.