Hi Nikhil, 

You need to first send an invitation from your Merchant Center account to 
your AdWords account and then accept the invitation in your AdWords 
account. You can use the Merchant Center user interface to send this 
invitation <https://support.google.com/merchants/answer/6159060>, or use 
the Content API for Shopping 
<https://developers.google.com/shopping-content/> to update the 
adwordsLinks of your Account 
<https://developers.google.com/shopping-content/v2/reference/v2/accounts>. 
You can then use CustomerService.getServiceLinks() 
<https://developers.google.com/adwords/api/docs/reference/v201705/CustomerService#getservicelinks>
 method 
to get the links and use CustomerService.mutateServiceLinks() 
<https://developers.google.com/adwords/api/docs/reference/v201705/CustomerService#mutateservicelinks>
 method 
to set the linkStatus 
<https://developers.google.com/adwords/api/docs/reference/latest/CustomerService.ServiceLink#linkstatus>
 from 
PENDING to ACTIVE to accept the link. You need to set the serviceType 
<https://developers.google.com/adwords/api/docs/reference/v201705/CustomerService.ServiceLink#servicetype>
 and 
the serviceLinkId 
<https://developers.google.com/adwords/api/docs/reference/v201705/CustomerService.ServiceLink#servicelinkid>
 in 
the operand when you accept the invitation. Please see this guide 
<https://developers.google.com/adwords/api/docs/guides/shopping#managing_invitations_in_your_adwords_account>
 for 
more details.

Regards,
Shwetha, AdWords API Team.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 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/35509910-b12c-48db-8392-24e282713a72%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • I am getting In... nikhil . saxena
    • Re: I am g... 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum

Reply via email to