Dear, team. We are using GoogleAdsApi node module.
When request 1) query and 2) query call, 2) query result is error. At Korean time (2023-02-04 04:18:46) But now(2023-02-06 18:30:00) request 3) query result is not error. 2023-02-04 03:00 ~ 2023-02-04 05:00 There have been many things like this. Google Api ihas a problem that time? Or We have anithing wrong? Please check and reply. Thank you, have a nice day. ================================================================= Input params is same. {"customerId": "1492845537", "startDate": "2022-06-01", "endDate": "2022-06-30"} ================================================================= 1) query (2023-02-04 04:18:46) let campaignAndMetrics = ` SELECT campaign.advertising_channel_sub_type, campaign.advertising_channel_type, campaign.id, campaign.name, customer.descriptive_name, metrics.cost_micros FROM campaign WHERE segments.date BETWEEN '`+ data.startDate + `' AND '` + data.endDate + `' AND metrics.cost_micros > 0 `; - result [{"campaign":{"advertising_channel_sub_type":0,"advertising_channel_type":3,"id":16564692477,"name":"220316_빌리브 디 에이블_mGDN","resource_name":"customers/1492845537/campaigns/16564692477"},"customer":{"descriptive_name":"191030_신세계 빌리브_GDN,mGDN(엔앤피)","resource_name":"customers/1492845537"},"metrics":{"cost_micros":805604898001}}.... ================================================================= 2) query (2023-02-04 04:18:46) let adGroupAdQuery = ` SELECT ad_group_ad.ad.id, metrics.cost_micros, campaign.id, segments.ad_network_type, ad_group_ad.ad.type FROM ad_group_ad WHERE segments.ad_network_type IN ( CONTENT, MIXED ) AND segments.date BETWEEN '`+ data.startDate + `' AND '` + data.endDate + `' `; let geographic_view = ` SELECT campaign.id, geographic_view.country_criterion_id, geographic_view.location_type, geographic_view.resource_name, metrics.cost_micros FROM geographic_view WHERE geographic_view.location_type = LOCATION_OF_PRESENCE AND segments.date BETWEEN '`+ data.startDate + `' AND '` + data.endDate + `' `; let adGroupAdAsset = ` SELECT ad_group_ad_asset_view.ad_group_ad, ad_group_ad_asset_view.asset, ad_group_ad_asset_view.field_type, campaign.id, metrics.cost_micros FROM ad_group_ad_asset_view WHERE metrics.cost_micros > 0 AND segments.date between '`+ data.startDate + `' and '` + data.endDate + `'`; - response response.adGroupAd = await customer.query(adGroupAdQuery); response.geo = await customer.query(geographic_view); response.adGroupAdAsset = await customer.query(adGroupAdAsset); - result {"errors":[{"error_code":{"authorization_error":"CUSTOMER_NOT_ENABLED"},"message":"The customer account can't be accessed because it is not yet enabled or has been deactivated."}],"request_id":"3uihtMQHWbUyQ2_gnGkQUQ"} ================================================================= 3) query is same 2) query. ((2023-02-06 18:30:00)) - response response.adGroupAd = await customer.query(adGroupAdQuery); response.geo = await customer.query(geographic_view); response.adGroupAdAsset = await customer.query(adGroupAdAsset); - result {"adGroupAd":[{"ad_group_ad":{"ad":{"id":598010639453,"type":14,"resource_name":"customers/1492845537/ads/598010639453"},"resource_name":"customers/1492845537/adGroupAds/138174924367~598010639453"},"metrics":{"cost_micros":159405720},"campaign":{"id":16564692477,"resource_name":"customers/1492845537/campaigns/16564692477"},"segments":{"ad_network_type":4}},... ================================================================= -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/9c7640ee-d7b8-4252-a19a-cbc97615ccb7n%40googlegroups.com.