google ads api asset interface problem

26 views
Skip to first unread message

dongfu li

unread,
Jun 13, 2023, 1:51:11 AM6/13/23
to Google Ads API and AdWords API Forum
When I was tuning the Google ads API asset interface, there were two status asset.policy_summary.approval_status and asset.policy_summary.review_status, I returned almost 1 million data without passing any conditions. When I added these two conditions and set all the parameters that met these two conditions (theoretically and without setting conditions), only 270000 data was returned. I would like to ask, what is the difference between setting these two status conditions and not setting them?


What is the difference between these two states?

Here is the CURL I requested:

curl --location 'https://googleads.googleapis.com/v12/customers/9771146xxx/googleAds:search' \
--header 'Content-Type: application/json' \
--data '{
    "query": "SELECT customer.id, asset.id, asset.image_asset.file_size FROM asset where asset.policy_summary.approval_status IN ('APPROVED', 'APPROVED_LIMITED', 'AREA_OF_INTEREST_ONLY', 'DISAPPROVED', 'UNKNOWN') and asset.policy_summary.review_status IN ('ELIGIBLE_MAY_SERVE', 'REVIEWED', 'REVIEW_IN_PROGRESS', 'UNDER_APPEAL', 'UNKNOWN') ",
    "pageSize": 1000
}'


curl --location 'https://googleads.googleapis.com/v12/customers/9771146xxx/googleAds:search' \
--header 'Content-Type: application/json' \
--data '{
    "query": "SELECT customer.id, asset.id, asset.image_asset.file_size FROM asset ",
    "pageSize": 1000
}'

thanks
Reply all
Reply to author
Forward
0 new messages