Ad URL Query for Ads API

29 views
Skip to first unread message

Saurabh Suman

unread,
Mar 24, 2022, 3:03:52 AM3/24/22
to Google Ads API and AdWords API Forum
Hi Team,
   What is  equivalent of below Google Adwords  attribute/method in Google Ads APi.

class Ad
Attribute: private String url;

Thanks,
Saurabh

Google Ads API Forum Advisor

unread,
Mar 24, 2022, 4:37:57 AM3/24/22
to saurabhs...@gmail.com, adwor...@googlegroups.com
Hi Saurabh,

Thank you for raising this concern to the Google Ads API team.

It appears that your concern is about the equivalent code in Google Ads API. With this, can I ask what client library you are using? So that our team can see if there are sample codes that we can refer to you.

Regards,
Google Logo
Carmela
Google Ads API Team
 


ref:_00D1U1174p._5004Q2Yqyvk:ref

Google Ads API Forum Advisor

unread,
Mar 24, 2022, 12:07:15 PM3/24/22
to saurabhs...@gmail.com, adwor...@googlegroups.com
Hi Saurabh,

If you are referring to destination URL it has been deprecated and here's a description in product support. Here's an equivalent field called finalUrls. Feel free to get back to us if this isn't what you are looking for.

Here are URL definitions differences between AdWords and Ads APIS.

You may use the ad_group_ad report, you can click on the  'help me build a query' button to generate a correct report definition. There are many URL fields to pick from. 

For a Java sample we have a folder containing reporting samples that can be modified for your particular report. Note that you can modify the report definition and the output creation.

For ad creation we have an example with finalUrl for RSA's.

Regards,

Google Logo
Aryeh
Google Ads API Team
 


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