--
You received this message because you are subscribed to the Google Groups "Google's DoubleClick Campaign Manager API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-doubleclick-for-ad...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thanks for the response. May be I should elaborate my problem here. We are building an application to access data so that we can have some sort of dashboard. Advertising Agency own Campaign Manager account. We want to access the API using service account since it will be server to server call using python SDK. So basically I would be using below code from GIT for service account based authentication & authorization.I have asked Campaign Manager account owner (Agency in our case) to add our service account email id as user profile to the Campaign Manager account. Is this the right step? Initially the email id which we used to create service account was used to create the user profile. This email id is not google email id and is official id of the company. This may be the reason we are getting blank userprofiles list. Would adding service account email id solve this problem?
On Tue, Oct 2, 2018 at 9:05 PM 'Lakshmi Prathipati (DCM API Team)' via Google's DoubleClick Campaign Manager API Forum wrote:
--Hi,As mentioned by Jonathon on this thread, if you don't have any user profiles associated with the given email then the response will be empty for userprofiles.list. Please check here for the prerequisites that are required to access DCM API. If you have a user profile, then I recommend using this API explorer and see if you get the associated user profile in the response.Thanks,Lakshmi, DCM API Team
On Monday, October 1, 2018 at 4:44:28 PM UTC-4, Rakesh Kurulkar wrote:I am currently working with DCM/DFA Reporting API. I am getting blank userProfiles list. What steps do I need to take in order to get access to this API?
On Tuesday, 23 February 2016 20:53:15 UTC+1, Jonathon Imperiosi (DCM API Team) wrote:Hi there,This API is specifically for working with DCM and DDM Reporting, not DFP. If you're interested in working with DFP, you should take a look at the documentation here.As far as DCM is concerned, you can look up the profile IDs your Google account has access to using the userProfiles service, as you've found. If the response from userProfiles.list comes back empty, it means that there are no DCM user profiles associated with the account making the request. Be aware, that DCM user profiles cannot be directly associated with service accounts. Service accounts are only supported via domain wide delegation (see this guide for details).Regards,- Jonathon Imperiosi, DCM API Team
On Tuesday, February 23, 2016 at 2:46:07 PM UTC-5, wrote:I'm having trouble with the notion of a Profile Id and where to find it or how to configure/link it. I'm trying to set up a service account to allow us to periodically pull data from DFP (does the api work with DFP?) and store it internally for some automated reporting processes.Everything I've found over the past few days seems to point to a misconfiguration on my part, centered around the Profile Id, that I just can't seem to figure out. I have no problem querying the userprofiles.list service, but it returns an empty array of profileids. The result is the same when querying via the API Explorer as myself or via the python script I've written as my service accountAt one point I resorted to somewhat-blindly trying any "id" I could get my hands on including my google account id, user ids in DFP, and the network id for the company. All result in "User Profile ID not found" errors. The only different message I received was when I tried using a Contact ID, and I received an error indicating I was not authorized to use that id.I think I'm having a fundamental misunderstanding around the profile id and I could really use some guidance to get this thing off the ground.
You received this message because you are subscribed to the Google Groups "Google's DoubleClick Campaign Manager API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To unsubscribe from this group and stop receiving emails from it, send an email to google-doubleclick-for-ad...@googlegroups.com.
Hi Lakshmi Prathipati,I need one help in DCM DFA Reporting API. Please refer to attached word document which illustrates input and output command on python shell. I need to create the report with list of dimensions but I don't want to filter on any specific dimension. All I need to filter on is dateRange which I have specified in the report criteria. I have specified dimensions that I need in report in the Dimensions list of report criteria. I have mentioned couple of metricNames as well ( I need more metrics but I will specify it later)
when I execute inserted_report = service.reports().insert(profileId=profile_id, body=report).execute(), I am getting report_id as well which I want to use for executing the report. But when I run this commandreport_file = service.reports().run(profileId=profile_id, reportId=report_id).execute()I am getting below error
HttpError: <HttpError 400 when requesting https://www.googleapis.com/dfareporting/v3.2/userprofiles/1234567/reports/159018411/run?alt=json returned "Please choose at least one dimension to report on.">I have masked profile id with 1234567 here just for illustration.Can you please let me know what I am missing?
Thanks a lot. It worked for me.
On Thu, 4 Oct 2018, 12:43 a.m. 'Lakshmi Prathipati (DCM API Team)' via Google's DoubleClick Campaign Manager API Forum,
Hi,
To unsubscribe from this group and stop receiving emails from it, send an email to google-doubleclick-for-ad...@googlegroups.com.