diff options
author | Joe Gregorio <jcgregorio@google.com> | 2013-09-05 12:53:31 -0400 |
---|---|---|
committer | Joe Gregorio <jcgregorio@google.com> | 2013-09-05 12:53:31 -0400 |
commit | 959d241c714f244f6a64f033e25236d970c66d1c (patch) | |
tree | 88b67afc7d76cd89b6e572eb2e3228922aed0d5a /samples | |
parent | 65a0806dbcbce3ec821131d2f3cd736a136e8213 (diff) | |
download | oauth2client-959d241c714f244f6a64f033e25236d970c66d1c.tar.gz |
Updating Python AdX Buyer REST Samples to v1.3
Reviewed in https://codereview.appspot.com/13568043/.
Diffstat (limited to 'samples')
-rw-r--r-- | samples/adexchangebuyer/get_all_accounts.py | 2 | ||||
-rw-r--r-- | samples/adexchangebuyer/get_creative.py | 2 | ||||
-rw-r--r-- | samples/adexchangebuyer/get_direct_deals.py | 2 | ||||
-rw-r--r-- | samples/adexchangebuyer/submit_creative.py | 2 | ||||
-rw-r--r-- | samples/adexchangebuyer/update_account.py | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/samples/adexchangebuyer/get_all_accounts.py b/samples/adexchangebuyer/get_all_accounts.py index b1abc90..41d2554 100644 --- a/samples/adexchangebuyer/get_all_accounts.py +++ b/samples/adexchangebuyer/get_all_accounts.py @@ -31,7 +31,7 @@ from oauth2client import client def main(argv): # Authenticate and construct service. service, flags = sample_tools.init( - argv, 'adexchangebuyer', 'v1.2', __doc__, __file__, + argv, 'adexchangebuyer', 'v1.3', __doc__, __file__, scope='https://www.googleapis.com/auth/adexchange.buyer') try: diff --git a/samples/adexchangebuyer/get_creative.py b/samples/adexchangebuyer/get_creative.py index 5ed2bfa..e4db623 100644 --- a/samples/adexchangebuyer/get_creative.py +++ b/samples/adexchangebuyer/get_creative.py @@ -40,7 +40,7 @@ argparser.add_argument('buyer_creative_id', def main(argv): # Authenticate and construct service. service, flags = sample_tools.init( - argv, 'adexchangebuyer', 'v1.2', __doc__, __file__, parents=[argparser], + argv, 'adexchangebuyer', 'v1.3', __doc__, __file__, parents=[argparser], scope='https://www.googleapis.com/auth/adexchange.buyer') account_id = flags.account_id diff --git a/samples/adexchangebuyer/get_direct_deals.py b/samples/adexchangebuyer/get_direct_deals.py index 0d39a96..e208448 100644 --- a/samples/adexchangebuyer/get_direct_deals.py +++ b/samples/adexchangebuyer/get_direct_deals.py @@ -31,7 +31,7 @@ from oauth2client import client def main(argv): # Authenticate and construct service. service, flags = sample_tools.init( - argv, 'adexchangebuyer', 'v1.2', __doc__, __file__, + argv, 'adexchangebuyer', 'v1.3', __doc__, __file__, scope='https://www.googleapis.com/auth/adexchange.buyer') try: diff --git a/samples/adexchangebuyer/submit_creative.py b/samples/adexchangebuyer/submit_creative.py index e7ba2d7..e968093 100644 --- a/samples/adexchangebuyer/submit_creative.py +++ b/samples/adexchangebuyer/submit_creative.py @@ -43,7 +43,7 @@ argparser.add_argument('agency_id', type=int, def main(argv): # Authenticate and construct service. service, flags = sample_tools.init( - argv, 'adexchangebuyer', 'v1.2', __doc__, __file__, parents=[argparser], + argv, 'adexchangebuyer', 'v1.3', __doc__, __file__, parents=[argparser], scope='https://www.googleapis.com/auth/adexchange.buyer') account_id = flags.account_id diff --git a/samples/adexchangebuyer/update_account.py b/samples/adexchangebuyer/update_account.py index eaadaf2..1b9c9a5 100644 --- a/samples/adexchangebuyer/update_account.py +++ b/samples/adexchangebuyer/update_account.py @@ -39,7 +39,7 @@ argparser.add_argument('cookie_matching_url', def main(argv): # Authenticate and construct service. service, flags = sample_tools.init( - argv, 'adexchangebuyer', 'v1.2', __doc__, __file__, parents=[argparser], + argv, 'adexchangebuyer', 'v1.3', __doc__, __file__, parents=[argparser], scope='https://www.googleapis.com/auth/adexchange.buyer') account_id = flags.account_id |