What's the difference between landing_page_view.unexpanded_final_url and ad_group_ad.ad.final_urls?

315 views
Skip to first unread message

Nelson Brochado

unread,
Jan 13, 2023, 12:05:28 PM1/13/23
to Google Ads API and AdWords API Forum
Hi.

I have a few questions, although my main question is in the title.

The landing_page_view.unexpanded_final_url is described (in the docs) as follows

The advertiser-specified final URL.

while ad_group_ad.ad.final_urls is described as 

The list of possible final URLs after all cross-domain redirects for the ad.

Now, one obvious difference is that ad_group_ad.ad.final_urls is a list while landing_page_view.unexpanded_final_url  is not. However, both are or contain "final URs". 

My question is: what's the specific relation between the 2? For example, is landing_page_view.unexpanded_final_url the first final URL that we find in ad_group_ad.ad.final_urls, or maybe it's something completely different? I don't think they are completely different, otherwise, they wouldn't be called in this way. Is maybe the only difference that landing_page_view.unexpanded_final_url actually uses the keyword final URL, if it exists, which overrides the ad's final URL?  

After having read the Google Ads documentation, it seems that what people call a "landing page" is composed of the "final URL" and "tracking templates".

In practice, I've observed that ad_group_ad.ad.final_urls contains at most one URL. Why is then it returned as a list? 

I've also read this API docs page.

The API also provides the Expanded Landing Page View, which provides the field expanded_landing_page_view.expanded_final_url, which, I hypothesise, is the unexpanded final URL with the tracking parameters, and so on. Could you please also clarify this?

Cheers.

Google Ads API Forum Advisor

unread,
Jan 16, 2023, 12:43:42 AM1/16/23
to nelson....@webrepublic.ch, adwor...@googlegroups.com
Hi Nelson,

Thank you for reaching out to us.

Kindly note that the fields you have mentioned have different purposes; it will depend on the resource level (for example, the ad_group level) you might be fetching. Since the Google Ads API mirrors the Google Ads UI, could you provide us with the entire UI screenshot where you can see the data you want to fetch in the API, so that our team can further provide precise guidance accordingly to what is the more appropriate field you may be using in the Ads API?

You may then send the requested information via the Reply privately to author option. If this option is not available, you may send the details directly to our googleadsa...@google.com alias instead.

If you have further questions regarding the specific values of the fields fetched, then I would recommend you reach out instead to the Product Team via this link, as they are better equipped to provide guidance on the data accumulation.

Best regards,
Google Logo
Heidi
Google Ads API Team
 


ref:_00D1U1174p._5004Q2hyDHl:ref

Nelson Brochado

unread,
Jan 16, 2023, 1:23:12 PM1/16/23
to Google Ads API and AdWords API Forum
Hi.

I understand that, depending on the resource level, we may get different results. However, in this case, we're talking about fetching "final URLs" from the landing_page_view and the ad_group_ad resource. 

I guess my question then boils down to: what is the resource level of the landing_page_view? If we look at the docs, the answer would be "the unexpanded final URL level", but then my question is then: what is the relationship between the ad level and the "unexpanded final URL level"? What is the "unexpanded final URL level"? What do you mean by "level"? I know that, in practice, we can define final URLs in the ad and in the keywords, but how do these URLs related to the landing_page_view's final URLs? There must be a relationship between them. The landing_page_view must be taking the URLs either from the ad or keywords. There's no other way, as far as I know.

Moreover, let's say we want to fetch these things:

1. final URLs
2. metrics: ctr and impressions

Should we get these from the ad_group_ad or landing_page_view? We can get them from one or the other. Which one should we choose? And why? And what's the difference?

Cheers

Google Ads API Forum Advisor

unread,
Jan 17, 2023, 5:51:19 AM1/17/23
to nelson....@webrepublic.ch, adwor...@googlegroups.com
Hi Nelson,

Thank you for the reply.

Kindly note that for our team to provide an appropriate answer, we indeed need the UI screenshot so that we can check and try this on our end and confirm what fields must be used.

Moving forward to this, “what is the relationship between the ad level and the "unexpanded final URL level"? What is the "unexpanded final URL level"? What do you mean by "level"? I know that, in practice, we can define final URLs in the ad and in the keywords, but how do these URLs related to the landing_page_view's final URLs?
  • Please also note that the Google Ads API just mirrors the Google Ads UI. Whatever data appears on the Ads UI report should be pulled by the API. Having said that, the fields in reports/resources simply map to the data in the UI. In that case, I would suggest contacting the Product team via this link, as they are better equipped to provide data relations guidance.
And for this, "Moreover, let's say we want to fetch these things: 1. final URLs 2. metrics: ctr and impressions Should we get these from the ad_group_ad or landing_page_view? We can get them from one or the other. Which one should we choose? And why? And what's the difference?" You may see below sample GAQL:
  1. SELECT ad_group_ad.ad.final_urls, metrics.impressions, metrics.ctr FROM ad_group_ad
  2. SELECT landing_page_view.unexpanded_final_url, metrics.ctr, metrics.impressions FROM landing_page_view
However, if you looking at Ads UI report and looking to pull those data in the Google Ads API, then you may provide us the whole UI screenshot without cropping, so that we can provide more accurate recommendations.


You may then send the requested information via the Reply privately to author option. If this option is not available, you may send the details directly to our googleadsa...@google.com alias instead

Reply all
Reply to author
Forward
0 new messages