Hi support team,
We are trying to get the Performance Max campaigns through the ad_group resource. When using the ad_group resource just by itself it seems to filter out these campaigns while when using the resource via the click_view resource we can retrieve the campaigns.
Could you explain why we can see these campaigns via click_view but not through ad_group by itself?
(We can also get the campaigns through the campaign resource without any problems.)
Here are two example GAQLs:
First one from the click_view resource where we can see the Performance Max campaigns:
1.
SELECT customer.descriptive_name, campaign.advertising_channel_type, campaign.advertising_channel_sub_type, campaign.id, campaign.name, campaign.tracking_url_template, campaign.url_custom_parameters, campaign.final_url_suffix, ad_group.name, ad_group.id, ad_group.type, ad_group.tracking_url_template, ad_group.final_url_suffix, segments.date, metrics.clicks, customer.currency_code FROM click_view WHERE segments.date BETWEEN '2021-12-01' AND '2021-12-01'
Second one from the
ad_group resource
where we can not see the Performance Max campaigns:
2.
SELECT customer.descriptive_name, campaign.advertising_channel_type, campaign.advertising_channel_sub_type, campaign.id, campaign.name, campaign.tracking_url_template, campaign.url_custom_parameters, campaign.final_url_suffix, ad_group.name, ad_group.id, ad_group.type, ad_group.tracking_url_template, ad_group.final_url_suffix, segments.date, metrics.clicks, customer.currency_code FROM ad_group WHERE segments.date BETWEEN '2021-12-01' AND '2021-12-01'
Kind regards,
Maria Ravander
Developer @ Funnel