API: Unable to generate a report with a Custom Dimension

420 views
Skip to first unread message

Or Sova

unread,
Mar 12, 2019, 12:19:38 PM3/12/19
to Google Ad Manager API Forum
Hi,

In the API, I'm unable to generate a query report that includes a custom dimension (created from the key-values).
The error we get is 'isCompatibleWithApiVersion': False
However, In the Ad Manager's GUI I can generate the same report.
 
I saw on other past threads that this feature isn't supported yet in the API.
1. Is there any estimation for this? 
2. Is there an unofficial API that enables this type of reports?
 
Reference:

Thanks!

admanagerapi...@google.com

unread,
Mar 12, 2019, 4:57:53 PM3/12/19
to google-doubleclick...@googlegroups.com
Hello,

In the API report, you can include the custom fields by setting the customFieldIds property in your report query. To get the IDs of your custom fields, you can run the CustomFieldService.getCustomFieldsByStatement(). A Java example from our client library can be seen here. This example is also available to other client libraries that we support.

Let me know if you have further clarifications.

Thanks,
Sravani Yelamarthi, Ad Manager API Team

_____________________________________________________________________
 An important reminder: v201805 has been deprecated.

 Give us your feedback:
     Feedback Survey

 Also find us on our blog and discussion group:
     http://googleadsdeveloper.blogspot.com/search/label/ad_manager_api
     https://developers.google.com/ad-manager/api/community

--
You received this message because you are subscribed to the Google Groups "Google Ad Manager API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-doubleclick-for-publishers-api+unsubscribe@googlegroups.com.
To post to this group, send email to google-doubleclick-for-publishers-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-doubleclick-for-publishers-api.
For more options, visit https://groups.google.com/d/optout.

Or Sova

unread,
Mar 14, 2019, 10:24:18 AM3/14/19
to Google Ad Manager API Forum
Hi,

My question was regarding Custom Dimensions and not Custom Fields.
As I understand, they are used for 2 different functionalities but I might be wrong:
We want to generate an API report with more than 1 Key Value, and custom dimensions look like the only solution.

However, I saw here that it's not supported on the API:

So again, my questions?
1. Is there any estimation for this? 
2. Is there an unofficial API that enables this type of reports?

Thanks again

admanagerapi...@google.com

unread,
Mar 14, 2019, 4:58:16 PM3/14/19
to google-doubleclick...@googlegroups.com
Hello,

Thanks for the clarification. Unfortunately, as you have already seen in our forum pages, custom dimensions are not exposed to the API yet. We do not have an ETA on this. However, please follow our blog for any future updates.


Thanks,
Sravani Yelamarthi, Ad Manager API Team
______________________________________________________________________

 An important reminder: v201805 has been deprecated.

 Give us your feedback:
     Feedback Survey

 Also find us on our blog and discussion group:
     http://googleadsdeveloper.blogspot.com/search/label/ad_manager_api
     https://developers.google.com/ad-manager/api/community
Reply all
Reply to author
Forward
0 new messages