Hi Pat,

Those are two different ways of updating the sitelinks. If you are using
the extension setting services
<https://developers.google.com/adwords/api/docs/guides/extension-settings>
at various levels (Customer/AdGroup/Campaign) to create the extensions, I
would recommend using the same to modify the final urls. The code snippet
<https://developers.google.com/adwords/api/docs/guides/extension-settings#update_ad_extensions>
I had shared in my previous response should be useful if you decide to go
with that. To prevent the new settings from overwriting the old settings,
remember to send back all feed items, even if you're modifying just one
item.

Thanks,
Sreelakshmi, AdWords API Team

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

On 01/28/19 10:55:08 pjodo...@us.ibm.com wrote:

Hi Sreelakshmi,

Thanks for the response.  Does the mutate operation including removing old
entries and creating new with updates?

My objective is to set the final URL for sitelinks via the API.  Do you
think CampaignExtensionSettingService
<https://urldefense.proofpoint.com/v2/url?u=https-3A__developers.google.com_adwords_api_docs_reference_v201809_CampaignExtensionSettingService&d=DwMFaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=FG2YhDUSgoMPIsEc41uCq2Kbdm-QooLOlsYG4S90DVw&m=966AFMRtuCI1a_i7ZVwn5YrEs3bcFFc8fwA1nLVbDpw&s=gCY21UT2WJyAi_vaj9x51VaOYybr8aWLDi3sAVHAHNY&e=>
 or FeedItemService
<https://urldefense.proofpoint.com/v2/url?u=https-3A__developers.google.com_adwords_api_docs_reference_v201809_FeedItemService&d=DwMFaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=FG2YhDUSgoMPIsEc41uCq2Kbdm-QooLOlsYG4S90DVw&m=966AFMRtuCI1a_i7ZVwn5YrEs3bcFFc8fwA1nLVbDpw&s=sBu8zXwI5xk4119Va6Yq8v9fYmmh5gNdsWSKCSpzUWc&e=>
makes more sense for this use case?

Thanks!

On Friday, January 25, 2019 at 5:27:20 PM UTC-5, googleadsapi-forumadvisor
wrote:

Hi Pat,

AdService
<https://developers.google.com/adwords/api/docs/reference/v201809/AdService> can
only mutate the Ad and not a feed item (sitelink). If you would like to
update a specific extension at the campaign level, you will need to use the
CampaignExtensionSettingService
<https://developers.google.com/adwords/api/docs/reference/v201809/CampaignExtensionSettingService> and
perform a mutate() operation. Please check this section of the guide
<https://developers.google.com/adwords/api/docs/guides/extension-settings#update_ad_extensions> for
more details and code snippets. You could also use the FeedItemService
<https://developers.google.com/adwords/api/docs/reference/v201809/FeedItemService> and
update the specific feed Item. This guide
<https://developers.google.com/adwords/api/docs/guides/dynamic-remarketing#use_case_2_updating_flight_prices> illustrates
how to update a feed item using the FeedItemService.

If I misunderstood your question, could you please elaborate?

Thanks,
Sreelakshmi, AdWords API Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    http://googleadsdeveloper.blogspot.com/search/label/adwords_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
<https://support.google.com/google-ads/contact/survey_transactional?caseid=8-7514000024015&hl=en&ctx=1>

Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/
On 01/25/19 14:16:24 pjod...@us.ibm.com wrote:

Hi Sreelakshmi,

A follow up question on this.  Is the Adservice able to update URLs for ads
that belong to site links or does your previous response hold true for
sitelinks as well?

Thanks!
Pat

On Monday, November 5, 2018 at 4:00:12 PM UTC-5, Sreelakshmi Sasidharan
(AdWords API Team) wrote:

Hi Pat,

Yes, those Ad types are not supported by AdService. Hence, you may need to
remove the old ad and create the new ad with the updates. This will create
a new ad and you will no longer have the historical stats associated with
it. You will be able to see the historical stats associated with the old
ad.

From the description, it looks like it would be ideal to use your tool
before you create the Ad itself. You could start working with the proposed
Final Url and let the tool come up with the correct url. You could then use
the API to create the ad with the correct Url. Ads not being able to be
modified for all types is a product level limitation. You can verify this
in your test Google Ads account from the UI. For instance, modifying an
image ad will create a new version of the ad and remove the old one.

If you would like, you can also post this question on the advertisers
community forum
<https://www.en.advertisercommunity.com/t5/Google-AdWords/ct-p/Google_AdWords#> to
see if the product experts there have any suggestions.

Thanks,
Sreelakshmi, AdWords API Team

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@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+unsubscr...@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/d4108baa-34af-48a9-b8f5-aca6ade7e2a6%40googlegroups.com
<https://groups.google.com/d/msgid/adwords-api/d4108baa-34af-48a9-b8f5-aca6ade7e2a6%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@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+unsubscr...@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/cf9db41a-2f0a-429c-827e-20bcbe911783%40googlegroups.com
<https://groups.google.com/d/msgid/adwords-api/cf9db41a-2f0a-429c-827e-20bcbe911783%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@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+unsubscr...@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/1a0jqig00000000180cnsa002thnuox70mjed9h6go30c1g68q30c9l%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
  • ... pjodonov
    • ... 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API and Google Ads API Forum
      • ... pjodonov
        • ... 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API and Google Ads API Forum
          • ... pjodonov
            • ... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
              • ... pjodonov
                • ... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
                • ... pjodonov
                • ... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
                • ... pjodonov
                • ... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
      • ... pjodonov

Reply via email to