- Service Account for AdSense Management API 1.1 [2 Updates]
- Peter Diamant <email@example.com> May 10 11:13PM -0700
Thanks for the quick response. I'll look into that.
My next problem (which is Google's problem!), is that there is a major
bug in Version 1.1 of the .Net Beta Client API Library.
Fortunately, I've fixed it in my version of the client library source.
The problem is that the HttpWebRequestBuilder that constructs the REST
service URI uses an IDictionary for the query parameters. This will
not work for all calls to the service because some query parameters
are repeated, in my particular case; the Metric key for the Generate
Reports call has multiple values.
Build and run your AdSense.Sample in the GoogleApisSamples solution
and you will see a crash. You also have the report start and end
dates the wrong way around in the sample which doesn't help.
I've fixed it to allow multiple values for a particular query string
parameter. I can send you my code if you want.
- "Sérgio Gomes" <firstname.lastname@example.org> May 22 04:28AM -0700
Apologies for the late response, looks like your message got stuck in the
That's odd, I tested the samples quite thoroughly. Have you tried assigning
an array to a parameter, instead of repeating it? That's generally the way
that repeated HTTP parameters get mapped onto programming languages like C#.
Google UK Limited
Registered Office: Belgrave House, 76 Buckingham Palace Road, London SW1W
Registered in England Number: 3977902
On Friday, 11 May 2012 07:13:58 UTC+1, Peter Diamant wrote:
You received this message because you are subscribed to the Google Group adsense-api.
You can post via email.
To unsubscribe from this group, send an empty message.
For more options, visit this group.
You received this message because you are subscribed to the Google Groups "AdSense API Forum" group.
To post to this group, send email to email@example.com.
To unsubscribe from this group, send email to firstname.lastname@example.org.
For more options, visit this group at http://groups.google.com/group/adsense-api?hl=en.