Hi! New to AdWords, and trying to get a test set up using the Python 
example program 
upload_offline_conversions.py<https://github.com/googleads/googleads-python-lib/blob/master/examples/adspygoogle/adwords/v201309/advanced_operations/upload_offline_conversions.py>
.

I edited that to have appropriate hard-coded values for the test (with a 
real click id). Running the program, it seems I was able to create a new 
upload conversion type (since I'm not sure if the ID is sensitive, I'll 
obscure it):
New upload conversion type with name 'Test3' and ID '########' was created.

But then received this error:
adspygoogle.adwords.AdWordsErrors.AdWordsApiError: 
[OfflineConversionError.UNAUTHORIZED_USER @ operations[0].operand]

Here's my setup process:

   1. Create MCC production account, apply for developer token
   2. Create MCC test account
   3. Create sub-account under the test account
   4. Using the production account login in the Developers Console, create 
   a new project
   5. Under APIs & auth...Credentials, create a new Client ID for native 
   application. 
   6. Run 
generate_refresh_token.py<https://github.com/googleads/googleads-python-lib/blob/master/adspygoogle/scripts/adspygoogle/common/generate_refresh_token.py>
 with 
   these responses:
      - Client ID: [from 5]
      - Client secret: [from 5]
      - Please choose which product you want to use: 1) Adwords / Ad 
      Exchange Buyer
   7. Log in to the MCC test account (log out of all other accounts first), 
   go to the url provided, accept and paste response back to get the refresh 
   token.
   8. Run 
config.py<https://github.com/googleads/googleads-python-lib/blob/master/adspygoogle/scripts/adspygoogle/adwords/config.py>
   :
      - OAuth 2.0 client ID: [from 5]
      - OAuth 2.0 client secret: [from 5]
      - OAuth 2.0 refresh token: [from 7]
      - Login client customer id: The *MCC test account* client id (looks 
      like ###-###-####)--is this correct?
      - User agent: an appropriate string
      - Developer token: [from 1]
   
Any idea what I'm doing wrong?

Thanks,
Gary



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to