Hi,
I've tried to pull campaign level metrics and i've been successful at it.
But when making the same request at the ad_group_ad level, metrics come
back empty, with zeros.
How could this happen? Not all campaigns should have ad attached to them?
campaign level
SELECT
campaign.name,
campaign.status,
metrics.impressions,
metrics.clicks,
metrics.ctr,
metrics.average_cpc,
metrics.cost_micros
FROM campaign
Response:
INFO:google.ads.googleads.client:Request made: ClientCustomerId:
7429962507, Host: googleads.googleapis.com, Method:
/google.ads.googleads.v14.services.GoogleAdsService/Search, RequestId:
UKFOuchDWff3OWUbA6RwMg, IsFault: False, FaultMessage: None
SearchPager<results { campaign { resource_name:
"customers/7429962507/campaigns/19899012473" status: ENABLED name:
"Software Design & Development" } metrics { clicks: 341 cost_micros:
11079688023 ctr: 0.012521113314239553 average_cpc: 32491753.73313783
impressions: 27234 } }
when requesting the same but at the ad_group_ad level:
SELECT
campaign.name,
campaign.status,
ad_group_ad.ad.id,
ad_group_ad.status,
ad_group_ad.ad.name,
metrics.clicks,
metrics.impressions,
metrics.conversions,
metrics.video_quartile_p100_rate,
metrics.video_views,
metrics.current_model_attributed_conversions,
metrics.cost_micros
FROM
ad_group_ad
i am receiving this:
INFO:google.ads.googleads.client:Request made: ClientCustomerId:
7429962507, Host: googleads.googleapis.com, Method:
/google.ads.googleads.v14.services.GoogleAdsService/Search, RequestId:
djXqZbCFQ2qWsHjsCuoXkw, IsFault: False, FaultMessage: None
SearchPager<results { campaign { resource_name:
"customers/7429962507/campaigns/19899012473" status: ENABLED name:
"Software Design & Development" } metrics { clicks: 0 video_views: 0
conversions: 0.0 cost_micros: 0 current_model_attributed_conversions: 0.0
impressions: 0 } ad_group_ad { resource_name:
"customers/7429962507/adGroupAds/151119724761~652641837331" status: ENABLED
ad { resource_name: "customers/7429962507/ads/652641837331" id:
652641837331 } } }
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/84901e2a-fad8-48a2-8a5d-3ed37225d85fn%40googlegroups.com.