Skip to content

Commit 85db326

Browse files
committed
Fixes a small bug with one of the command line samples for AdSense. s/paymentAmountMicros/paymentAmount.
1 parent a257aaa commit 85db326

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/adsense/get_all_payments.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def main(argv):
4242
for payment in payments:
4343
print ('Payment with id "%s" of %s %s and date %s was found. '
4444
% (str(payment['id']),
45-
payment['paymentAmountMicros'],
45+
payment['paymentAmount'],
4646
payment['paymentAmountCurrencyCode'],
4747
payment.get('paymentDate', 'unknown')))
4848
else:

0 commit comments

Comments
 (0)