How to get the landing page address of Google ads from Google ads api

562 views
Skip to first unread message

pqm peng

unread,
Oct 7, 2021, 11:54:16 PM10/7/21
to AdWords API and Google Ads API Forum
How to get the landing page address of Google ads from Google ads api

Google Ads API Forum Advisor

unread,
Oct 8, 2021, 2:52:50 PM10/8/21
to pqm...@gmail.com, adwor...@googlegroups.com
Hi there,

Thank you for reaching out to Google Ads API support. Is landing_page_view what you are looking for? If not, could you privately send us a screenshot of the UI that you are looking to replicate in the API?

Regards,

Google Logo
Aryeh Baker
Google Ads API Team
 


ref:_00D1U1174p._5004Q2PHtnw:ref

pqm peng

unread,
Oct 11, 2021, 10:30:17 PM10/11/21
to AdWords API and Google Ads API Forum
 landing_page_view  is not  for  each ad, How can I get the landing page address of each ad?

Google Ads API Forum Advisor

unread,
Oct 12, 2021, 10:30:19 PM10/12/21
to pqm...@gmail.com, adwor...@googlegroups.com

Hello,

Thank you for getting back to us.

As previously asked by my colleague (Aryeh), can you share to us a screenshot in the Google Ads UI showing your concern so we can provide its API equivalent?

Please send the requested screenshot 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.

As an aside, according to this guide, the final URL represents the actual landing page for your ad, keyword, or sitelink. The final URL must be the URL the user sees in the browser bar after clicking your ad: It must not have any off-domain redirects. If this is what you're looking for, you can utilize the ad_group_ad.ad.final_urls instead.

Regards,

Google Logo
Mark Kevin Albios
Google Ads API Team
 


ref:_00D1U1174p._5004Q2PHtnw:ref

pqm peng

unread,
Oct 13, 2021, 9:44:11 PM10/13/21
to AdWords API and Google Ads API Forum

Why do some ads have landing pages and some don’t?

1634175793760.png16341757981606.png
在2021年10月13日星期三 UTC+8 上午10:30:19<adsapi> 写道:

Hello,

Thank you for getting back to us.

As previously asked by my colleague (Aryeh), can you share to us a screenshot in the Google Ads UI showing your concern so we can provide its API equivalent?

Please send the requested screenshot via the Reply privately to author option. If this option is not available, you may send the details directly to our googleadsapi-support@google.com alias instead.



As an aside, according to this guide, the final URL represents the actual landing page for your ad, keyword, or sitelink. The final URL must be the URL the user sees in the browser bar after clicking your ad: It must not have any off-domain redirects. If this is what you're looking for, you can utilize the ad_group_ad.ad.final_urls instead.

Regards,

Google Ads API Forum Advisor

unread,
Oct 14, 2021, 10:42:01 PM10/14/21
to pqm...@gmail.com, adwor...@googlegroups.com
Hi,

Final URLs should be set first into the entity in order for it to then be available when queried. You may check this example where it demonstrates the final URL field being set during ad creation.

That said, could you confirm whether you have set the final_url field in your ad when you initially created those?

Best regards,

Google Logo
Peter Laurence Napa Oliquino
Google Ads API Team
 


ref:_00D1U1174p._5004Q2PHtnw:ref

pqm peng

unread,
Oct 17, 2021, 10:11:16 PM10/17/21
to AdWords API and Google Ads API Forum
I'm sure  that i  have set the final_url field in my ad when i initially created those

Google Ads API Forum Advisor

unread,
Oct 18, 2021, 4:45:02 PM10/18/21
to pqm...@gmail.com, adwor...@googlegroups.com
Hi,

Could you privately give us request and response to the API logs of the steps to reproduce this issue of final url missing from ad when the ad is created with one? 

The request and response appears similar to the JSON Mappings in our REST documentation. Our client libraries have loggers with logging instructions, to see these instructions you can click on the client library you use in the sidebar of our client library guide and click on "Logging". Setting the logger to 'DEBUG' should get the logs necessary.

Regards,

Google Logo
Aryeh Baker
Google Ads API Team
 

 

ref:_00D1U1174p._5004Q2PHtnw:ref

pqm peng

unread,
Oct 22, 2021, 3:55:58 AM10/22/21
to AdWords API and Google Ads API Forum

Why is the refresh token valid for a short time

pqm peng

unread,
Oct 22, 2021, 3:56:48 AM10/22/21
to AdWords API and Google Ads API Forum
How to get a permanent refresh token

Google Ads API Forum Advisor

unread,
Oct 24, 2021, 9:57:47 PM10/24/21
to pqm...@gmail.com, adwor...@googlegroups.com

Hello,

Thank you for getting back to us.

Here are some of the reasons why a refresh token expires. In the Google Ads API's perspective, since an OAuth2 access expires after a limited time, an OAuth2 refresh token is used to automatically renew OAuth2 access. Please check on this guide for more details instead.

Regards,

Google Logo
Mark Kevin Albios
Google Ads API Team
 


ref:_00D1U1174p._5004Q2PHtnw:ref
Reply all
Reply to author
Forward
0 new messages