RE: SearchStream Vs Search

2020-04-14 Thread Google Ads API Forum Advisor Prod
Hi Sreenu, Thank you for your query. I see that you're putting the incorrect field in the "FROM" clause. I've written an example query for you below that you can populate with fields from this document. "SELECT operating_system_version_constant.id, operating_system_version_constant.name, oper

Re: SearchStream Vs Search

2020-04-13 Thread sreenu malae
> > Hey Bryan, $query = "SELECT campaign_criterion.operating_system_version.operating_system_version_constant FROM campaign_criterion"; $response = $googleAdsServiceClient->search($customerId, $query, ['pageSize' => self::PAGE_SIZE]); foreach ($response->iterateAllElements() as $googleAdsRo

RE: SearchStream Vs Search

2020-04-13 Thread Google Ads API Forum Advisor Prod
Hi Sreenu, Could you provide me with the search query you've used? You can only query fields in Operating_System_Version_Constant if this report is specified in the "From" field in your query. Please let me know. Thank you, Bryan, Google Ads API Team ref:_00D1U1174p._5001UZVXb6:ref -- -- =~=

Re: SearchStream Vs Search

2020-04-10 Thread sreenu malae
> > Hey Bryan, I'm Facing a error ` Google Ads failure details: query_error: Cannot select fields from the following resource: 'OPERATING_SYSTEM_VERSION_CONSTANT', since the resource is incompatible with the resource in FROM clause. ` Can you please provide me some example ? --

RE: SearchStream Vs Search

2020-04-10 Thread Google Ads API Forum Advisor Prod
Hi Sreenu, You should be able to use the Operating_System_Version_Constant report to get the OS of the device. Let me know if you have further questions. Thank you, Bryan, Google Ads API Team ref:_00D1U1174p._5001UZVXb6:ref -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us o

Re: SearchStream Vs Search

2020-04-09 Thread sreenu malae
Hey Bryan, Thanks for your continuous support, I would like to know one thing. In google ads api V3 using segemts.device we are able to get the device type. Either mobile computer etc.. Is there any way to get data either the mobile phones are Android, IOS or something else ? -- -- =~=~=~=

Re: SearchStream Vs Search

2020-04-01 Thread sreenu malae
> > Hey Bryan, Thanks I got it. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API a

Re: SearchStream Vs Search

2020-04-01 Thread sreenu malae
> > Hey Bryan, Over here array_push($emptyarray,$googleAdsRow->getAdGroup()-> getId()->getValue()); I'm just trying to push the values to array. Its just for reference. But even in the printf i'm getting the null values The above code I modified based on Adgroups

RE: SearchStream Vs Search

2020-04-01 Thread Google Ads API Forum Advisor Prod
Hi Sreenu, Thanks for reaching out to us. I see that in your code you're using the get_campaigns example, but are trying to push ad_groups into your array. For reference, here is the code snippet I'm talking about. array_push($emptyarray,$googleAdsRow->getAdGroup()->getId()->getValue()); printf