Hi team,

Here attached the logs for campaign, campaign_budget and customer report. 
*campaign_budget* and *customer* report includes performance data of 
youtube promotion campaigns but *campaign* report doesn't.
Please let me know what can be the reason.

Thanks and Regards
Samarth Gupta,

On Friday, November 22, 2024 at 6:05:03 PM UTC+5:30 Google Ads API and 
AdWords API Forum wrote:

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 
<https://developers.google.com/google-ads/api/docs/concepts/field-service#request>
 and response 
<https://developers.google.com/google-ads/api/docs/concepts/field-service#response>
 logs 
with request-id 
<https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id>
 and request header 
<https://developers.google.com/google-ads/api/docs/concepts/call-structure#request_headers>)
 
of campaign's performance data which you have retrieved from the customer 
report <https://developers.google.com/google-ads/api/fields/v18/customer>
 and campaign budget report 
<https://developers.google.com/google-ads/api/fields/v18/campaign_budget> 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 
<https://developers.google.com/google-ads/api/docs/client-libs/java/logging>
, .Net 
<https://developers.google.com/google-ads/api/docs/client-libs/dotnet/logging>
, PHP 
<https://developers.google.com/google-ads/api/docs/client-libs/php/logging>
, Python 
<https://developers.google.com/google-ads/api/docs/client-libs/python/logging>
, Ruby 
<https://developers.google.com/google-ads/api/docs/client-libs/ruby/logging>
 or Perl 
<https://developers.google.com/google-ads/api/docs/client-libs/perl/logging> 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.

On Thursday, November 21, 2024 at 2:33:03 PM UTC+5:30 sam...@optmyzr.com 
wrote:

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 
<https://ads.google.com/intl/en_in/home/ad-solutions/youtube-ads/creator-promotions/>
 campaign 
in YouTube studio, after linking it with google ads account, we start 
getting that campaign's performance data in customer report 
<https://developers.google.com/google-ads/api/fields/v18/customer> and campaign 
budget report 
<https://developers.google.com/google-ads/api/fields/v18/campaign_budget> 
of google ads API. 
But we don't get those campaigns data in campaign report 
<https://developers.google.com/google-ads/api/fields/v18/campaign>.  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

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 visit 
https://groups.google.com/d/msgid/adwords-api/993ba2f6-32c4-4340-8a3c-31df6ea4e191n%40googlegroups.com.
GoogleAds.DetailedRequestLogs Verbose: 1 : [2024-11-26 05:26:28Z] - 
---------------BEGIN API CALL---------------

Request
-------

Method Name: /google.ads.googleads.v17.services.GoogleAdsService/SearchStream
Host: 
Headers: {
  "x-goog-api-client": "gl-dotnet/6.0.0 gapic/21.0.0 gax/4.8.0 grpc/2.60.0 
gccl/4.0.1 pb/3.25.0",
  "developer-token": "REDACTED",
  "login-customer-id": "5059209342",
  "x-goog-request-params": "customer_id=8427553807"
}

{ "customerId": "8427553807", "query": "SELECT customer.id, metrics.clicks, 
metrics.impressions FROM customer WHERE segments.date DURING LAST_30_DAYS", 
"summaryRowSetting": "NO_SUMMARY_ROW" }

Response
--------
Headers: {
  "date": "Tue, 26 Nov 2024 05:26:24 GMT",
  "alt-svc": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"
}

{ "results": [ { "customer": { "resourceName": "customers/8427553807", "id": 
"8427553807" }, "metrics": { "clicks": "678", "impressions": "20977" } } ], 
"fieldMask": "customer.id,metrics.clicks,metrics.impressions", "requestId": 
"dz3EppRqfLzTT9Nd5fxWMQ", "queryResourceConsumption": "182" }
----------------END API CALL----------------

GoogleAds.DetailedRequestLogs Verbose: 1 : [2024-11-26 05:26:28Z] - 
---------------BEGIN API CALL---------------

Request
-------

Method Name: /google.ads.googleads.v17.services.GoogleAdsService/SearchStream
Host: 
Headers: {
  "x-goog-api-client": "gl-dotnet/6.0.0 gapic/21.0.0 gax/4.8.0 grpc/2.60.0 
gccl/4.0.1 pb/3.25.0",
  "developer-token": "REDACTED",
  "login-customer-id": "5059209342",
  "x-goog-request-params": "customer_id=8427553807"
}

{ "customerId": "8427553807", "query": "SELECT customer.id, metrics.clicks, 
metrics.impressions FROM customer WHERE segments.date DURING LAST_30_DAYS", 
"summaryRowSetting": "NO_SUMMARY_ROW" }

Response
--------
Headers: {
  "date": "Tue, 26 Nov 2024 05:26:24 GMT",
  "alt-svc": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000",
  "content-disposition": "attachment",
  "request-id": "dz3EppRqfLzTT9Nd5fxWMQ"
}

{ }
----------------END API CALL----------------

GoogleAds.DetailedRequestLogs Verbose: 1 : [2024-11-26 05:22:18Z] - 
---------------BEGIN API CALL---------------

Request
-------

Method Name: /google.ads.googleads.v17.services.GoogleAdsService/SearchStream
Host: 
Headers: {
  "x-goog-api-client": "gl-dotnet/6.0.0 gapic/21.0.0 gax/4.8.0 grpc/2.60.0 
gccl/4.0.1 pb/3.25.0",
  "developer-token": "REDACTED",
  "login-customer-id": "5059209342",
  "x-goog-request-params": "customer_id=8427553807"
}

{ "customerId": "8427553807", "query": "SELECT campaign.id, campaign.name, 
campaign.advertising_channel_type, campaign.status, campaign.serving_status, 
metrics.impressions, metrics.clicks FROM campaign WHERE segments.date DURING 
LAST_30_DAYS", "summaryRowSetting": "NO_SUMMARY_ROW" }

Response
--------
Headers: {
  "date": "Tue, 26 Nov 2024 05:22:14 GMT",
  "alt-svc": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"
}

{ "results": [ { "campaign": { "resourceName": 
"customers/8427553807/campaigns/10831858789", "status": "ENABLED", 
"advertisingChannelType": "SEARCH", "servingStatus": "SERVING", "name": 
"Optmyzr - Brand", "id": "10831858789" }, "metrics": { "clicks": "163", 
"impressions": "644" } }, { "campaign": { "resourceName": 
"customers/8427553807/campaigns/11317020697", "status": "PAUSED", 
"advertisingChannelType": "SEARCH", "servingStatus": "SERVING", "name": 
"Shopping Campaign Tools", "id": "11317020697" }, "metrics": { "clicks": "0", 
"impressions": "0" } }, { "campaign": { "resourceName": 
"customers/8427553807/campaigns/11958982066", "status": "ENABLED", 
"advertisingChannelType": "SEARCH", "servingStatus": "ENDED", "name": "tCPA", 
"id": "11958982066" }, "metrics": { "clicks": "0", "impressions": "0" } }, { 
"campaign": { "resourceName": "customers/8427553807/campaigns/12353927205", 
"status": "PAUSED", "advertisingChannelType": "SEARCH", "servingStatus": 
"SERVING", "name": "Campaign Automator", "id": "12353927205" }, "metrics": { 
"clicks": "0", "impressions": "0" } }, { "campaign": { "resourceName": 
"customers/8427553807/campaigns/12549394755", "status": "ENABLED", 
"advertisingChannelType": "SEARCH", "servingStatus": "SERVING", "name": 
"Competitors", "id": "12549394755" }, "metrics": { "clicks": "0", 
"impressions": "11" } }, { "campaign": { "resourceName": 
"customers/8427553807/campaigns/12980926226", "status": "REMOVED", 
"advertisingChannelType": "VIDEO", "servingStatus": "SERVING", "name": "Unlevel 
2021_Youtube-Promo_2021-05-05", "id": "12980926226" }, "metrics": { "clicks": 
"0", "impressions": "0" } }, { "campaign": { "resourceName": 
"customers/8427553807/campaigns/18471070756", "status": "ENABLED", 
"advertisingChannelType": "SEARCH", "servingStatus": "SERVING", "name": 
"Generic Kwds - PPC", "id": "18471070756" }, "metrics": { "clicks": "6", 
"impressions": "18" } }, { "campaign": { "resourceName": 
"customers/8427553807/campaigns/18573341255", "status": "PAUSED", 
"advertisingChannelType": "DEMAND_GEN", "servingStatus": "SERVING", "name": 
"Discovery-1", "id": "18573341255" }, "metrics": { "clicks": "0", 
"impressions": "0" } }, { "campaign": { "resourceName": 
"customers/8427553807/campaigns/18923691010", "status": "REMOVED", 
"advertisingChannelType": "SEARCH", "servingStatus": "ENDED", "name": "Black 
Friday", "id": "18923691010" }, "metrics": { "clicks": "0", "impressions": "0" 
} }, { "campaign": { "resourceName": 
"customers/8427553807/campaigns/19264271036", "status": "ENABLED", 
"advertisingChannelType": "SEARCH", "servingStatus": "SERVING", "name": "Amazon 
- Generic Kwds", "id": "19264271036" }, "metrics": { "clicks": "0", 
"impressions": "0" } }, { "campaign": { "resourceName": 
"customers/8427553807/campaigns/19609614373", "status": "ENABLED", 
"advertisingChannelType": "SEARCH", "servingStatus": "SERVING", "name": "Amazon 
- Competitors", "id": "19609614373" }, "metrics": { "clicks": "0", 
"impressions": "6" } }, { "campaign": { "resourceName": 
"customers/8427553807/campaigns/19693757024", "status": "PAUSED", 
"advertisingChannelType": "SEARCH", "servingStatus": "SERVING", "name": 
"Generic Kwds - GAds", "id": "19693757024" }, "metrics": { "clicks": "0", 
"impressions": "0" } }, { "campaign": { "resourceName": 
"customers/8427553807/campaigns/20084674029", "status": "PAUSED", 
"advertisingChannelType": "PERFORMANCE_MAX", "servingStatus": "SERVING", 
"name": "Performance Max - USA and Canada", "id": "20084674029" }, "metrics": { 
"clicks": "0", "impressions": "0" } }, { "campaign": { "resourceName": 
"customers/8427553807/campaigns/20454026525", "status": "PAUSED", 
"advertisingChannelType": "DISPLAY", "servingStatus": "SERVING", "name": 
"Optmyzr -In-market", "id": "20454026525" }, "metrics": { "clicks": "0", 
"impressions": "0" } }, { "campaign": { "resourceName": 
"customers/8427553807/campaigns/20455405882", "status": "ENABLED", 
"advertisingChannelType": "SEARCH", "servingStatus": "SERVING", "name": 
"Optmyzr - Brand - Europe", "id": "20455405882" }, "metrics": { "clicks": 
"167", "impressions": "622" } }, { "campaign": { "resourceName": 
"customers/8427553807/campaigns/20565063060", "status": "ENABLED", 
"advertisingChannelType": "SEARCH", "servingStatus": "SERVING", "name": "PPC 
Solutions - US & Canada", "id": "20565063060" }, "metrics": { "clicks": "319", 
"impressions": "11790" } }, { "campaign": { "resourceName": 
"customers/8427553807/campaigns/20579600152", "status": "ENABLED", 
"advertisingChannelType": "SEARCH", "servingStatus": "SERVING", "name": "PPC 
Solutions - EU", "id": "20579600152" }, "metrics": { "clicks": "0", 
"impressions": "0" } }, { "campaign": { "resourceName": 
"customers/8427553807/campaigns/20985821690", "status": "PAUSED", 
"advertisingChannelType": "SEARCH", "servingStatus": "SERVING", "name": "Broad 
match keywords and Audience custom Segment", "id": "20985821690" }, "metrics": 
{ "clicks": "0", "impressions": "0" } } ], "fieldMask": 
"campaign.id,campaign.name,campaign.advertisingChannelType,campaign.status,campaign.servingStatus,metrics.impressions,metrics.clicks",
 "requestId": "ty0Vl8100XrVy7xY_dG4jQ", "queryResourceConsumption": "306" }
----------------END API CALL----------------

GoogleAds.DetailedRequestLogs Verbose: 1 : [2024-11-26 05:22:18Z] - 
---------------BEGIN API CALL---------------

Request
-------

Method Name: /google.ads.googleads.v17.services.GoogleAdsService/SearchStream
Host: 
Headers: {
  "x-goog-api-client": "gl-dotnet/6.0.0 gapic/21.0.0 gax/4.8.0 grpc/2.60.0 
gccl/4.0.1 pb/3.25.0",
  "developer-token": "REDACTED",
  "login-customer-id": "5059209342",
  "x-goog-request-params": "customer_id=8427553807"
}

{ "customerId": "8427553807", "query": "SELECT campaign.id, campaign.name, 
campaign.advertising_channel_type, campaign.status, campaign.serving_status, 
metrics.impressions, metrics.clicks FROM campaign WHERE segments.date DURING 
LAST_30_DAYS", "summaryRowSetting": "NO_SUMMARY_ROW" }

Response
--------
Headers: {
  "date": "Tue, 26 Nov 2024 05:22:14 GMT",
  "alt-svc": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000",
  "content-disposition": "attachment",
  "request-id": "ty0Vl8100XrVy7xY_dG4jQ"
}

{ }
----------------END API CALL----------------
GoogleAds.DetailedRequestLogs Verbose: 1 : [2024-11-26 05:24:38Z] - 
---------------BEGIN API CALL---------------

Request
-------

Method Name: /google.ads.googleads.v17.services.GoogleAdsService/SearchStream
Host: 
Headers: {
  "x-goog-api-client": "gl-dotnet/6.0.0 gapic/21.0.0 gax/4.8.0 grpc/2.60.0 
gccl/4.0.1 pb/3.25.0",
  "developer-token": "REDACTED",
  "login-customer-id": "5059209342",
  "x-goog-request-params": "customer_id=8427553807"
}

{ "customerId": "8427553807", "query": "SELECT campaign_budget.id, 
campaign_budget.name, campaign.id, campaign.name, 
campaign.advertising_channel_type, campaign_budget.status, campaign.status, 
metrics.impressions, metrics.clicks FROM campaign_budget WHERE segments.date 
DURING LAST_30_DAYS", "summaryRowSetting": "NO_SUMMARY_ROW" }

Response
--------
Headers: {
  "date": "Tue, 26 Nov 2024 05:24:34 GMT",
  "alt-svc": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"
}

{ "results": [ { "campaign": { "resourceName": 
"customers/8427553807/campaigns/10831858789", "status": "ENABLED", 
"advertisingChannelType": "SEARCH", "name": "Optmyzr - Brand", "id": 
"10831858789" }, "metrics": { "clicks": "163", "impressions": "644" }, 
"campaignBudget": { "resourceName": 
"customers/8427553807/campaignBudgets/7248236300", "status": "ENABLED", "id": 
"7248236300", "name": "Optmyzr - Brand" } }, { "campaign": { "resourceName": 
"customers/8427553807/campaigns/12549394755", "status": "ENABLED", 
"advertisingChannelType": "SEARCH", "name": "Competitors", "id": "12549394755" 
}, "metrics": { "clicks": "0", "impressions": "11" }, "campaignBudget": { 
"resourceName": "customers/8427553807/campaignBudgets/8352861061", "status": 
"ENABLED", "id": "8352861061", "name": "Competitors" } }, { "campaign": { 
"resourceName": "customers/8427553807/campaigns/18471070756", "status": 
"ENABLED", "advertisingChannelType": "SEARCH", "name": "Generic Kwds - PPC", 
"id": "18471070756" }, "metrics": { "clicks": "6", "impressions": "18" }, 
"campaignBudget": { "resourceName": 
"customers/8427553807/campaignBudgets/11680457470", "status": "ENABLED", "id": 
"11680457470", "name": "Generic Kwds - PPC" } }, { "campaign": { 
"resourceName": "customers/8427553807/campaigns/19609614373", "status": 
"ENABLED", "advertisingChannelType": "SEARCH", "name": "Amazon - Competitors", 
"id": "19609614373" }, "metrics": { "clicks": "0", "impressions": "6" }, 
"campaignBudget": { "resourceName": 
"customers/8427553807/campaignBudgets/12304363820", "status": "ENABLED", "id": 
"12304363820", "name": "Amazon - Competitors" } }, { "campaign": { 
"resourceName": "customers/8427553807/campaigns/20455405882", "status": 
"ENABLED", "advertisingChannelType": "SEARCH", "name": "Optmyzr - Brand - 
Europe", "id": "20455405882" }, "metrics": { "clicks": "167", "impressions": 
"622" }, "campaignBudget": { "resourceName": 
"customers/8427553807/campaignBudgets/12849478712", "status": "ENABLED", "id": 
"12849478712", "name": "Optmyzr - Brand - Europe" } }, { "campaign": { 
"resourceName": "customers/8427553807/campaigns/20565063060", "status": 
"ENABLED", "advertisingChannelType": "SEARCH", "name": "PPC Solutions - US & 
Canada", "id": "20565063060" }, "metrics": { "clicks": "319", "impressions": 
"11790" }, "campaignBudget": { "resourceName": 
"customers/8427553807/campaignBudgets/12964697493", "status": "ENABLED", "id": 
"12964697493", "name": "PPC Solutions - US & Canada" } }, { "campaign": { 
"resourceName": "customers/8427553807/campaigns/21903683414", "id": 
"21903683414" }, "metrics": { "clicks": "23", "impressions": "7886" }, 
"campaignBudget": { "resourceName": 
"customers/8427553807/campaignBudgets/14076835438", "status": "ENABLED", "id": 
"14076835438", "name": "Youtube Promotion - 2024-11-13 - 33994535" } } ], 
"fieldMask": 
"campaignBudget.id,campaignBudget.name,campaign.id,campaign.name,campaign.advertisingChannelType,campaignBudget.status,campaign.status,metrics.impressions,metrics.clicks",
 "requestId": "m4UIFZ72eW7PnINOKCta9g", "queryResourceConsumption": "360" }
----------------END API CALL----------------

GoogleAds.DetailedRequestLogs Verbose: 1 : [2024-11-26 05:24:38Z] - 
---------------BEGIN API CALL---------------

Request
-------

Method Name: /google.ads.googleads.v17.services.GoogleAdsService/SearchStream
Host: 
Headers: {
  "x-goog-api-client": "gl-dotnet/6.0.0 gapic/21.0.0 gax/4.8.0 grpc/2.60.0 
gccl/4.0.1 pb/3.25.0",
  "developer-token": "REDACTED",
  "login-customer-id": "5059209342",
  "x-goog-request-params": "customer_id=8427553807"
}

{ "customerId": "8427553807", "query": "SELECT campaign_budget.id, 
campaign_budget.name, campaign.id, campaign.name, 
campaign.advertising_channel_type, campaign_budget.status, campaign.status, 
metrics.impressions, metrics.clicks FROM campaign_budget WHERE segments.date 
DURING LAST_30_DAYS", "summaryRowSetting": "NO_SUMMARY_ROW" }

Response
--------
Headers: {
  "date": "Tue, 26 Nov 2024 05:24:34 GMT",
  "alt-svc": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000",
  "content-disposition": "attachment",
  "request-id": "m4UIFZ72eW7PnINOKCta9g"
}

{ }
----------------END API CALL----------------
  • Pr... 'Samarth Gupta' via Google Ads API and AdWords API Forum
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... Google Ads API and AdWords API Forum
        • ... 'Samarth Gupta' via Google Ads API and AdWords API Forum
        • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to