Hello
We have multiple customer IDs, and we have a history of GclIds
We need to find a way to map each GclId to its customer ID
The only way we found so far is to use CLICK_PERFORMANCE_REPORT by looping through customer IDs for each GclId until we find the result is not empty.
So, if we have 100 GclId, and 5 customer IDs, we will have 5 API requests at maximum for each GclId to determine its customer ID.
adwords.config.set("authentication.client_customer_id", "xxxx")
report_query_builder = adwords.report_query_builder do |b|
b.select(*%w[GclId ExternalCustomerId CampaignId AdGroupId])
b.from('CLICK_PERFORMANCE_REPORT')
b.where('GclId').equal_to("'xxxx'")
Isn't there any better way to handle this situation?