Performance Max campaign data not returned from 'landing_page_view'

2022-02-25 Thread Kyle Tremblay
Hi,

I am trying to pull campaign-level data from 'landing_page_view', but the 
attached query is not retuning any records for Performance Max campaigns, 
despite the data existing in the Google Ads interface (Landing Pages 
report). 

I did not see anything in the documentation suggesting this data is not 
available through the API. This issue occurs when using v9 and v10 of the 
Google Ads API.

Please advise. 

Thanks,
Kyle

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 on the web visit 
https://groups.google.com/d/msgid/adwords-api/da4099d0-4368-4cb6-adc2-3a44056e0232n%40googlegroups.com.
SELECT
segments.date,
landing_page_view.unexpanded_final_url,
campaign.id,
campaign.name,
campaign.status,
ad_group.id,
ad_group.name,
ad_group.status,
campaign.advertising_channel_type,
segments.device,
metrics.impressions,
metrics.clicks,
metrics.cost_micros,
metrics.conversions,
metrics.conversions_value
FROM landing_page_view
where segments.date between '"""+self.api_start_date+"""' and 
'"""+self.api_end_date+"""'"""


RE: Performance Max campaign data not returned from 'landing_page_view'

2022-02-27 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hello Kyle,

Thanks for reaching out to the Google Ads API support. Unfortunately, the query 
you shared, over there most of the fields are not a valid field in the SELECT 
clause when “landing_page_view” is the resource in the FROM clause. Fields in 
the SELECT must be 'Selectable'. Feel free to use the Google Ads Query Builder 
for the query validation.

Could you please confirm if you are looking for Performance Max campaigns 
reporting via API? If yes then you can use GoogleAdsService.SearchStream to 
retrieve attributes and performance metrics for Performance Max campaigns 
reporting FROM campaign resource. Let me know if you have any questions.

Best regards,

Jakeia Sabrina
Google Ads API Team
ref:_00D1U1174p._5004Q2XjQDU:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 on the web visit 
https://groups.google.com/d/msgid/adwords-api/bbCeP0R805JY00cccEjQshQFyjgT1j3WyU3A%40sfdc.net.