barryhennessy / google-api-php-client

Automatically exported from code.google.com/p/google-api-php-client
Apache License 2.0
0 stars 0 forks source link

Support Google Affiliate Network API #190

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Affiliate Network Links API support is not included yet

What is the expected output? What do you see instead?

No API exists yet, although the Affiliate Network Links API is VERY new at this 
time so it wasn't something I expected to have yet, but wanted to create the 
issue so that work will have a place to be tracked.

I would expect additions to src/contrib/apiGanService.php, where a new class 
like:

class LinksServiceResource extends apiServiceResource

and initially added into the apiGanService class constructor as:

    $this->links = new LinksServiceResource($this, $this->serviceName, 'links', json_decode('json goes here', true));

and results in objects of a type of this class:

class Link extends apiModel

with member variables as noted in the online API docs here:

https://developers.google.com/affiliate-network/v1beta1/links

What version of the product are you using? On what operating system?
0.5.0

Please provide any additional information below.
Information on the Affiliate Network Links API at:
https://developers.google.com/affiliate-network/v1beta1/links
https://developers.google.com/affiliate-network/v1beta1/using_links

Original issue reported on code.google.com by jeremy.z...@gmail.com on 11 Sep 2012 at 3:22

GoogleCodeExporter commented 8 years ago
I have developed the code for adding the Links API, just waiting on my 
Individual CLA to be approved so I can submit a patch.  Hopefully this won't 
take too long, although its already been more than a month.

Original comment by jeremy.z...@gmail.com on 12 Oct 2012 at 8:04

GoogleCodeExporter commented 8 years ago
Thanks 

Original comment by ianbar...@google.com on 22 Mar 2013 at 3:33

GoogleCodeExporter commented 8 years ago
Issue 215 has been merged into this issue.

Original comment by ianbar...@google.com on 22 Mar 2013 at 4:06

GoogleCodeExporter commented 8 years ago
I think this is already fixed:
https://code.google.com/p/google-api-php-client/source/browse/trunk/src/contrib/
Google_GanService.php#168

Original comment by silv...@google.com on 28 Mar 2013 at 11:38