<?xml version="1.0" encoding="UTF-8" standalone="yes"?><reportDownloadError><ApiError><type>ReportInfoError.INVALID_USER_ID_IN_HEADER</type><trigger></trigger><fieldPath>selector</fieldPath></ApiError></reportDownloadError>
Searching for the INVALID_USER_ID_IN_HEADER<https://developers.google.com/search/results?q=INVALID_USER_ID_IN_HEADER&p=%2Fadwords%2Fapi> error code gives "No documents found". Weird! This is the report definition: <reportDefinition xmlns="https://adwords.google.com/api/adwords/cm/v201402"> <selector> <fields>CampaignId</fields> <fields>Id</fields> <fields>Impressions</fields> <fields>Clicks</fields> <fields>Cost</fields> <predicates> <field>Status</field> <operator>IN</operator> <values>ENABLED</values> <values>PAUSED</values> </predicates> </selector> <reportName>Custom Adgroup Performance Report</reportName> <reportType>ADGROUP_PERFORMANCE_REPORT</reportType> <dateRangeType>LAST_7_DAYS</dateRangeType> <downloadFormat>TSV</downloadFormat> </reportDefinition> The items put in the HTTP header (anonymized and listed here in JSON format) {"Authorization":"ya29.1.xxxg","developerToken":"xxxx_XXXX","clientCustomerId":"9999999999","Content- type":"application/x-www-form-urlencoded"} *Oh No!!!*Just realized that I've forgotten the "Bearer " before the access_token. Now it works! Nevertheless, updating the Adwords documentation would be helpful in case someone else has this problem. With some embarrassment, Bruce M. Axtens -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords 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 Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
