Updating Python AdX Buyer REST Samples to v1.3
Reviewed in https://codereview.appspot.com/13568043/.
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user