Hi,

I have an ads account where I run google app campaigns for our android app. 
I created an admin account so i can run a google ads api script. I run the 
following script:

function main() {
    const spreadsheet = SpreadsheetApp.create('GCLID Report');
    const report = AdsApp.report(`SELECT click_view.gclid, segments.date, 
customer.id, ad_group.id,campaign.id FROM click_view WHERE segments.date = 
'2023-10-15'`);
    report.exportToSheet(spreadsheet.getActiveSheet());  
}

When i view "GCLID Report" in my Google Sheets, it has one row for the 
headers but the there is no other row. So I get no data back. I'm trying to 
understand what could be the reason. Some things I can think of: 
1) I created a "manager account" and ran the script from this account 
(because i need a manager account to reach the script page) but I don't run 
the ads from this account. I run the ads from a non manager account. Both 
are in the same email
2) I applied for developer access token and have test token for now. Do I 
need to wait?
3) This is a mobile app campaign. Can I get gclid data for this campaign 
using clickview data?

Thank you


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/0c02b208-3809-4866-9696-0844b3a44147n%40googlegroups.com.
  • Ge... Tim J
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to