Hi Luong,
Thanks for reaching out to the Google Ads API Support.
Kindly see below responses to your queries:
1. Campaign Asset
I tried to query with condition `campaign_asset.field_type IN ('MARKETING_IMAGE', 'PORTRAIT_MARKETING_IMAGE', 'SQUARE_MARKETING_IMAGE')` but could not get the image extension
>> Could you please confirm if the above campaign asset types indeed exist in your client account along with approval status? If so, you may provide us complete logs in the format of request and response logs, request-id along with complete Ads UI screenshot showing on UI. so we can impersonate your report on our end to investigate.
2. Extension Feed Item
With Extension Feed Item, I could get the ID of the image extension. However, there is no Approval status. Mapping the ID here with what I can find in Campaign Asset does not help. It always returns UNSPECIFIED
>> You may provide the complete logs for this concern as well where you are unable to get the Approval status and returns UNSPECIFIED, so that we can check on our end.
3. Asset:
I can get the asset and URLs of the image but no Approval Status
>> If you’re unable to fetch the asset.policy_summary.approval_status, then we can check this as well once we receive the logs as requested for question#1.
Kindly you may reply privately to the option to send us in order to avoid posting sensitive details publicly.
Regards,
|
||||||
I tried to query with condition `campaign_asset.field_type IN ('MARKETING_IMAGE', 'PORTRAIT_MARKETING_IMAGE', 'SQUARE_MARKETING_IMAGE')` but could not get the image extension
>> Could you please confirm if the above campaign asset types indeed exist in your client account along with approval status? If so, you may provide us complete logs in the format of request and response logs, request-id along with complete Ads UI screenshot showing on UI. so we can impersonate your report on our end to investigate.
Here is the log and the screenshot:
Method: /google.ads.googleads.v11.services.GoogleAdsService/SearchStream
Host: googleads.googleapis.com
Headers: {
"developer-token": "REDACTED",
"login-customer-id": "1616016053",
"x-goog-api-client": "gl-python/3.7.0 grpc/1.47.0 gax/2.8.2 gccl/17.0.0",
"x-goog-request-params": "customer_id=4466952953"
}
Request: customer_id: "4466952953"
query: "SELECT campaign_asset.campaign, campaign_asset.asset, campaign.status, asset.resource_name, campaign.name, asset.policy_summary.approval_status FROM campaign_asset WHERE campaign_asset.field_type IN (\'MARKETING_IMAGE\', \'PORTRAIT_MARKETING_IMAGE\', \'SQUARE_MARKETING_IMAGE\') AND campaign.status = \'ENABLED\' AND campaign_asset.status = \'ENABLED\'"
Response
-------
Headers: {
"request-id": "PqjI0V8xFdTISDJr6269ZA"
}
Response: None
[2022-07-04 13:35:23,093 - INFO] Request made: ClientCustomerId: 4466952953, Host: googleads.googleapis.com, Method: /google.ads.googleads.v11.services.GoogleAdsService/SearchStream, RequestId: PqjI0V8xFdTISDJr6269ZA, IsFault: False, FaultMessage: None
Hi Aaron,
Thank you for your response. I hope you are doing well today.
To further investigate the issue and to answer your question, could you confirm if your extension is asset-based or feed-based? If asset-based, then the appropriate report types that you can use are following depending on what level (customer, campaign and ad group) that extensions are associated with:
These report types should return the image extensions with status.
Also, if it is feed-based, then the appropriate report that you can use is feed_item. This report type should also return the image extensions with status.
In an event that the information has still not been returned using those suggested report types, then please provide the complete Ads API logs (request and response with request-id) so our team further investigates this issue and gives guidance on this?
Regards,
|
||||||