php - Web Master Tools API Search Analytics Ver 3 -


i using google web master tools api v3 search analytics. using service account retrieve analytics. received following message.

(403) user not have sufficient permission site 'http://www.1800medexpress.com/'. see also: https://support.google.com/webmasters/answer/2451999.'

i added service account email address web master tools owner. still received same error.

i used php api library.

i haven't tried should work.

in webmaster tools website in question. upper right hand corner there cogwheel click on go users , property owners click add new user button add service account email address.

then try , run code.

service accounts need granted access data other user default don't have access data.

update:

by checking documentation can see in fact possible use service account webmaster tools api needs set properly. may issue code or how have set up. clod should simlar this. service account google calendar

a service account used in application calls apis on behalf of application not access user information. type of application needs prove own identity, not need user authorize requests. google accounts documentation contains more details service accounts.


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -