Google Ads API - campaign_criterion_simulation

2022-06-08 Thread Jarek Zambrzycki
Hi,

I am trying to make an estimate of the budget and CPA increase based on the 
Google API and the table: campaign_criterion_simulation, my uery is:

$query = 'SELECT campaign_criterion_simulation.criterion_id, 
campaign_criterion_simulation.start_date, 
campaign_criterion_simulation.end_date, 
campaign_criterion_simulation.bid_modifier_point_list.points FROM 
campaign_criterion_simulation WHERE 
campaign_criterion_simulation.campaign_id = '.$campaignId.' AND 
campaign_criterion_simulation.criterion_id = 30002';

Unfortunately, every time I get a blank page (the query does not return 
anything, I checked on all campaigns).

A similar problem is here: Google Ads API - Campaign Target CPA 


I spent a few days on it. Do you know the answer what could be the reason?

thx

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/0f2da199-05da-475d-9dac-76104590e275n%40googlegroups.com.


Re: Google Ads API - campaign_criterion_simulation

2022-06-10 Thread Jarek Zambrzycki
Thank you for your response,

I use https://github.com/googleads/google-ads-php

Other queries return correct data for me, but when I use 
campaign_criterion_simulation API, it returns an empty query.
No runtime error is returned when asked.

The query must be correct because in the case of using a table that does 
not exist/not correct, the API returns the exact name of the error. In my 
case there is an empty answer

I don't know exactly what I can send because I don't have any bug number. 
The library also works properly because it does not return an error. All 
other queries return the correct values, I only have a problem with this one


środa, 8 czerwca 2022 o 19:12:23 UTC+2 adsapi napisał(a):

> Hi Jarek,
>
> Thank you for reaching out to Google Ads API support. For us to assist you 
> with your campaign_criterion_simulation no show, we will need the 
> following: 
>
>- Full screen screenshot of the UI  showing functionality you are 
>trying to duplicate using the API. 
>- Request and response  'DEBUG' log level log of API communications of 
>the API report download.  
>
> The request and response appears similar to the JSON Mappings in our REST 
> documentation 
> 
>  
> with additional headers and information such as request Id 
> .
>  
> Here are logging instructions for our Java 
> , 
> .NET 
> ,
>  
> PHP 
> , 
> Python 
> ,
>  
> Ruby 
>  
> and Perl 
>  
> Ads API Client Libraries.
>
> If you are using our REST interface 
>  then the 
> full multi line curl command line is a request log and adding curl command 
> line option '-i' will also generate a response log.
>
> You may send the requested information via "Reply to author" or via 
> googleadsa...@google.com with a link to this forum post added to the new 
> thread.
>
> Regards,
>  
> [image: Google Logo] 
> Aryeh 
> Google Ads API Team 
>   
>
>  
>
> ref:_00D1U1174p._5004Q2bdauI: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/4a13db79-a994-4258-8ba2-0d8cf3214d9cn%40googlegroups.com.