Why does this script work with KMC campaigns but not with UAC campaigns?

12 views
Skip to first unread message

Роман Богатчук

unread,
Aug 20, 2020, 7:06:40 AM8/20/20
to AdWords API and Google Ads API Forum
function main () {
  getAllCampaigns ();
}

function getAllCampaigns () {
  // AdsApp.campaigns () вернет все кампании, которые не были удалены
  // по умолчанию.
  var campaignIterator = AdsApp.campaigns (). get ();
  Logger.log ('Всего найдено кампаний:' +
      campaignIterator.totalNumEntities ());
  while (campaignIterator.hasNext ()) {
    var campaign = campaignIterator.next ();
    Logger.log (campaign.getName ());
  }
}

Google Ads API Forum Advisor Prod

unread,
Aug 20, 2020, 2:27:34 PM8/20/20
to ro...@offer-wall.com, adwor...@googlegroups.com
Hi,

Thanks for reaching out. We are only able to provide support in English. With regards to your concern, can you please confirm if you are downloading a report via AdWords API or Google Ads API ? If you referring to the API, can you please provide elaborate your concern along with customer id. Please reply privately to author options while sharing the details.

If you referring to Google Ads Script API, you can raiser concern here.

Thanks,
Nirmita Patel Google Ads Team

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