YouTube Promotions data in Google Ads API

193 views
Skip to first unread message

Samarth Gupta

unread,
Nov 21, 2024, 4:03:03 AM11/21/24
to Google Ads API and AdWords API Forum
Hi Team,

We are getting YouTube promotion campaigns data in some google ads report and in some not.

Details:
If we create a YouTube promotion campaign in YouTube studio, after linking it with google ads account, we start getting that campaign's performance data in customer report and campaign budget report of google ads API. 
But we don't get those campaigns data in campaign report.  In campaign budget report too, we don't get campaign name, channel type, status anything for such campaigns. Their budget name starts with YouTube Promotion - {some date}

Also, in google ads interface, such campaigns data does not exist. (Not even at account level). So we are not sure if it is expected to get that data from API.

Do you know if
1. It is some discrepancy in API?
2. If it is expected then how can we exclude such campaigns data from account performance report and other report. (on what basis we should identify those instead of just budget group name)
3. Or include in all types of report? 

Regards
Samarth Gupta
Message has been deleted

Google Ads API and AdWords API Forum

unread,
Nov 22, 2024, 7:35:03 AM11/22/24
to Google Ads API and AdWords API Forum
Hi,

Thank you for reaching out to the Google Ads API support team.

In order to assist further, please provide us with complete API logs (request and response logs with request-id and request header) of campaign's performance data which you have retrieved from the customer report and campaign budget report of google ads API. .

If you are using a client library and haven't enabled the logging yet, I would request you to enable logging for the specific client library that you are using. You can refer to the guides Java.NetPHPPythonRuby or Perl to enable logging at your end. For REST interface requests, you can enable logging via the curl command by using the -i flag.

You can send the details via Reply privately to the author option, or direct private reply to this email.

Thanks and Regards,
Google Ads API Team.
Message has been deleted

Google Ads API Forum Advisor

unread,
Nov 26, 2024, 7:12:56 AM11/26/24
to adwor...@googlegroups.com

Hi Samarth,

Thank you for reaching out to the Google Ads API support team.

Based on the provided logs, I understand that campaign_budget and customer report returns the performance data of youtube promotion campaigns but the campaign report doesn't return the data. And also you mentioned that in the campaign budget report, you don't get the campaign name, channel type, status anything for such campaigns.

Could you please confirm whether you are able to see the youtube campaigns in the Google Ads UI? If yes, please share the name of the youtube promotion campaigns you are trying to retrieve from the campaign budget report along with the uncropped UI screenshot to help us investigate the issue further.

You can send the details via Reply privately to the author option, or direct private reply to this email.

This message is in relation to case "ref:!00D1U01174p.!5004Q02vGm7H:ref" (ADR-00276810)

Thanks,
 
Google Logo Google Ads API Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5


 

 



Samarth Gupta

unread,
Nov 28, 2024, 7:25:27 AM11/28/24
to Google Ads API and AdWords API Forum
Hi Team,

No, I cannot see those campaigns in google ads interface (as mentioned in the first message). Even at account level, performance data does not include performance of youtube promotion campaigns in Google ads interface. (Bcz acc performance is equal to sum of entries campaign budget report excludiong that yt promotion campaign)

Thanks,
Message has been deleted
Message has been deleted

Google Ads API and AdWords API Forum

unread,
Nov 29, 2024, 6:05:53 AM11/29/24
to Google Ads API and AdWords API Forum

Hi,

Just to clarify, the Google Ads API allows you to fetch the same data that is available in the Google Ads UI. Since you mentioned those campaigns you cannot see in the UI. As a result, you would not be able to fetch this data through the Google Ads API either, since the API can only pull data that is visible in the UI.

I hope it helps. If you have any further questions related to the Google Ads API, you can create a new case and reach out to us through the googleadsa...@google.com

Samarth Gupta

unread,
Dec 2, 2024, 12:15:55 AM12/2/24
to Google Ads API and AdWords API Forum
Hi team,

I get it that we cannot get those campaigns from campaign report, but also wanted to know if we there is any way we can identify and exclude that data from Customer report and campaign budget report?

Thanks,
Message has been deleted

Samarth Gupta

unread,
Dec 2, 2024, 1:39:16 AM12/2/24
to Google Ads API and AdWords API Forum
Also we just found that in Google Ads UI -> Report Editor -> Campaign Performance report, this campaigns is being listed. Attached screenshot for that.
Though it does not exist in campaigns page.




On Friday, November 29, 2024 at 4:35:53 PM UTC+5:30 Google Ads API and AdWords API Forum wrote:
yt promo cpn - 1.png

Google Ads API Forum Advisor

unread,
Dec 2, 2024, 6:26:40 AM12/2/24
to adwor...@googlegroups.com
Hi,

From the provided screenshot, you can retrieve the YouTube video performance data for the campaign 'Youtube Promotion - 2024-11-13 - 33994535' by querying the campaign resource in the Google Ads API for the specified date range of November 1st to November 30th. You can use the following query:

SELECT metrics.clicks, campaign.name, campaign.id, campaign.status, campaign.advertising_channel_type, metrics.all_conversions, metrics.conversions, metrics.impressions, metrics.cost_micros, segments.date FROM campaign WHERE segments.date BETWEEN '2024-11-01' AND '2024-11-30'

You can use the search or searchStream methods in making the API calls while retrieving the data. Additionally, you can utilize the Google Ads Query Builder and Query Validator to build and validate the queries for retrieving the data from the Google Ads API.

Samarth Gupta

unread,
Dec 3, 2024, 1:03:43 AM12/3/24
to Google Ads API and AdWords API Forum
Hi Team,

I used this query using search stream, Didn't got that YouTube promotion campaign in that. Providing logs in next private message.
May be google ads UI uses campaign_budget report for there? if yes then please confirm what is the right way to filter out these youtube promotion campaigns data from API. (for both customer and campaign_budget report).

Thanks,
Reply all
Reply to author
Forward
0 new messages