Thank you. So I was using the wrong library, that's why It wasn't working.
I'm now using the code you suggested, and i successfully ran the example to get the campaigns from https://github.com/googleads/google-ads-php. Unfortunately when I run an UploadOfflineConversation, i can't pass the following partial error. Intially, I ran *php .\examples\Remarketing\AddConversionAction.php --customerId XXXX* which returned *New conversion action added with resource name: 'customers/XXXX/conversionActions/AAAA'* Then I ran *php .\examples\Remarketing\UploadOfflineConversion.php --customerId XXXX --conversionActionId AAAA --gclid gclid123 --conversionDateTime '2021-01-01 12:32:45-08:00' --conversionValue 1.0 --conversionCustomVariableId customVarId1 --conversionCustomVariableValue customVarValue1* which returns *[2021-06-02T05:27:10.506647+00:00] google-ads.INFO: Request made: Host: "googleads.googleapis.com", Method: "/google.ads.googleads.v7.services.ConversionUploadService/UploadClickConversions", CustomerId: XXXX, RequestId: "elftztJ9gLLJYppP-fzkyg", IsFault: 0, FaultMessage: "None"* *Partial failures occurred: 'Resource name 'customers/XXXX/conversionCustomVariables/customVarId1' is malformed: expected 'customers/{customer_id}/conversionCustomVariables/{ConversionCustomVariable.conversion_custom_variable_id}'., at conversions[0].custom_variables[0].conversion_custom_variable'.* I don't really want to use "*conversionCustomVariableId" *or " *conversionCustomVariableValue" * but they are required parameters, so I'm lost. I looked in Google Ads interface without finding any clue. I know this issue is not related to the title anymore, but since I'm still not able to complete my OfflineConversion, I thought I will add in this topic. Thank you by advance. Cheers Denis Le mercredi 2 juin 2021 à 05:41:31 UTC+10, adsapiforumadvisor a écrit : > Hi Denis, > > The AdWords API is no longer available for new users > <https://developers.devsite.corp.google.com/adwords/api/docs/guides/signup>. > Please use the new Google Ads API. > > Can you please confirm if you have had any specific issues with using the > Ads API with your developer token? If you're having trouble getting > started > <https://developers.google.com/google-ads/api/docs/first-call/overview>, > can you let us know what stage you are currently at? > > Regards, > > Matt > Google Ads API Team > > [image: Google Logo] > Matt > Google Ads API Team > > > ref:_00D1U1174p._5004Q2HCemA:ref > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/aea9eb45-ce42-4224-82bf-de85314b7251n%40googlegroups.com.
