Re: Not able to see my campaigns from my PHP script

2013-11-05 Thread Anash P. Oommen (AdWords API Team)
Hi,

Here's a code example that you could use to cross-check against your code: 
https://code.google.com/p/google-api-adwords-php/source/browse/examples/AdWords/v201309/BasicOperations/GetCampaigns.php

If your code is correct, then the next place to look for would be in your 
auth.ini. The clientCustomerId key in this file should contain an 
Advertiser account's customer id, and it should contain some campaigns,

Cheers, Anash P. Oommen, AdWords API Advisor.

On Monday, November 4, 2013 2:04:29 AM UTC-5, Anca Suciu wrote:
>
> **php version v5.3.2-1ubuntu4.5
> I have extended one of the tests available in the Google Adwords PHP Library 
> - AdWordsIntegrationTest.php 
> and I just want to see the list of my campaigns. 
> I was expecting to see all the campaigns from the adwords account and this 
> list is not empty. 
> However, the result got with my script is an empty list.
> This is how the returned data looks like:
> CampaignPage Object ( [entries] => [totalNumEntries] => 0 [PageType] => 
> CampaignPage [_parameterMap:Page:private] => Array ( [Page.Type] => PageType 
> ) )
>
> Do you have any idea what am I doing wrong?
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
For more options, visit https://groups.google.com/groups/opt_out.


Not able to see my campaigns from my PHP script

2013-11-05 Thread Anca Suciu


**php version v5.3.2-1ubuntu4.5
I have extended one of the tests available in the Google Adwords PHP Library - 
AdWordsIntegrationTest.php 
and I just want to see the list of my campaigns. 
I was expecting to see all the campaigns from the adwords account and this list 
is not empty. 
However, the result got with my script is an empty list.
This is how the returned data looks like:
CampaignPage Object ( [entries] => [totalNumEntries] => 0 [PageType] => 
CampaignPage [_parameterMap:Page:private] => Array ( [Page.Type] => PageType ) )

Do you have any idea what am I doing wrong?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
For more options, visit https://groups.google.com/groups/opt_out.