Hi,
I tried to get asset-level report using AdGroupAdAssetView resource, but 
got error stating that the resource is unrecognised:


[2019-07-16 07:36:50] google-ads.INFO: Request made: Host: 
"googleads.googleapis.com", Method: 
"/google.ads.googleads.v1.services.GoogleAdsService/Search", ClientCustomerId: 
2944805093, RequestId: "PkxqlrB_TZD0a1Vl28ZDvQ", IsFault: 0, FaultMessage: 
"None"  
[2019-07-16 07:36:51] google-ads.INFO: Request made: Host: 
"googleads.googleapis.com", Method: 
"/google.ads.googleads.v1.services.GoogleAdsService/Search", ClientCustomerId: 
2944805093, RequestId: "qq6MEPeQVhDU6ki1aaRHuA", IsFault: 0, FaultMessage: 
"None"  
[2019-07-16 07:36:52] google-ads.WARNING: Request made: Host: 
"googleads.googleapis.com", Method: 
"/google.ads.googleads.v1.services.GoogleAdsService/Search", ClientCustomerId: 
2944805093, RequestId: "QHLQsZCDT3K7ip_poJzmDQ", IsFault: 1, FaultMessage: 
"["Error in ad_group_ad_asset_view:  is not a valid resource name."]"  
[2019-07-16 07:36:52] google-ads.NOTICE: Request
-------
Method Name: /google.ads.googleads.v1.services.GoogleAdsService/Search
Host: googleads.googleapis.com
Headers: {
    "x-goog-api-client": "gl-php\/7.1.23 gapic\/ gax\/0.38.2 grpc\/1.20.0",
    "x-goog-request-params": "customer_id=2944805093",
    "developer-token": "REDACTED",
    "login-customer-id": "6330691878"
}
Request: {"customerId":"2944805093","query":" SELECT 
segments.date,asset.id,metrics.cost_micros,metrics.clicks,metrics.impressions,metrics.conversions
 FROM ad_group_ad_asset_view WHERE segments.date >=  '20190222'  AND 
segments.date <=  '20190222' "}

Response
-------
Headers: {
    "request-id": "QHLQsZCDT3K7ip_poJzmDQ",
    "date": "Tue, 16 Jul 2019 07:36:52 GMT",
    "alt-svc": "quic=\":443\"; ma=2592000; v=\"46,43,39\""
}

Fault
-------
Status code: 3
Details: Request contains an invalid argument.
Failure: 
{"errors":[{"errorCode":{"queryError":"BAD_RESOURCE_TYPE_IN_FROM_CLAUSE"},"message":"Error
 in ad_group_ad_asset_view:  is not a valid resource name."}]} 

 Please advise.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/96794c90-2663-439c-8c95-0ffc392296a6%40googlegroups.com.

Reply via email to