Hi Pat,

It will effectively be like an update and the feed ids and feed item ids
will be same as the one during the ADD operation.

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/30/19 11:24:03 pjodo...@us.ibm.com wrote:

Thanks Sreelakshmi.  That makes sense.  Does the SET operation in step 4
act like creating a completely new sitelink that creates a new ID etc. or
is it simply just acting like an update/edit function to the already
created sitelink?

Thanks!
Pat

On Tuesday, January 29, 2019 at 4:11:32 PM UTC-5, googleadsapi-forumadvisor
wrote:

Hi Pat,

Yes, the ADD and SET works as same for extension setting services. Based on
your use-case, the steps might be similar to as follows :

   1. Add the sitelink extension using the CampaignExtensionsettingService
<https://developers.google.com/adwords/api/docs/reference/v201809/CampaignExtensionSettingService>
   (as an example) which will return the the details of the extension
   including the Feed Id and the individual Feed items in the API response.
   2. Your program would then perform a CampaignExtensionsettingServic
   e.get()
<https://developers.google.com/adwords/api/docs/reference/v201809/CampaignExtensionSettingService#get> and filter with the campaign id and the extension type = SITELINK to fetch the
   sitelinks associated to that campaign.
   3. You will then need to update the final urls for each sitelink feed
   item in the extension similar to the code snippet shared in my previous
   response.
   4. Add the CampaignExtensionSetting (which includes all the sitelinks
   associated with the given campaign) back to the
   CampaignExtensionsettingService.mutate()
<https://developers.google.com/adwords/api/docs/reference/v201809/CampaignExtensionSettingService#mutate>
   call to perform a SET operation.
   5. This should update your existing sitelink extensions with the new
   final url. Please note that the underlying feed item ids does not change
   when you perform this update.

Please let me know if you have any additional questions.

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/29/19 10:21:08 pjod...@us.ibm.com wrote:

Thanks Sreelakshmi.

Is there a way to update the final URLs after the initial time of creating
the site link without creating an entirely new site link?  In my situation,
one team would be creating the site link and inputting the base URL, and
then an internal tool would be taking that base URL, adding tagging, and
then hopefully sending it back to the correct site link.

Thanks!
Pat

On Monday, January 28, 2019 at 5:33:33 PM UTC-5, googleadsapi-forumadvisor
wrote:

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/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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/28/19 10:55:08 pjod...@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/ms
gid/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?utm_medium=email&utm_source=footer>

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/00d12jtcuo0000010r3aa4005rbhj0w70mjed9h6go30c1g68q30c9l%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
  • ... '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