Hi -- I'm using the `Google::Apis::ContentV2::ShoppingContentService` (in 
the Ruby API) to create sub-accounts and upload datafeeds to them.
This is working fine.
However, I need to be able to delete a bunch of sub-accounts, as we've hit 
the limit of sub-accounts that we can use.
So I wrote a quick script to do this using the same credentials that we use 
to create sub-accounts. The method on the Ruby API object is 
`#delete_account(merchant_id, sub_account_merchant_id, ...)`.
However that fails with an `Google::Apis::AuthorizationError: Unauthorized` 
error.
The scope used to authorise the service is 
"https://www.googleapis.com/auth/content";.
Do I need to use another scope to delete sub-accounts?
Or is there something else I'm missing?
Thanks for any and all advice!
   Doug.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/9e03b975-adbb-4eb4-a0f0-9f3e141c85f7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • Getting Goog... doug livesey
    • Re: Get... 'Milind Sankeshware (AdWords API Team)' via AdWords API Forum

Reply via email to