Closed GoogleCodeExporter closed 9 years ago
Hey Chitrangada,
If you're using the Google Site Verification API
(https://developers.google.com/site-verification/), you can use the following
sample application to get a list of verified domains:
https://google-api-php-client.googlecode.com/svn/trunk/examples/siteVerification/simple.php
Original comment by chirags@google.com
on 7 Mar 2012 at 7:30
Thanks Chirag.
One more thing I wanted to ask you that are we able/allowed to use two
different services simultaneously?
To be more specific I need to use Google Analytic and Site Verification APIs
together.
Can you please comment on it?
Thanks again!
Original comment by chitrang...@gmail.com
on 9 Mar 2012 at 7:03
Hey,
It is possible to use both services at the same time.
You'll need to create an analytics service, and a separate siteVerification
service:
$analytics = new apiAnalyticsService($client);
$site = new apiSiteVerificationService($client);
You'll also need to enable both services in the google api console:
https://code.google.com/apis/console?analytics
https://code.google.com/apis/console?api=siteVerification
Other than that, make sure you follow the pattern offerend in the examples:
https://google-api-php-client.googlecode.com/svn/trunk/examples/siteVerification
/simple.php
https://google-api-php-client.googlecode.com/svn/trunk/examples/analytics/simple
.php
Original comment by chirags@google.com
on 12 Mar 2012 at 6:53
Original issue reported on code.google.com by
chitrang...@gmail.com
on 6 Mar 2012 at 11:15