How to get created location/ affiliate location extensions?

112 views
Skip to first unread message

Nhật Bảo Trần

unread,
Apr 10, 2019, 6:44:44 AM4/10/19
to AdWords API and Google Ads API Forum
I can't find ExtensionType of location/ affiliate location extensions so that I can't build a selector to query. I'm using java to call google API.

googleadsapi...@google.com

unread,
Apr 10, 2019, 2:46:05 PM4/10/19
to tran.nhat...@gmail.com, AdWords API and Google Ads API Forum
Hello, 

If you're using AdWords API, you will be able to use the FeedService.get() to get the Affiliate Locations details. If you're using the Google Ads API, you will be able to use the Feed object to pull the details. Please check this guide for more information.

Regards,
Bharani, Google Ads API Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    https://ads-developers.googleblog.com/search/label/google_ads_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Nhật Bảo Trần

unread,
Apr 10, 2019, 11:10:38 PM4/10/19
to AdWords API and Google Ads API Forum
Hi Bharani,
I associated the Affiliate Locations to the AdGroup, so that when I use FeedService.get(), I can't find any Feed. However, when I use AdGroupFeedService.get(), I can get the matchingFunction with the chainId. Can you help me to get the list chain from chainId? Thank you very much.

googleadsapi...@google.com

unread,
Apr 11, 2019, 2:59:01 PM4/11/19
to tran.nhat...@gmail.com, AdWords API and Google Ads API Forum
Hello, 

Sure, if you already have the Affiliate Location Extensions in your account, you will be able to use the FeedMappingService.query to pull the data by filtering with PLACEHOLDER ID = 30. The list of chains that you wish to advertise can be found here. Please check this guide for more information.

Thanks,
Bharani, Google Ads API Team

tran.nhat...@gmail.com

unread,
Apr 16, 2019, 11:51:12 PM4/16/19
to AdWords API and Google Ads API Forum
Thank you very much, but I want to ask that can I query the list of chains by using any API?

Vào 01:59:01 UTC+7 Thứ Sáu, ngày 12 tháng 4 năm 2019, googleadsapi-forumadvisor đã viết:

googleadsapi...@google.com

unread,
Apr 17, 2019, 10:32:02 AM4/17/19
to tran.nhat...@gmail.com, AdWords API and Google Ads API Forum
Hello, 

I'm afraid, it is not possible to query the Chain IDs through the API. Let me know if you have any other questions.

tran.nhat...@gmail.com

unread,
Apr 22, 2019, 11:29:11 PM4/22/19
to AdWords API and Google Ads API Forum
Thanks a lot,  Bharani

Vào 21:32:02 UTC+7 Thứ Tư, ngày 17 tháng 4 năm 2019, googleadsapi-forumadvisor đã viết:
Reply all
Reply to author
Forward
0 new messages