Re: report for several accounts at same time.

2023-04-27 Thread Vlad Iureniev
Thank you for a quick answer but I still can't see a solution 
Maybe I will try to explain better.
Let's imagine we have this structure:
"ManagerAccount1"---CustomerAccount01
  |-CustomerAccunt02
  |-CustomerAccunt03
So we have a manager account and 3 customer ones
If I do the REST request to   
*/v13/customers/{ManagerAccount1}/googleAds:**search*  with "*SELECT 
 FROM campaigns WHERE customer.id in (*
*CustomerAccount01,CustomerAccount01,CustomerAccount03)"*
I get the 0 lines as management account doesn't have any campaign

>From the another side if I requesting:
*/v13/customers/{* *CustomerAccount01*  *}/googleAds:**search*  
endpoint with "*SELECT  FROM campaigns WHERE customer.id in (*
*CustomerAccount01,CustomerAccount01,CustomerAccount03)"*
I get the list of campaigns for  CustomerAccount01 only

So how I can get all campaigns for all customers we manage in one request?
Same regarding the reports. I can get one customer data per request.
Thank you.

On Wednesday, April 19, 2023 at 1:55:30 AM UTC-7 Google Ads API Forum 
Advisor wrote:

> Hi Vlad,
>
> You have now reached the Google Ads API Team.
>
> Please note that our support channel can provide assistance related to 
> *Google 
> Ads API *(https://developers.google.com/google-ads/api/docs/start) 
> technical issues only. If you mean for "*several accounts" *are "*several 
> customer Id's"*,  you may try to retrieve the report for several accounts 
> by Adding* several customer.id 's *to the *WHERE* 
> clause in the *IN* operator.
>
> On the other hand, you may check this documentation for more information 
> on *Google Ads Query Language Grammar.*
>
> documentation: 
> https://developers.google.com/google-ads/api/docs/query/grammar
>
> Best regards,
> [image: Google Logo] Google Ads API Team 
>
> ref:_00D1U1174p._5004Q2knpEB:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/7cf4709e-6500-4dbe-8c94-4592b270352en%40googlegroups.com.


Report for several accounts at same time.

2023-04-18 Thread Vlad Iureniev
We are Digital Marketing company and have several scripts to manage our 
client's account.
Is API provide ability to get the report for several accounts in one 
request?
Thank you.
Vlad.  

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/572bb07b-8d56-465b-a54b-813d0d373f2bn%40googlegroups.com.