Hello Bharani,

This is my clientCustomerId: 903-686-0485 
So I tried with my MCC: 551-497-3203 but it not works

This is a log generated from a PHP Library: 19.0.0 I also try with 25.0.0 
version:

POST /api/adwords/reportdownload/v201705 HTTP/1.1
Host: adwords.google.com
User-Agent:  (AwApi-PHP/19.0.0, Common-PHP/19.0.0, PHP/5.6.19, 
ReportDownloader/file)
Accept: */*
Accept-Encoding: gzip
Authorization: ****
developerToken: NiQifqf3
clientCustomerId: 903-686-0485
Content-Length: 717
Expect: 100-continue
Content-Type: multipart/form-data; 
boundary=------------------------06e0a804f0537787

Parameters:
__rdxml: <?xml version="1.0" encoding="UTF-8"?>
<reportDefinition><selector><fields>CampaignId</fields><fields>AdGroupId</fields><fields>Id</fields><fields>Criteria</fields><fields>CriteriaType</fields><fields>Impressions</fields><fields>Clicks</fields><fields>Cost</fields><predicates><field>Status</field><operator>NOT_IN</operator><values>DELETED</values></predicates></selector><reportName>Criteria
 
performance report 
#01</reportName><reportType>CRITERIA_PERFORMANCE_REPORT</reportType><dateRangeType>ALL_TIME</dateRangeType><downloadFormat>CSV</downloadFormat></reportDefinition>

Response Code: 400
Error Message: Report download failed. Underlying errors are 
Type = 'AuthenticationError.NOT_ADS_USER', Trigger = '<null>', FieldPath = 
''. 


I tried with this request from this 
link: 
https://developers.google.com/adwords/api/docs/guides/reporting#complete_example
 
setting credentials but return other error:

POST /api/adwords/reportdownload/v201708 HTTP/1.1
Host: adwords.google.com
User-Agent: curl, gzip
Accept: /
Accept-Encoding: gzip
Authorization: Bearer ***
developerToken: NiQifq
clientCustomerId: 903-686-0485
Content-Length: 784
Expect: 100-continue
Content-Type: multipart/form-data; 
boundary=------------------------12d01fae60c7b559
 
Parameters:
__rdxml: &lt;?xml version="1.0" encoding="UTF-8"?&gt;
<reportDefinition xmlns="https://adwords.google.com/api/adwords/cm/v201708";>
  <selector>
    <fields>CampaignId</fields>
    <fields>AdGroupId</fields>
    <fields>Impressions</fields>
    <fields>Clicks</fields>
    <fields>Cost</fields>
    <predicates>
      <field>AdGroupStatus</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>CSV</downloadFormat>
</reportDefinition>

Return the next error:

<?xml version="1.0" encoding="UTF-8" 
standalone="yes"?><reportDownloadError><ApiError><type>ReportDownloadError.MISSING_PARAMETER</type><trigger>Missing
 
report 
definition</trigger><fieldPath></fieldPath></ApiError><ApiError><type>ReportDownloadError.INVALID_PARAMETER</type><trigger>Missing
 
client 
information</trigger><fieldPath></fieldPath></ApiError></reportDownloadError>


Thank you for helping me.


On Monday, September 11, 2017 at 12:21:10 PM UTC-5, Bharani Cherukuri 
(AdWords API Team) wrote:
>
> Hello Carlos, 
>
> Could you provide us the clientCustomerId 
> <https://developers.google.com/adwords/api/docs/guides/call-structure> of 
> the AdWords client account along with the complete SOAP request and 
> response logs for the recent try so I can take a look? You can respond via 
> *Reply 
> privately to author* option.
>
> Thanks,
> Bharani, AdWords API Team
>
> On Thursday, September 7, 2017 at 5:04:56 AM UTC-4, Carlos Casasola wrote:
>>
>> Hi,
>>
>> I configured my MCC and linked a AdWords account,
>> I get my developer Token, the client ID, client Secret and refresh Token 
>> with the MCC.
>>
>> When I call to API using the PHP library googleads-php-lib": "19.0.0" 
>> return the next error: 
>>
>>  Type = 'AuthenticationError.NOT_ADS_USER', Trigger = '<null>', FieldPath 
>> = ''. 
>>
>> I try use the MCC client ID and the google adwords ID in the request but 
>> not working.
>> Why google errors says: "The login used to generate the access token is 
>> not associated with any AdWords account."? if there is an associated 
>> adwords account
>> .
>> Could anyone help me, please?
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/37278b28-d802-4419-b2f1-67ad21221a98%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to