Re: Java ads api: device enum to device constant?

2021-10-24 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
Hi Don, I understand the inconvenience of the additional requests you are performing. Since this involves the Java client library, I would recommend that you reach out as well to the Java library owners via this link, for further guidance if there are ways to access the enums directly at the

Re: Java ads api: device enum to device constant?

2021-10-22 Thread dhmitc...@gmail.com
I know how to get the constant. I even know how to get the campaign constraint id via a query. However, when I have to send out 10K campaign bid modifier updates several times a day, I don't want my server to query and then mutate the hundreds of times needed to go through each account. So,

RE: Java ads api: device enum to device constant?

2021-10-22 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
Hello Cargurus, Thank you for reaching out to us. Can you try this campaign_criterion view and utilize these available fields (criterion_id | device.type)? Let us know if this is what you're looking for. Regards, Mark Kevin Albios Google Ads API Team ref:_00D1U1174p._5004Q2QE62P:ref -- --

Re: Java ads api: device enum to device constant?

2021-10-21 Thread dhmitc...@gmail.com
the 3..30004 constants are from https://developers.google.com/google-ads/api/reference/data/codes-formats?hl=en#expandable-13; so, the question is how to map from the enum or device info obj to these or to a campaign constraint resource name. On Thursday, 21 October 2021 at 11:09:08