Hello Shweta,

With the latest changes as mentioned in this blog
<https://ads-developers.googleblog.com/2018/02/announcing-v201802-of-adwords-api.html>,
you will need to use FeedItemTargetService to add the targeting options for
FeedItems. You may use the specific FeedItem type (Sitelink, Price etc) or
set it using the feedItem target instance. You may refer to the code sample
<https://github.com/googleads/googleads-java-lib/blob/cf5dac403a4e5749686a55570b21d97cacef3c1a/examples/adwords_axis/src/main/java/adwords/axis/v201809/extensions/AddSiteLinksUsingFeeds.java#L423-L434> as
a reference. Let me know if you have any other questions.

Thanks,
Bharani, 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 02/08/19 00:48:44 [email protected] wrote:

Hi Bharani,

Thanks for the update. But, in the GIT link mentioned for Java code, I have
seen that instead of FeedItem, PriceFeedItem is used. I particularly want
to use FeedItem class.

Regards,
Shweta Padwekar


On Thursday, 7 February 2019 22:08:59 UTC+5:30, googleadsapi-forumadvisor
wrote:

Hello Shweta,

You can use FeedItemTargetService
<https://developers.google.com/adwords/api/docs/reference/latest/FeedItemTargetService> to
restrict individual feed items to only target specific campaigns, ad
groups, or criteria. You may use the FeedItemCampaignTarget
<https://developers.google.com/adwords/api/docs/reference/v201809/FeedItemTargetService.FeedItemCampaignTarget> to
target the feed items to a campaigns. You may refer to the code sample in
Java
<https://github.com/googleads/googleads-java-lib/blob/cf5dac403a4e5749686a55570b21d97cacef3c1a/examples/adwords_axis/src/main/java/adwords/axis/v201809/extensions/AddPrices.java#L163> as
a reference on to target a campaign. Code samples in other languages can be
found here <https://developers.google.com/adwords/api/docs/clientlibraries>
.

Regards,
Bharani, 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=3-4100000025261&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/

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
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/77f56aba-38ac-492a-b929-59bab419771e%40googlegroups.com
<https://groups.google.com/d/msgid/adwords-api/77f56aba-38ac-492a-b929-59bab419771e%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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
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/00d12i8kmg000001gi4u9o0003fn0ex6cmj8c9g60o30c1g68qj4dhh%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
  • Set tar... shweta . sontakke . tc
    • RE... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
      • ... shweta . sontakke . tc
        • ... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum

Reply via email to