Hello everyone,
First here is some context on what I am trying to do.
I have several accounts (we'll call them children accounts) managed by several MCC accounts (parents accounts), themselves managed by a MCC account (grandparent account).
I am currently using a script to make bulk changes to my children accounts : it creates a bulk upload CSV, fills it with informations from a Gsheet, and upload the changes to Google Ads.
(The changes are changes to the maximum CPC of certain keywords, hence the columns of the CSV)
function localBulkUpload(){
var columns = ["Campaign", "Campaign ID", "Ad group", "Ad group ID", "Keyword", "Keyword ID", "Match type", "Max. CPC", "Action" ] ;
var upload = AdsApp.bulkUploads().newCsvUpload(columns) ;
[...] Fills the CSV with the list of changes [...]
upload.forCampaignManagement();
upload.preview();
}
This script is "local" : I have a version of it for each children account, eventhought they all get their changes from the same GSheet.
It works perfectly, here we can see a bunch of changes I could upload for a given account.
I am now trying to have only one version of this script, that I would run from the Grandparent MCC account.
It would only change one account at a time.
Here is how I did it :
function globalBulkUpload(){
var accountName = "name_of_the_account_I_want_changed" ;
var accountSelector = AdsManagerApp.accounts().withCondition("AccountDescriptiveName = '" + accountName + "'") ;
accountSelector.executeInParallel('localBulkUpload') ;
}
Where localBulkUpload is the same function I use in my children accounts scripts.
This seems to work at first. The script finishes and I don't get any error.
However when I go check the changes in the "All bulk actions" section here is what I see :
"No changes" instead of the same "36 valid changes" it should be (I used the same information to change the CPCs).
I don't see a problem in my method, so I don't understand why it doesn't work.
I have standard access to the grandparetn MCC account, and Admin access to the children accounts.
Can you help me with this problem ?
Regards,
Mathis