Campaigns retrieve status for specific day "2023-05-01"

23 views
Skip to first unread message

Jakub Banik

unread,
Jun 6, 2023, 2:45:24 AM6/6/23
to Google Ads API and AdWords API Forum
SELECT segments.date, campaign.name, campaign.id, campaign.status FROM campaign WHERE segments.date BETWEEN '2023-04-01' AND '2023-04-01' ORDER BY segments.date, campaign.name
This query above returns 0. 

SELECT campaign.name, campaign.id, campaign.status FROM campaign WHERE segments.date BETWEEN '2023-04-01' AND '2023-04-01' ORDER BY campaign.name

this query above returns 28 results. 

I have no idea why i could not retrieve it with segments.date. 
May I ask you for a help? Why it is happening.

maxcode ITSolutions

unread,
Jun 6, 2023, 5:36:42 AM6/6/23
to Google Ads API and AdWords API Forum
I am facing the same issue.

Google Ads API Forum Advisor

unread,
Jun 9, 2023, 5:01:47 AM6/9/23
to jakub....@gmail.com, adwor...@googlegroups.com
Hi Jakub

Thank you for reaching out to our support channel.

In order for us to check your concern further, could you please provide the complete API request and response logs with request-id and login-customer-id generated on your end via reply privately to author option?

Links highlighted on this thread.  
This message is in relation to case "ref:_00D1U1174p._5004Q2m9n1p:ref"

Thanks,
 
Google Logo Google Ads API Team


Google Ads API Forum Advisor

unread,
Jun 9, 2023, 5:28:14 AM6/9/23
to maxcodeit...@gmail.com, adwor...@googlegroups.com

Hi maxcode ITSolutions,

Thank you for reaching out to Google Ads API Forum.

In order for us to investigate further, can you provide us with the complete API logs (request and response with request-id and request header) generated on your end? This is so we can check on our end as well and investigate further.

Additionally please also share with us the Google Ads UI screenshot (without cropping) of the data you are trying to retrieve via API. Furthermore, kindly note that in comparing UI and API data, please make sure to consider the following items below:

  • Comparing the API and UI on the same level as much as possible
  • The segments and fields of the API and UI should be the same
  • The date range is also the same

For the client libraries, logging can be enabled by navigating to the Client libraries > Your client library (ex Java) > Logging documentation, which you can access from this link (https://developers.google.com/google-ads/api/docs/client-libs). You can provide it via the Reply privately to author option. If this option is not available, then send it instead on this email address googleadsa...@google.com.

Reference links included in this email:

 

This message is in relation to case "ref:_00D1U1174p._5004Q2m9pD0:ref"


Thanks,
 
Google Logo Google Ads API Team


Reply all
Reply to author
Forward
0 new messages