Slow aw-reporting performance after update

2018-03-06 Thread Filip Holmberg
Hi, 

Posting an issue concerning the latest version of the aw-reporting tool 
here as well. Originally posted in the aw-reporting github issue 
section.but maybe someone can help here as well since this is critical and 
needs to be solved somehow before the next api sunset.

--- 

We have been using your tool for years with the same settings without any 
major issues. Updated the tool to the latest 2.3.0 now and experiencing 
some serious performance issues with our largest reports. 

We keep up-to-date detailed data of our keywords for 65 days resulting in a 
total of 10+ milloin rows. Up to now that query has taken about 4 hours to 
complete when refetching all the data after updating the tool. However now 
after this update the report downloading slows down after a while and gets 
jammed at around 1,5 million rows updating only a few hundred rows per 
minute. At the beginning of the process the download speed is around 60 000 
rows per minute. 

Any ideas how we can solve this critical issue? I have tried restarting the 
whole process from scratch now twice so that does not seem to work. Please 
help!

Report properties
`KEYWORDS_PERFORMANCE_REPORT=ExternalCustomerId,Date,CampaignName,CpcBid,Cost,Clicks,Impressions,Conversions,Ctr,AverageCpm,AverageCpc,AveragePosition,AccountCurrencyCode,Id,QualityScore,KeywordMatchType,CriteriaDestinationUrl,AdGroupId,CampaignId,Status,IsNegative,FirstPageCpc,TopOfPageCpc,MaxCpc,Labels,Criteria,SearchImpressionShare`

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d4c6034d-8c1d-42c9-befb-338210f14754%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Unsupported DateRange type: ALL_TIME

2017-09-27 Thread Filip Holmberg
This is probably a aw-reporting related issue only but since we're in a 
hurry to get it solved I'll try to post here as well...

"Preparing our update to v201708 but receive a "Unsupported DateRange type: 
ALL_TIME" message when trying to fetch all time data as we always have done.
java -Xmx1G -jar reportfetcher.jar -accountIdsFile test.txt -file 
test.properties 
-dateRange ALL_TIME
The same command works with for example LAST_MONTH. 

Any ideas what this is caused by? What can we do? This i quite urgent since 
our current version stops working on 2.10. The aw-reporting tool is from 
yesterday so the latest version."

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/edc71ca5-c565-4300-8cef-d582750472cd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Adwords API Video campaigns

2017-02-27 Thread Filip Holmberg
Any updates on this? Still not possible to pause & activate video campaigns.

On Tuesday, 3 January 2017 21:26:28 UTC+2, Vishal Vinayak (Adwords API 
Team) wrote:
>
> Hi Elżbieta,
>
> Video campaigns are currently not supported by AdWords API services. You 
> can, however, use the Video Performance Report 
> 
>  to 
> fetch aggregated data at the video level. Campaign specific information 
> for video campaigns can be found in Campaign Performance Report 
> .
>  
> Please filter on the field AdvertisingChannelType 
> 
>  in 
> the report as follows: 
>
> AdvertisingChannelType = Video
>
> Unfortunately, I do not have more information on whether or not video 
> campaigns would be supported by CampaignService any time soon. Please 
> follow our blog  for future 
> updates regarding this feature.
>
> Regards,
> Vishal, AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/899341ab-00f7-48b2-8989-d51cd4d7000d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Adwords API Work on Video Campaigns?

2016-02-23 Thread Filip Holmberg
So whats the status one year later? I assume nothings changed? 

So just to clarify, it is not possible to pause/resume an video campaign 
thru the API at the moment?

On Tuesday, 10 February 2015 15:48:49 UTC+2, Danial Klimkin wrote:
>
> Hello Eric,
>
>
> Unfortunately no, this is still not supported. Please note we never 
> announced this functionality to be "coming soon".
>
>
> -Danial, AdWords API Team.
>
>
> On Tuesday, February 10, 2015 at 4:09:11 AM UTC+3, Eric W wrote:
>>
>> No updates on this, right? 
>>
>> In searching for this functionality (ability to pull video campaign data 
>> through the api), people have been asking if this is ready since 2012. 
>> I see a reference saying it is not available as of 2008. 
>>
>> Since it has been 7 years, maybe this can get moved up in priority?
>>
>> If I am back here in 2022 with this functionality still "coming soon", i 
>> am going back to "placing small ads in newspapers around the country"!
>> Eric
>>
>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/a04c552d-930f-47b9-b742-049002a71af7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Renamed status fields in reporting.

2015-07-03 Thread Filip Holmberg
Alright, thanks.

On Friday, 3 July 2015 12:43:28 UTC+3, Danial Klimkin wrote:
>
> Hello Filip,
>
>
> The difference here was that for Campaign and Ad Group status fields we 
> had *both* "Status" and "CampaignStatus" historically available in the 
> same report. Those were effectively the same field in campaign performance 
> report. To de-duplicate them we needed to remove one and decided to remove 
> "Status" and to keep "CampaignStatus" as more specific. Users who used 
> "CampaignStatus" field before didn't need to make any changes. Similarly, 
> with AdGroup.
>
> For Ad, there was no duplication. As such, we decided not to rename it 
> from Status to AdStatus as this will break every user with no real benefit.
>
>
> -Danial, AdWords API Team.
>
>
>
>
> On Friday, July 3, 2015 at 10:31:05 AM UTC+2, Filip Holmberg wrote:
>>
>> Could someone explain the logic behind the renamed status field in 
>> reporting. Why is campaign and adgroup status fields only renamed, not ad 
>> statuses for example? This is quite confusing so I guess I have missed 
>> something. 
>>
>> Campaign => CampaignStatus
>> AdGroup => AdGroupStatus
>> Ad => Status
>>
>> Even the docs are a bit conflicting? 
>> Grabbed from the ad performance report Status field.
>> "The status of the main object in this row. For example, in a Campaign 
>> Performance Report this will be the status of each row's Campaign. In an Ad 
>> Group Performance Report this will be the status of each row's AdGroup."
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/736df35b-42c2-4070-b4d9-0c9efb966a66%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Renamed status fields in reporting.

2015-07-03 Thread Filip Holmberg
Could someone explain the logic behind the renamed status field in 
reporting. Why is campaign and adgroup status fields only renamed, not ad 
statuses for example? This is quite confusing so I guess I have missed 
something. 

Campaign => CampaignStatus
AdGroup => AdGroupStatus
Ad => Status

Even the docs are a bit conflicting? 
Grabbed from the ad performance report Status field.
"The status of the main object in this row. For example, in a Campaign 
Performance Report this will be the status of each row's Campaign. In an Ad 
Group Performance Report this will be the status of each row's AdGroup."

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/3586101e-18e6-49ea-8056-1543b3983cf8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Keyword in deleted AdGroup still marked as enabled

2015-05-12 Thread Filip Holmberg
Is it really by design that statuses of adgroups are not reflected down to 
its keywords. When a adgroup is removed, the keywords still remains 
enabled. Just wanted to confirm this before adding multiple parent level 
status checks on our side.

Thanks,
Filip 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/7a6a0baa-d4bc-4596-a378-eeefadf50126%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Change keyword bids bases on position in v201409

2014-11-27 Thread Filip Holmberg
Ok, thanks for the confirmation. 

On Thursday, 27 November 2014 15:30:04 UTC+2, Danial Klimkin wrote:
>
> Hello Filip,
>
>
> This is exactly the approach.
>
>
> -Danial, AdWords API Team.
>
>
> On Thursday, November 27, 2014 4:28:19 PM UTC+3, Filip Holmberg wrote:
>>
>> Okey, so I got keyword bids changed individually(executed as a grouped 
>> mutate of course) by setting a individual biddingStrategyConfiguration. 
>> Might this be the best way or am I missing something here? 
>>
>>
>>
>>
>> On Thursday, 27 November 2014 12:50:32 UTC+2, Filip Holmberg wrote:
>>>
>>> Is it possible to update keywords bids individually in v201409? I got it 
>>> to work on AdGroup level but some post and docs mention that it is not 
>>> possible on a keyword level. 
>>>
>>> We would like to adjust bids based on their position. What's the best 
>>> api approach to handle this. This is handled manually from the UI and 
>>> "Automate" menu at the moment.
>>>
>>> Thanks in advance,
>>> Filip
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/fc74eb73-1804-4cc0-82e1-e78878ff8f8b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Change keyword bids bases on position in v201409

2014-11-27 Thread Filip Holmberg
Okey, so I got keyword bids changed individually(executed as a grouped 
mutate of course) by setting a individual biddingStrategyConfiguration. 
Might this be the best way or am I missing something here? 


$keywordTest = [
['keywordID' => '', 'adgroupID' => 'XX'],
['keywordID' => '', 'adgroupID' => 'XX'],
];

$TestApi = new Api(true);
$TestApi->getUser()->SetClientCustomerId('XXX-XXX-');
$CriteriaService = $TestApi->getUser()->GetService('AdGroupCriterionService');

$operations = array();
foreach($keywordTest as $keyword)
{
$adGroupCriterion= new \BiddableAdGroupCriterion();
$adGroupCriterion->adGroupId = $keyword['adgroupID'];
$adGroupCriterion->criterion = new \Criterion($keyword['keywordID']);

$bid  = new \CpcBid();
$bid->bid = new \Money(2.34 * \AdWordsConstants::MICROS_PER_DOLLAR);

$biddingStrategyConfiguration = new \BiddingStrategyConfiguration();
$biddingStrategyConfiguration->bids[] = $bid;

$adGroupCriterion->biddingStrategyConfiguration = 
$biddingStrategyConfiguration;

$operation   = new \AdGroupCriterionOperation();
$operation->operand  = $adGroupCriterion;
    $operation->operator = 'SET';

array_push($operations, $operation);
}
$CriteriaService->mutate($operations);


On Thursday, 27 November 2014 12:50:32 UTC+2, Filip Holmberg wrote:
>
> Is it possible to update keywords bids individually in v201409? I got it 
> to work on AdGroup level but some post and docs mention that it is not 
> possible on a keyword level. 
>
> We would like to adjust bids based on their position. What's the best api 
> approach to handle this. This is handled manually from the UI and 
> "Automate" menu at the moment.
>
> Thanks in advance,
> Filip
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/a9618337-96b2-44e3-bd4c-8f5cacef90fb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Change keyword bids bases on position in v201409

2014-11-27 Thread Filip Holmberg
Okey, so I got keyword bids changed individually(executed as a grouped 
mutate of course) by setting a individual biddingStrategyConfiguration. 
Might this be the best way or am I missing something here? 

$keywordTest = [
['keywordID' => '11372600', 'adgroupID' => '8941319456'],
['keywordID' => '11938331', 'adgroupID' => '8941319456'],
];

$TestApi = new Api(true);
$TestApi->getUser()->SetClientCustomerId('542-765-9912');
$CriteriaService = $TestApi->getUser()->GetService('AdGroupCriterionService');

$operations = array();
foreach($keywordTest as $keyword)
{
$adGroupCriterion= new \BiddableAdGroupCriterion();
$adGroupCriterion->adGroupId = $keyword['adgroupID'];
$adGroupCriterion->criterion = new \Criterion($keyword['keywordID']);

$bid  = new \CpcBid();
$bid->bid = new \Money(2.34 * \AdWordsConstants::MICROS_PER_DOLLAR);

$biddingStrategyConfiguration = new \BiddingStrategyConfiguration();
$biddingStrategyConfiguration->bids[] = $bid;

$adGroupCriterion->biddingStrategyConfiguration = 
$biddingStrategyConfiguration;

$operation   = new \AdGroupCriterionOperation();
$operation->operand  = $adGroupCriterion;
$operation->operator = 'SET';

array_push($operations, $operation);
}
$CriteriaService->mutate($operations);



On Thursday, 27 November 2014 12:50:32 UTC+2, Filip Holmberg wrote:
>
> Is it possible to update keywords bids individually in v201409? I got it 
> to work on AdGroup level but some post and docs mention that it is not 
> possible on a keyword level. 
>
> We would like to adjust bids based on their position. What's the best api 
> approach to handle this. This is handled manually from the UI and 
> "Automate" menu at the moment.
>
> Thanks in advance,
> Filip
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/6b7da8ec-d411-498b-bc03-a67e1d513972%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Change keyword bids bases on position in v201409

2014-11-27 Thread Filip Holmberg
Is it possible to update keywords bids individually in v201409? I got it to 
work on AdGroup level but some post and docs mention that it is not 
possible on a keyword level. 

We would like to adjust bids based on their position. What's the best api 
approach to handle this. This is handled manually from the UI and 
"Automate" menu at the moment.

Thanks in advance,
Filip

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/f76cdbd4-d4aa-42e8-b00b-e3a67d9f1af2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Getting empty string error when trying to get campaigns

2014-03-21 Thread Filip Holmberg
It indeed seems to be php version related. We are running 5.3.10 on our 
production server and locally the API works when running 5.4.10. Even 
5.3.20 seemed to work.

Would be nice to know what kind of changes google have made that causes 
this problem. Docs says that 5.2.x would be enough. 

Thanks alot Ayoub for leading us in the right direction.

- Filip

On Friday, 21 March 2014 13:02:34 UTC+2, Ayoub Khobalatte wrote:
>
> We are also having this issue. It's quite a critical one.
> We noticed that this issue happens when using PHP 5.3. All request work 
> fine when excuted with PHP 5.4. Maybe the user agent plays a role?
>
> On Friday, March 21, 2014 8:19:57 AM UTC+1, jaison@gmail.com wrote:
>>
>> Hi,
>>
>> I'm trying to fetch campaigns in a client account but I get the following 
>> error:
>>
>> Failed to load response into DOM: DOMDocument::loadXML() [
>> domdocument.loadxml]:
>>  
>> Empty string supplied as input in 
>> adwords\src\Google\Api\Ads\Common\Lib\AdsSoapClient.php on line 248
>>
>>
>> In the request_info.log I see the following:
>>
>>
>> [Mar 21 2014 07:53:15.00 - ERROR] email=XXX-XXX-XXX 
>> effectiveUser=X service=CampaignService method=get operators={} 
>> responseTime=null requestId=null operations=null units=null server=
>> adwords.google.com isFault=true faultMessage=Error Fetching http body, 
>> No Content-Length, connection closed or chunked data
>>
>>
>>
>> Please not that I'm using the PHP adwords client library.
>> Does anyone know what is causing this? The code was working as expected 
>> before, and I have made no changes.
>>
>

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


Re: Getting empty string error when trying to get campaigns

2014-03-21 Thread Filip Holmberg
Same here.  

On Friday, 21 March 2014 09:19:57 UTC+2, jaison@gmail.com wrote:
>
> Hi,
>
> I'm trying to fetch campaigns in a client account but I get the following 
> error:
>
> Failed to load response into DOM: DOMDocument::loadXML() [
> domdocument.loadxml]:
>  
> Empty string supplied as input in 
> adwords\src\Google\Api\Ads\Common\Lib\AdsSoapClient.php on line 248
>
>
> In the request_info.log I see the following:
>
>
> [Mar 21 2014 07:53:15.00 - ERROR] email=XXX-XXX-XXX 
> effectiveUser=X service=CampaignService method=get operators={} 
> responseTime=null requestId=null operations=null units=null server=
> adwords.google.com isFault=true faultMessage=Error Fetching http body, No 
> Content-Length, connection closed or chunked data
>
>
>
> Please not that I'm using the PHP adwords client library.
> Does anyone know what is causing this? The code was working as expected 
> before, and I have made no changes.
>

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


Re: Authentication problem with new app

2013-10-01 Thread Filip Holmberg
I did create a 'Installed App' but could not get it to work and receive the 
described error. I did get a refresh token now when I added a Web app and 
used that id/secret pair.

- Filip

On Tuesday, 1 October 2013 12:36:38 UTC+3, Anash P. Oommen (AdWords API 
Team) wrote:
>
> Hi Filip,
>
> Looks like you created a "Web application" on the Google API Console. For 
> installed application, there's an installed application option on the 
> Google API Console, and urn:ietf:wg:oauth:2.0:oob is a registered 
> callback url in that project.
>
> Cheers,
> Anash P. Oommen
> AdWords API Advisor
>
> On Friday, September 27, 2013 4:53:17 PM UTC+5:30, Filip Holmberg wrote:
>>
>>
>> We are building a adwords tool but we're struggling with the 
>> authentication. Our tool is just for internal use and therefore should be 
>> considered as a "installed app" I assume. So the logic should be as 
>> follows: authenticate with OAuth2.0 once and then just refresh the 
>> authentication as the application is used.
>>
>> Here is what we've done so far.
>> - Applied for API access from our MCC account (devToken is still pending)
>> - Created a test account
>> - Registered our test application in the Google API Console as 'installed 
>> application'
>>
>> When trying to authenticate using the example GetRefreshToken.php google 
>> returns "Error: redirect_uri_mismatch
>> The redirect URI in the request: urn:ietf:wg:oauth:2.0:oob did not match 
>> a registered redirect URI"
>>
>> The script is configured with the client id and secret from the API 
>> console. The production MCC developer token is used as suggested in the 
>> test account docs. 
>>
>> Are we doing something really wrong or what are we missing since the 
>> authentication fails. Seems that most of the documentation and tutorials 
>> we found uses the deprecated sandbox so haven't really found any good 
>> threads discussing similar problems.
>>
>> Appreciate any kind of help, especially since the project schedule is 
>> tight as always :) 
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.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.


Authentication problem with new app

2013-10-01 Thread Filip Holmberg

We are building a adwords tool but we're struggling with the 
authentication. Our tool is just for internal use and therefore should be 
considered as a "installed app" I assume. So the logic should be as 
follows: authenticate with OAuth2.0 once and then just refresh the 
authentication as the application is used.

Here is what we've done so far.
- Applied for API access from our MCC account (devToken is still pending)
- Created a test account
- Registered our test application in the Google API Console as 'installed 
application'

When trying to authenticate using the example GetRefreshToken.php google 
returns "Error: redirect_uri_mismatch
The redirect URI in the request: urn:ietf:wg:oauth:2.0:oob did not match a 
registered redirect URI"

The script is configured with the client id and secret from the API 
console. The production MCC developer token is used as suggested in the 
test account docs. 

Are we doing something really wrong or what are we missing since the 
authentication fails. Seems that most of the documentation and tutorials we 
found uses the deprecated sandbox so haven't really found any good threads 
discussing similar problems.

Appreciate any kind of help, especially since the project schedule is tight 
as always :) 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.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.