In [4]:
# Adgroup Usage Sample

# 1. GET adgroup Usage Sample

uri = '/ncc/adgroups'
method = 'GET'
r = requests.get(BASE_URL + uri, headers=get_header(method, uri, API_KEY, SECRET_KEY, CUSTOMER_ID))

print("response status_code = {}".format(r.status_code))
print("response body = {}".format(r.json()))
target_adgroup = r.json()[0]
params :  None
response status_code = 200
response body = [{'bidAmt': 70, 'name': '광고그룹1', 'userLock': True, 'useDailyBudget': True, 'useKeywordPlus': False, 'keywordPlusWeight': 100, 'contentsNetworkBidAmt': 70, 'useCntsNetworkBidAmt': False, 'mobileNetworkBidWeight': 100, 'pcNetworkBidWeight': 100}]