google / google-api-ruby-client-samples

Samples for the Google API Ruby Client
327 stars 164 forks source link

DoubleclickbidmanagerV1 returns Google::Apis::ServerError 500 #46

Closed hcancelik closed 5 years ago

hcancelik commented 6 years ago

Doubleclickbidmanager = Google::Apis::DoubleclickbidmanagerV1 service = Doubleclickbidmanager::DoubleClickBidManagerService.new

Any method call to this service(ex: service.list_queries) returns 500 Apis Server Error.

service itself seems to be right class but I'm not sure how or where to look for the issue. Any ideas? #<Google::Apis::DoubleclickbidmanagerV1::DoubleClickBidManagerService:0x007f9bc1700710...

hcancelik commented 5 years ago

It looks like our service account needed a special permission to access DV360 reporting. It would be nice to receive more useful indication instead of 500 error though.