Group: http://groups.google.com/group/adsense-api/topics
- API error: The remote server returned an error: (404) Not Found. [1 Update]
- AdSense Host API Error [1 Update]
- Broken link in Host API Getting started page [2 Updates]
- How to use Adsense API in iOS? [1 Update]
- Tony John <tonyjohn@gmail.com> Jul 22 07:08AM -0700
Here are the sequence of APIs I call:
1. Authenticate using oAuth 2.0 (https://accounts.google.com/o/oauth2/auth)
2. AsociationSessions.Start (
https://www.googleapis.com/adsensehost/v4.1/associationsessions/start)
3. AssociationSessions.Verify (
https://www.googleapis.com/adsensehost/v4.1/associationsessions/verify)
(In this step, I am getting the status ACCEPTED, but ProductCodes is null.
I am getting a valid Account Id - pub-744xxxxxxxxx)
4. Accounts.get
(https://www.googleapis.com/adsensehost/v4.1/accounts/pub-744xxxxxxxxx)
(In this API call, the pub id is part of the url and not passed as a query
string, isn't it the way to call it? Or, should I call it like this:
https://www.googleapis.com/adsensehost/v4.1/accounts/?AccountId=pub-744xxxxxxxxx
?)
Even though I get an ACCEPTED status in the .Verify call, I am getting an
exception when I call Accounts.get. The exception says:
"The remote server returned an error: (404) Not Found."
Am I missing any steps between #3 and #4 ? Or, any other reason for this
error?
- Tony John <tonyjohn@gmail.com> Jul 22 05:15AM -0700
I just wanted to report a behaviour at AdSense API call.
Here are the sequence of APIs I call:
1. Authenticate using oAuth 2.0 (https://accounts.google.com/o/oauth2/auth)
2. AsociationSession.Start
(https://www.googleapis.com/adsensehost/v4.1/associationsessions/start)
3. AssociationSession.Verify
(https://www.googleapis.com/adsensehost/v4.1/associationsessions/verify)
It works fine in normal scenarios. However, when I am working with the
Sandbox account and if I am already logged in to a live AdSense account,
Step1 calls back to my callback page without prompting for Google Login and
it fails at Step 2, with the following error:
"The link used to access this page is malformed. Please contact owners of
the referring page for more information."
Even though I know the reason and how to avoid it, I thought I would report
it so that you can give a better error message instead of a generic message
as above.
- Tony John <tonyjohn@gmail.com> Jul 19 09:27PM -0700
The link to reference documentation<https://developers.google.com/adsense/host//adsense/host/v4.1/reference/index> in
the "Getting Started" page is a broken link.
Page in which broken link appears:
https://developers.google.com/adsense/host/getting_started
Anchor text of broken link: reference documentation<https://developers.google.com/adsense/host//adsense/host/v4.1/reference/index>
Invalid link:
https://developers.google.com/adsense/host/v4.1/reference/index
Can give the correct link for the API reference documentation and also
update the page with the correct link?
Thanks.
- "Jose Alcérreca (AdSense API Team)" <adsenseapiadvisor+jose@google.com> Jul 22 03:46AM -0700
Hi Tony,
The correct link is https://developers.google.com/adsense/host/v4.1/index
Thank you, good catch!
Cheers,
Jose
---
Jose Alcérreca
Developer Relations
Google UK Limited
Registered Office: Belgrave House, 76 Buckingham Palace Road, London SW1W
9TQ
Registered in England Number: 3977902
On Saturday, 20 July 2013 05:27:21 UTC+1, Tony John wrote:
- idoodler <david.goelzhaeuser@googlemail.com> Jul 21 05:09AM -0700
Hi, I am new to that kind of API, I like to know how I can access the
Adsense information with my app?
I already created the client with Google APIs Console. How can I
authenticate the user and get the data of the user, is there some URL that
displays a JSON file that can be parsed or what must I do, I can't figure
it out with the official documentary.
Thanks for your time.
You received this message because you are subscribed to the Google Groups "AdSense API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adsense-api+unsubscribe@googlegroups.com.
To post to this group, send email to adsense-api@googlegroups.com.
Visit this group at http://groups.google.com/group/adsense-api.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment