Package com.google.api.services.analytics.model

Examples of com.google.api.services.analytics.model.Profiles


                else {
                    for (Webproperty webproperty : webproperties.getItems()) {
                        String webpropertyId = webproperty.getId();

                        // Query profiles collection.
                        Profiles profiles = analytics.management().profiles().list(accountId, webpropertyId).execute();
                        if (profiles.getItems().isEmpty()) {
                            System.err.println("No profiles found");
                        }
                        else {
                            for (Profile profile : profiles.getItems()) {
                                jsonProfiles.add(new JSONObjectBuilder()
                                        .add("id", profile.getId())
                                        .add("name", profile.getName())
                                        .build());
                            }
View Full Code Here

TOP

Related Classes of com.google.api.services.analytics.model.Profiles

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.