I made better workaround, than I posted above with PHP. You can do it faster by JS:
<script> // Open settings/sub-account settings https://ads.google.com/aw/settings/subaccounts // SET: Show rows:500 // Scroll to the bottom of page to get all stuff loaded to the memory // Open developer tools (CTRL + SHIFT + J) // Paste code into developer console: // START var ocid = document.querySelector('html').innerHTML; var matches = Array.from(ocid.matchAll(/<a.*?href="\/aw\/[^?]+\?ocid=([^&]+)&[^>]+>([^<]+)<\/a><!----><\/div><!----><div class="[^"]+">([^<]+)/g)); var output = []; matches.forEach(element => { var customer_id = element[3].replaceAll('-',''); var ocid = element[1]; var name = element[2]; output.push(customer_id + ';' + ocid + ';' + name); }); output = output.join("\n"); copy(output); // END // now, you have first 500 accounts copied to clipboard in following format: customer_id ; ocid ; name // by Kamil Rajkowski </script> On Monday, March 28, 2022 at 8:47:54 PM UTC+2 adsapi wrote: > Hello, > > The UI is subject to change at any time, so there's no guarantee a deep > link from today would work tomorrow. Therefore, we don't recommend scraping > to construct deep links. The ocid also isn't relevant in any API context, > so we don't expose it in the API. We have had a few feature requests for > deep linking again recently, and the team is considering it. However, I > cannot comment on our future plans with any certainty. > > Regards, > Mike, Google Ads API Team > > ref:_00D1U1174p._5001UHEIuy:ref > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 "Google Ads API and AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/58da754b-cd27-4ef2-a2b9-ffff2c62f716n%40googlegroups.com.