couldn't get sitelink data

55 views
Skip to first unread message

Can Kivanc

unread,
Sep 12, 2022, 6:18:26 AM9/12/22
to Google Ads API and AdWords API Forum
Hello, 
Trying to get sitelink info via Api in  campaign level.
In Google Ads interface, I can see sitelinks, however when I tried to get via Api, it doesn't show anything.

Here is the request id and query?

Request ID: RZFqPv_wewU3cX4luTcLbA
 - - - Query - - - SELECT campaign_extension_setting.extension_feed_items, campaign_extension_setting.extension_type, campaign.id, campaign.name FROM campaign_extension_setting WHERE campaign_extension_setting.extension_type = 'SITELINK' AND campaign.status = 'ENABLED'

Thanks in advance,
Can  

Google Ads API Forum Advisor

unread,
Sep 12, 2022, 10:52:47 AM9/12/22
to c...@adsbot.co, adwor...@googlegroups.com
Hi Can,

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

To investigate the issue further, could you please provide the complete request and response logs, with the request-id? If you haven't yet, logging can be enabled by navigating to the Client libraries > Your client library (ex. Java) > Logging documentation, which you can access from this link.You can provide it via Reply privately to author option. If this option is not available, you may send the details directly to our googleadsa...@google.com alias instead. Let me know if you have any questions.

Thanks,
Google Logo
Nirmita
Google Ads API Team
 


ref:_00D1U1174p._5004Q2eNI6z:ref

Can Kivanc

unread,
Sep 13, 2022, 3:31:30 AM9/13/22
to ads...@forumsupport.google, adwor...@googlegroups.com, Fethi Yıldız
Hi,
Thanks for your email. The data that we get via api is not the same as Google Ads interface. We cannot get sitelink data that we see in google ads interface via api.In the attached, you can see the screenshots.

Here are the details:

- - - Request Id - - - rC86ywxNEQk_2PovodUtTw - - - Log - - - 2022-09-13 10:21:14.115 INFO 34676 --- [ault-executor-0] c.g.ads.googleads.lib.request.summary : SUCCESS REQUEST SUMMARY. Method: google.ads.googleads.v11.services.GoogleAdsService/SearchStream, Endpoint: googleads.googleapis.com:443


CustomerID: 3732467074


RequestID: rC86ywxNEQk_2PovodUtTw, ResponseCode: OK, Fault: null. 


- - - Query - - - 

SELECT campaign_extension_setting.extension_feed_items, campaign_extension_setting.extension_type, campaign.id, campaign.name FROM campaign_extension_setting WHERE campaign_extension_setting.extension_type = 'SITELINK' AND campaign.status = 'ENABLED



Thanks in advance,



Google Ads API Forum Advisor <ads...@forumsupport.google>, 12 Eyl 2022 Pzt, 17:52 tarihinde şunu yazdı:
Screen Shot 2022-09-13 at 10.30.02.png
Screen Shot 2022-09-13 at 10.29.53.png

Google Ads API Forum Advisor

unread,
Sep 13, 2022, 5:43:06 AM9/13/22
to c...@adsbot.co, fe...@adsbot.co, adwor...@googlegroups.com

Hi Can,
 

I'm Darwin, also a member of the Google Ads API team. I work with Nirmita and allow me to assist you here. I hope you are doing well today.


Thank you for providing the request logs and Customer ID that my colleague requested. However, upon impersonating your query provided on my end I got no result. With this, for us to further investigate your problem. Could you also provide us the response you received in that query, as well as a full screenshot of the UI you are referring to discrepancies in the Google Ads UI and Google Ads API report?
 

Regards,

Google Logo
Darwin
Google Ads API Team
 


ref:_00D1U1174p._5004Q2eNI6z:ref

Google Ads API Forum Advisor

unread,
Sep 13, 2022, 5:45:01 AM9/13/22
to c...@adsbot.co, fe...@adsbot.co, adwor...@googlegroups.com

Hi Can,

Additionally to my first email. You may provide it via Reply privately to the author option. If this option is not available, then send it instead on this email address googleadsa...@google.com.

Google Ads API Forum Advisor

unread,
Sep 14, 2022, 10:06:32 AM9/14/22
to fe...@adsbot.co, c...@adsbot.co, adwor...@googlegroups.com
Hi Fethi,

Thank you for the additional logs.

I can indeed see that you currently have (sitelink) extensions created or associated at the campaign level. However, your query not returning any records could be highly like due to your account being already migrated to asset based extensions.

That being said, could you try and generate the campaign_asset (use campaign_asset.field_type = SITELINK filter) report instead? Let us know how this goes on your end.

Best regards,

Google Logo
Peter Laurence
Google Ads API Team
 


ref:_00D1U1174p._5004Q2eNI6z:ref
Reply all
Reply to author
Forward
0 new messages