I'm getting this error when I create a new query. Any ideas on how to fix this?
httplib2.RedirectMissingLocation: Redirected but the response is missing a Location: header.
query_test = {
"kind": "doubleclickbidmanager#query",
"metadata": {
"dataRange": "LAST_30_DAYS",
"format": "CSV",
"googleCloudStoragePathForLatestReport": "",
"googleDrivePathForLatestReport": "",
"locale": "",
"reportCount": 0,
"running": False,
"sendNotification": False,
"shareEmailAddress": [
""
],
"title": ""
},
"params": {
"filters": [
{}
],
"groupBys": [
"FILTER_ADVERTISER",
"FILTER_ADVERTISER_CURRENCY",
"FILTER_CREATIVE",
"FILTER_CM_PLACEMENT_ID",
"FILTER_DATE"
],
"includeInviteData": False,
"metrics": [
"METRIC_BILLABLE_IMPRESSIONS",
"METRIC_IMPRESSIONS",
"METRIC_CLICKS",
"METRIC_CLIENT_COST_ADVERTISER_CURRENCY",
"METRIC_PLATFORM_FEE_ADVERTISER",
"METRIC_PLATFORM_FEE_RATE",
"METRIC_DATA_COST_ADVERTISER",
"METRIC_CPM_FEE1_ADVERTISER",
"METRIC_TOTAL_MEDIA_COST_ADVERTISER"
],
"type": "TYPE_ACTIVE_GRP"
},
"schedule": {
"frequency": "DAILY",
"nextRunTimezoneCode": ""
},
"timezoneCode": "Europe/London"
}
createdQuery = service.queries().createquery(body=query_test).execute()
Hi,
I'm getting this error when I create a new query. Any ideas on how to fix this?
httplib2.RedirectMissingLocation: Redirected but the response is missing a Location: header.