Google ads API V1.0 - A resource name for the removed campaign extension setting

48 views
Skip to first unread message

Priya

unread,
May 9, 2019, 1:29:49 PM5/9/19
to AdWords API and Google Ads API Forum

Hello API Team,

I created a campaign extension with resource name : customers/{customer_id}/campaignExtensionSettings/{campaign_id}~{extension_type} , extension type as SITELINK and extension_feed_items[] with resource name : customers/{customer_id}/extensionFeedItems/{feed_item_id}

I created extension_feed_items as mentioned in MutateExtensionFeedItems

For Remove operation: A resource name for the removed campaign extension setting is expected, in this format:

customers/{customer_id}/campaignExtensionSettings/{feed_id}


Campaign extension resource name does not have feed_id  and extension_feed_items which I created using MutateExtensionFeedItems does have a feed_id either. How can I get feed_id  that is required for remove operation? 

I am using .net client library. 

Thanks for your time. 

googleadsapi...@google.com

unread,
May 10, 2019, 4:10:50 AM5/10/19
to AdWords API and Google Ads API Forum
Hi Priya,

Thank you for reaching out. You can try to use the CampaignExtensionSettingService.GetCampaignExtensionSetting() method to get the value of extension_feed_items[] as this field returns the resource name of the extension feed items associated to your campaignExtensionSetting.

Let me know if this helps.

Regards,
Dave
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/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Was your question answered? Please rate your experience with us by taking a short survey.
If not -- reply to this email and tell us what else we can do to help.

Take Survey

Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscribe@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 "AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/d58e4835-eefa-43fa-912c-a53326a666cf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

reza haydare

unread,
May 10, 2019, 5:08:27 PM5/10/19
to AdWords API and Google Ads API Forum

در پنجشنبه 9 مهٔ 2019، ساعت 21:59:49 (UTC+4:30)، Priya نوشته:
Reply all
Reply to author
Forward
0 new messages