Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(870)

Issue 5488082: AdSense Management API v1.1 code samples (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 9 months ago by sgomes
Modified:
12 years, 4 months ago
Reviewers:
jcgregorio_google
CC:
google-api-python-client_googlegroups.com
Visibility:
Public.

Patch Set 1 #

Patch Set 2 : Removing redundant changes to client_secrets.json #

Total comments: 6

Patch Set 3 : Replacing ID placeholders with command-line flags in AdSense Management API samples. #

Total comments: 2

Patch Set 4 : Moving flag definitions to global scope. #

Total comments: 11

Patch Set 5 : Review changes #

Patch Set 6 : Adding line between comment summary and full description #

Unified diffs Side-by-side diffs Delta from patch set Stats (+433 lines, -17 lines) Patch
M samples/adsense/generate_report.py View 1 2 3 4 5 1 chunk +10 lines, -2 lines 0 comments Download
M samples/adsense/generate_report_with_paging.py View 1 2 3 4 5 2 chunks +10 lines, -2 lines 0 comments Download
A samples/adsense/get_account_tree.py View 1 2 3 4 5 1 chunk +69 lines, -0 lines 0 comments Download
A samples/adsense/get_all_accounts.py View 1 chunk +55 lines, -0 lines 0 comments Download
M samples/adsense/get_all_ad_clients.py View 2 chunks +2 lines, -2 lines 0 comments Download
A samples/adsense/get_all_ad_clients_for_account.py View 1 2 3 1 chunk +67 lines, -0 lines 0 comments Download
M samples/adsense/get_all_ad_units.py View 1 2 3 4 5 1 chunk +11 lines, -3 lines 0 comments Download
A samples/adsense/get_all_ad_units_for_custom_channel.py View 1 2 3 4 5 1 chunk +80 lines, -0 lines 0 comments Download
M samples/adsense/get_all_custom_channels.py View 1 2 3 4 5 1 chunk +23 lines, -3 lines 0 comments Download
A samples/adsense/get_all_custom_channels_for_ad_unit.py View 1 2 3 4 5 1 chunk +93 lines, -0 lines 0 comments Download
M samples/adsense/get_all_url_channels.py View 1 2 3 4 5 1 chunk +11 lines, -3 lines 0 comments Download
M samples/adsense/sample_utils.py View 1 2 5 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 11
sgomes
Hey Joe, Not sure if there's some mailing list I should be sending this to, ...
12 years, 8 months ago (2012-01-09 13:30:43 UTC) #1
jcgregorio_google
http://codereview.appspot.com/5488082/diff/2001/samples/adsense/get_account_tree.py File samples/adsense/get_account_tree.py (right): http://codereview.appspot.com/5488082/diff/2001/samples/adsense/get_account_tree.py#newcode36 samples/adsense/get_account_tree.py:36: account_id = 'INSERT_ACCOUNT_ID_HERE' use gflags and make this a ...
12 years, 8 months ago (2012-01-09 14:30:55 UTC) #2
sgomes
Thanks! All comments addressed. http://codereview.appspot.com/5488082/diff/2001/samples/adsense/get_account_tree.py File samples/adsense/get_account_tree.py (right): http://codereview.appspot.com/5488082/diff/2001/samples/adsense/get_account_tree.py#newcode36 samples/adsense/get_account_tree.py:36: account_id = 'INSERT_ACCOUNT_ID_HERE' On 2012/01/09 ...
12 years, 8 months ago (2012-01-11 17:55:24 UTC) #3
jcgregorio_google
http://codereview.appspot.com/5488082/diff/4003/samples/adsense/generate_report.py File samples/adsense/generate_report.py (right): http://codereview.appspot.com/5488082/diff/4003/samples/adsense/generate_report.py#newcode33 samples/adsense/generate_report.py:33: gflags.DEFINE_string('ad_client_id', None, Flag definitions go at the global scope.
12 years, 8 months ago (2012-01-12 14:08:03 UTC) #4
sgomes
Thanks, suggestion applied across all files with the issue. http://codereview.appspot.com/5488082/diff/4003/samples/adsense/generate_report.py File samples/adsense/generate_report.py (right): http://codereview.appspot.com/5488082/diff/4003/samples/adsense/generate_report.py#newcode33 samples/adsense/generate_report.py:33: ...
12 years, 8 months ago (2012-01-12 15:53:07 UTC) #5
jcgregorio_google
http://codereview.appspot.com/5488082/diff/5006/samples/adsense/get_account_tree.py File samples/adsense/get_account_tree.py (right): http://codereview.appspot.com/5488082/diff/5006/samples/adsense/get_account_tree.py#newcode18 samples/adsense/get_account_tree.py:18: This includes the full tree of sub-accounts. Blank line ...
12 years, 7 months ago (2012-01-18 13:43:44 UTC) #6
sgomes
http://codereview.appspot.com/5488082/diff/5006/samples/adsense/get_account_tree.py File samples/adsense/get_account_tree.py (right): http://codereview.appspot.com/5488082/diff/5006/samples/adsense/get_account_tree.py#newcode18 samples/adsense/get_account_tree.py:18: This includes the full tree of sub-accounts. On 2012/01/18 ...
12 years, 7 months ago (2012-01-20 13:57:18 UTC) #7
jcgregorio_google
http://codereview.appspot.com/5488082/diff/5006/samples/adsense/get_account_tree.py File samples/adsense/get_account_tree.py (right): http://codereview.appspot.com/5488082/diff/5006/samples/adsense/get_account_tree.py#newcode18 samples/adsense/get_account_tree.py:18: This includes the full tree of sub-accounts. Does this ...
12 years, 7 months ago (2012-01-31 17:21:23 UTC) #8
sgomes
Sorry, I thought you meant remove, rather than add. Done for all files. --- On ...
12 years, 7 months ago (2012-02-01 11:38:06 UTC) #9
jcgregorio_google
LGTM
12 years, 7 months ago (2012-02-07 18:58:50 UTC) #10
jcgregorio_google
12 years, 7 months ago (2012-02-07 19:32:18 UTC) #11
On 2012/02/07 18:58:50, jcgregorio_google wrote:
> LGTM

Committed in
http://code.google.com/p/google-api-python-client/source/detail?r=75895416612...
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b