Adhoc report via curl returns error: TERMS_AND_CONDITIONS_NOT_SIGNED

126 views
Skip to first unread message

James Randell

unread,
Nov 19, 2014, 1:14:47 PM11/19/14
to adwor...@googlegroups.com
Has anyone successfully run an AdHoc report using curl?

starting with the boilerplate example from Reporting Basics and The AdWords Query Language.

I am sending this:


curl
-X "POST" "https://adwords.google.com/api/adwords/reportdownload/v201409" \
 
-H "clientCustomerId: xxx-xxx-xxx" \
 
-H "Authorization: Bearer xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \
 
-H "developerToken: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \
 
-H "Content-Type:  application/x-www-form-urlencoded" \
 
-d "__rdquery=SELECT+Name+FROM+KEYWORDS_PERFORMANCE_REPORT+DURING+20140101,20141231" \
 
-d "__fmt=CSV" \




but this is what I get back...

<?xml version="1.0" encoding="UTF-8" standalone="yes"?><reportDownloadError><ApiError><type>QuotaCheckError.TERMS_AND_CONDITIONS_NOT_SIGNED</type><trigger>&lt;null&gt;</trigger><fieldPath></fieldPath></ApiError></reportDownloadError>


I am wondering if it has to do with the fact that I require 2 accounts and 3 service configs?
  1. mcc on prod account
  2. mcc on test account
  3. developers console on prod account 
each has 'billing setups". I went back and configured billing all the way around, but same result.

Any assistance is GRATEFULLY appreciated!!!
-Jim

Josh Radcliff (AdWords API Team)

unread,
Nov 19, 2014, 3:20:58 PM11/19/14
to adwor...@googlegroups.com
Hi Jim,

You only need to set up billing and accept terms and conditions on the production MCC. Per our Common Errors guide, if you've already set up billing and accepted terms and you're still getting this error, you can contact the API Compliance team for assistance.

Cheers,
Josh, AdWords API Team
Reply all
Reply to author
Forward
0 new messages