curl --location 
'https://googleads.googleapis.com/v17/customers/7571879790/googleAds:search' 
\
--header 'Content-Type: application/json' \
--header 'developer-token: 0-4PjaUzBnyeiqsEkhbpgg' \
--header 'login-customer-id: 8663393180' \
--header 'Authorization: Bearer 
ya29.a0AeDClZADxsi4bUX3N13Zkia7teAnxXP8AWWLTJ0oo1Ush0laIrktx3S0TyVMowKV4jDBxcC0ORxkz6YUMKvbl4fxowFs-pLSogHDmfG91w8FVsT8NDV2yR4Hna4OWfCz0BCOjtbcmtVOFSMBcnvMyFWv8iSJHyXhquohHeipycUaCgYKAYsSARMSFQHGX2MixHZe9zhyPupP6WXZWT2Lxw0178'
 
\
--data '{
"query" : "SELECT campaign.id, campaign.name, campaign.optimization_score, 
metrics.optimization_score_url, metrics.optimization_score_uplift FROM 
campaign where campaign.id = 21809558073"
}'

i used this curl to get optimization score for a campaign. and i get the 
following response :
{
"results": [
{
"campaign": {
"resourceName": "customers/7571879790/campaigns/21809558073",
"name": "Latest performance max-2",
"id": "21809558073"
},
"metrics": {
"optimizationScoreUplift": 0
}
}
],
"fieldMask": 
"campaign.id,campaign.name,campaign.optimizationScore,metrics.optimizationScoreUrl,metrics.optimizationScoreUplift"
,
"queryResourceConsumption": "736"
} kindly guide me how can i fetch optimization score for the campaign as i 
am not getting in this response although the campaign is active. 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/adwords-api/24fa3c02-b323-462c-b7f9-f1ee7b1fec17n%40googlegroups.com.

Reply via email to