Update site links assets via API

122 views
Skip to first unread message

tal sibony

unread,
Feb 29, 2024, 11:37:30 AM2/29/24
to Google Ads API and AdWords API Forum
Hi All, 

I started dev of small scale system which the main goal is to update the capaign with
updated sitelinks on a daily baisis, I was managed to do the following:

1. connect to google ads api endpoint v16/v15 - done.
2. create campaign asset site links
3. query the relevant campaign and get all assets site links

The main issue I have is with the point of updating the assets site links, I was not able to accomplish it via php sdk / rest api.

the main goal is to be able to be able to update the sitelinks on a cycle, I do not mind deleting and recreated them.

in the code example of php library there are 2 samples:
1.  AddSitelinks.php - this create sitelinks as campaign extention and it clearly declared that this will be deprecated soon and direct you to use site links as assets.
2. AddSitelinksUsingAssets.php works as excpected but there is no example of how it is possible to update or remove the assts.

Any suggestions of how can I achieve my simple goal here, which is to be able to update my campaign assets site links?

Google Ads API Forum Advisor

unread,
Feb 29, 2024, 4:07:09 PM2/29/24
to tal...@gmail.com, adwor...@googlegroups.com
Hi,

Thank you for reaching out to the Google Ads API support team.

I see that you have already raised this concern on another thread with the subject 'update sitelinks via google ads api', and we have already responded there for this issue. To avoid multiple threads on the same issue, please take a look at that thread and continue the discussion on the same for further updates on the issue.
 
This message is in relation to case "ref:!00D1U01174p.!5004Q02rzZO8:ref"

Thanks,
 
Google Logo Google Ads API Team


Reply all
Reply to author
Forward
0 new messages