Hi,
I am running a very basic script to get all the campaigns, however, the
script is only giving me 44 campaigns and all of them are paused. I am not
able to figure out why. For context, my account has 258 campaigns of which
45 are actives. The script is not even giving us all paused campaigns, it
is just showing some paused campaigns. I tried running it on multiple
accounts, but it does not work.
function main() {
var campaignIterator = AdWordsApp.campaigns().get();
Logger.log('Total campaigns found : ' +
campaignIterator.totalNumEntities());
while (campaignIterator.hasNext()) {
var campaign = campaignIterator.next();
Logger.log(campaign.getName());
}
}
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
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/346c1596-539b-47fb-854d-a9ab13887c5c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.