Tirth Barochia
Tirth Barochia

Reputation: 11

Not getting data from Google Ads API

I follow all step of connectivity to Google Ads API. Using it I get account info like account number and time zone etc. But when I call API for campaign id or ads group at that time it return below output. In ads account (ui) I can see many campaigns.

output :

SearchPager<field_mask { paths: "campaign.id" paths: "ad_group.id"paths: "ad_group.name"}>

additionally : above output is getting in result variable and after that the for loop is not executing in image ofimage of code code

Upvotes: 0

Views: 462

Answers (1)

Tirth Barochia
Tirth Barochia

Reputation: 11

After some research I found that in code when you enter customer_id at that time it will be of manager account. and in load_from_storage non manager account developer token and that's all. Now I can fetch all data from ads account

Upvotes: 0

Related Questions