Disapproved Image Assets

2023-06-28 Thread Lewis C
Hi,

This query doesn't populate any results for Image Assets.

SELECT asset.id, asset.image_asset.full_size.url, asset.name, 
asset.resource_name, asset.source, asset.type, 
asset.policy_summary.approval_status, 
asset.policy_summary.policy_topic_entries, 
asset.policy_summary.review_status 
FROM asset 
WHERE asset.policy_summary.approval_status = "DISAPPROVED"

When I remove the qualification in the where clause it returns Image Assets 
but the asset.policy_summary.approval_status is not populated for those 
Assets.

I've tested this against an account with disapproved image assets. How can 
I get disapproved image assets via the API?

Regards,

Lewis



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/49ccf1e3-02f2-4a38-b336-82d1476f4518n%40googlegroups.com.


API optimization score != Front end optimization score

2021-03-04 Thread Lewis C
Hi,

Google::Ads::GoogleAds::DEFAULT_API_VERSION == :V6
Ruby Gem google-ads-googleads (9.0.0)

SELECT customer.currency_code, customer.descriptive_name, customer.id, 
customer.manager, customer.optimization_score, customer.resource_name, 
metrics.clicks, metrics.cost_micros 
FROM customer 
WHERE segments.date DURING LAST_30_DAYS  AND  segments.date BETWEEN 
'2021-02-01' AND '2021-03-03' 

OptiScore in the front end = 84.6%
OptiScore from the API = 0.0

:customer=>
  {:resource_name=>"customers/REDACTED",
   :id=>REDACTED,
   :descriptive_name=>"REDACTED",
   :currency_code=>"EUR",
   :time_zone=>"",
   :tracking_url_template=>"",
   :final_url_suffix=>"",
   :auto_tagging_enabled=>false,
   :has_partners_badge=>false,
   :manager=>false,
   :test_account=>false,
   :call_reporting_setting=>nil,
   :conversion_tracking_setting=>nil,
   :remarketing_setting=>nil,
   :pay_per_conversion_eligibility_failure_reasons=>[],
  * :optimization_score=>0.0,*
   :optimization_score_weight=>0.0},


I have the CID of the account. Please let me know what more information you 
need.

Regards,

Lewis

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads 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/2ed0bea2-98c6-4006-b023-994e8a278e19n%40googlegroups.com.


Re: USER_PERMISSION_DENIED,User doesn't have permission to access customer,"errorCode": { "authorizationError": "USER_PERMISSION_DENIED"

2021-02-23 Thread Lewis C
Hi Xiaoming,

I'm having the same issue as Austin. Your response doesn't explain why the 
error would occur. 

The code pulls account IDs that the user has access to e.g.
client.service.customer.list_accessible_customers().resource_names

It then trys to pull information about each account to build the hierarchy. 
Why would it say "grpc_message":"The caller does not have 
permission","grpc_status":7" if it's only accessing information about an 
account the API has said you have access to?

Regards,

Lewis


On Thursday, 11 February 2021 at 17:09:27 UTC adsapiforumadvisor wrote:

> Hi Austin,
>
> Thank you for reaching out. This code example would go through the account 
> hierarchy and print them out. If you don’t specify the managerId, then the 
> direct accounts under the authenticated manager would be fetched first to 
> build the hierarchy. Otherwise, if you specify the managerId to query on 
> then you have to specify the loginCustomerId as well. You could read 
> through the comments 
> 
>  
> in the code to better understand how the code works.
>
> Thanks and regards,
> Xiaoming, Google Ads API Team
>  
> [image: Google Logo] 
> Xiaoming 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2CPk7n:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads 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/88243ad4-6073-4756-95c0-1cc5b83f4708n%40googlegroups.com.