How to get full clicks and costs for a PMax campaign?

2022-06-30 Thread 'Roy Roes' via Google Ads API and AdWords API Forum
For example: In Google Ads for a PMax campaign on 14-06-2022 we have: 2.124 clicks and 926,71 EUR costs. When we get the clicks and costs for the campaign with Google ADS API for that date we get: 2.037 clicks and 877,22 EUR costs. We use the following query: SELECT metrics.clicks, metrics.aver

Re: error invalid_grant OAUTH2

2013-07-25 Thread Roy Roes
Solved it myself. When I run GetRefreshToken.php I get an url to validate my account for the app. There I get a token. I insert the token directly in the code ($code) of GetRefreshToken.php and than I get the refresh token for OAuth2. When I put the refreshtoken in the auth.ini...all works fin

error invalid_grant OAUTH2

2013-07-24 Thread Roy Roes
from https://code.google.com/apis/console#access using my MMC account. The developerToken is also from the MMC account. What am I doing wrong? Best regards, Roy Roes -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwo

API Migration questions

2012-10-30 Thread Roy Roes
Hi, I have some problems understanding the API migration to v201206 I'm currently using v201109_1 with a PHP client library I've read the guide: https://developers.google.com/adwords/api/docs/guides/migration-v201206 Now I'm not sure what to migrate. Do I need a need a new PHP client library

Re: AddAdGroups.php gives error

2012-06-20 Thread Roy Roes
Is there a workaround? Because installing another php version on the server isn''t really an option. -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~

Re: AddAdGroups.php gives error

2012-06-20 Thread Roy Roes
I think I found something here: http://code.google.com/p/google-api-adwords-php/wiki/PhpCompatibility But this isn''t ginving any solution other than using another php version. -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi

Re: AddAdGroups.php gives error

2012-06-20 Thread Roy Roes
Hi, When I run the script in command prompt I get the following error: ALERT - canary mismatch on efree() - heap overflow detected (attacker 'REMOTE_ADDR not set', file '/home/httpd/vhosts/mydomain.nl/httpdocs/aw_api/Google/Api/Ads/Common/Lib/AdsSoapClient.php', line 201) Is that the err

Re: AddAdGroups.php gives error

2012-06-19 Thread Roy Roes
Hi, Nope, can't catch the Exception (see my previous post)... I tried $user->LogAll() But nothing in the log files. So I'm stuck right now... -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.goog

Re: AddAdGroups.php gives error

2012-06-15 Thread Roy Roes
Hi, I try to catch the Exception like this: try { $result = $adGroupService->mutate($operations); } catch (Exception $e) { printf("An error has occurred: %s\n", $e->getMessage()); } But no exception is catched... I can output anything before the line $result = $adGroupService->muta

Re: AddAdGroups.php gives error

2012-06-14 Thread Roy Roes
Hi, Added the error handling around the mutate call as you suggested, but without any result. It didn't catch any error. I still get the following error in Chrome: Error 324 (net::ERR_EMPTY_RESPONSE) -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion

Re: AddAdGroups.php gives error

2012-06-12 Thread Roy Roes
Hi Kevin, I enabled logging and used the LogAll function, but nothing is logged. Even the SOAP request isn't logged. I've also tested the log with the AddCampaign.php and that's working fine. So the log is configured properly. -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us o

AddAdGroups.php gives error

2012-06-08 Thread Roy Roes
I'm testing the Adwords API in the sandbox. When I try to add AdGroups to a campaign with the AddAdGroups.php from the PHP client library, I get the following error in Chrome: Error 324 (net::ERR_EMPTY_RESPONSE) With a bit of debugging the line causing the error: $result = $adGroupService

Re: API developer token taking crazy long

2012-05-18 Thread Roy Roes
Hi Kevin, Would be great if you can speed up things for us too! Customer ID: 522-467-9622 Thank you for your help! -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=