I'm trying to get a list of the conversion actions of a customer client,
but it always returns empty.
On the other hand, if I make the same query using the id of the manager
account, the query returns the list of conversion actions of that manager
account.
This is the query I'm using with the php library
$query = 'SELECT customer.id, customer.descriptive_name,
conversion_action.app_id,
conversion_action.attribution_model_settings.attribution_model,
conversion_action.attribution_model_settings.data_driven_model_status,
conversion_action.category,
conversion_action.click_through_lookback_window_days,
conversion_action.counting_type,
conversion_action.id,
conversion_action.include_in_conversions_metric,
conversion_action.name,
conversion_action.owner_customer,
conversion_action.phone_call_duration_seconds,
conversion_action.resource_name,
conversion_action.status,
conversion_action.tag_snippets,
conversion_action.type,
conversion_action.value_settings.always_use_default_value,
conversion_action.value_settings.default_currency_code,
conversion_action.value_settings.default_value,
conversion_action.view_through_lookback_window_days
FROM conversion_action';
return $this->getGoogleAdsServiceClient()->search(
*'customer_client_id'*,
$query,
['pageSize' => null]
);
Is there something that is not correct?
Thanks for your help.
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/d9ea87f7-afa9-4cfb-bb1e-f09607726910%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.