Downloading reports concurrently returns corrupted report data. Please advise.

2014-05-14 Thread Oliver
We have an app that downloads performance reports (csv) for Adgroups, 
keywords, Ads, etc.  So far, we've been using one thread to download the 
reports and everything has been working fine for a long time.

In an attempt to speed up the download process, we want to use multiple 
threads to download the various reports.  However, doing this causes most 
of the reports data to be corrupted.  We're seeing columns with no value, 
or an empty string, or even numbers with multiple decimal points e.g. 
123.456.789

We use the Java client library. API v201309

Any ideas why this is happening? This is currently a showstopper for us.

Thanks for your help.

Oliver

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Unable to get Client Details in MCC account while using PHP Client library

2014-05-14 Thread prafull mathur
Hi,

There are some keyowrds that not displaying in Google Adwords account but 
they are visible in my Google Adwords API code.so i checked them with 
adgroupid it give me right adgroup id with my keywords.
So can you please let me know how i can see my all keywords .(I tried All 
keywords option from dropdown appear below Campaign,adgroups,settings etc. 
tabs)


Prafull Mathur



On Wednesday, 23 April 2014 21:06:20 UTC+5:30, Josh Radcliff (AdWords API 
Team) wrote:

 Hi,

 You can get the client name using the name fields on 
 CustomerService.Customerhttps://developers.google.com/adwords/api/docs/reference/v201402/CustomerService.Customer,
  
 or the name fields on 
 ManagedCustomerService.ManagedCustomerhttps://developers.google.com/adwords/api/docs/reference/v201402/ManagedCustomerService.ManagedCustomer.
  
  CustomerService will give you information on the customer ID in the 
 header, while ManagedCustomerService will give you information on all of 
 the customers under an MCC.

 Best,
 Josh, AdWords API Team

 On Wednesday, April 23, 2014 8:09:21 AM UTC-4, prafull mathur wrote:

 Hi Josh,

 I am able to get Campaign,Adgroups,Ads from customer id .but can you 
 please let me know how i show my client name on those pages.
 Is there any function for get client name from id or anything else ?
  



 On Thursday, 17 April 2014 11:37:12 UTC+5:30, prafull mathur wrote:

 Hello Team,


 I am trying to get all campaign and all details of my client's but i am 
 unable to get all details of my client's.

 I have a MCC account with n number of client's .So i would like to get 
 client under my MCC account and then retrieve all campaign and ad details 
 for each client let us know if this is possible.

 I am using  Google adwords client's library in php to get all details of 
 my client's .
 Can you please let me know this is possible in latest version or not .

 Right now i am using OAuth for Authentication ,so i have all the 
 necessary thing which is used in new V201402.
 1.Developer Token 
 2.Client ID (https://console.developers.google.com/project)
 3.Client Secret ID  (https://console.developers.google.com/project)
 4.Refresh Token


 I am only able to get all client's ID .but i am unable to get 
 Campaign,Pay per click etc other services.

 So please guide me how to use PHP client's library to get all client's 
 details or let me know this is possible right now or not and how much time 
 it will take.




-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.


Geographical coverage for New York City

2014-05-14 Thread calford
Hi, 

Within the geographical targeting one can choose many levels, cities, 
states, countries.

I just want to clarify, at least in the case of New York City what is 
actually covered.

Is it only the city (five boroughs) or the metropolitan 
areahttp://en.wikipedia.org/wiki/New_York_metropolitan_area
?

is there a specific rule to clarify possible confusions for other locations?

thanks

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.


Adwords API stop working

2014-05-14 Thread Dzu
Hello,

Today stoped working adwords api. I just get error:

*Fatal error*: Uncaught exception 'OAuth2Exception' with message 'couldn't 
connect to host' in 
/home/url/domains/url/public_html/google-api/Google/Api/Ads/Common/Util/SimpleOAuth2Handler.php:118
 
Stack trace: 
#0 
/home/url/domainsurl/public_html/google-api/Google/Api/Ads/Common/Util/SimpleOAuth2Handler.php(98):
 
SimpleOAuth2Handler-MakeRequest('https://account...', Array) 
#1 
/home/url/domains/url/public_html/google-api/Google/Api/Ads/Common/Util/OAuth2Handler.php(113):
 
SimpleOAuth2Handler-RefreshAccessToken(Array) 
#2 
/home/url/domainsurl/public_html/google-api/Google/Api/Ads/AdWords/Lib/AdWordsSoapClient.php(70):
 
OAuth2Handler-GetOrRefreshAccessToken(Array) 
#3 [internal function]: AdWordsSoapClient-__doRequest('?xml 
version=...', 'https://adwords...', '', 1, 0) 
#4 
/home/url/domains/url/public_html/google-api/Google/Api/Ads/Common/Lib/AdsSoapClient.php(216):
 
SoapClient-__soapCall('get', Array, NULL, Array, in */home/*url*/domains/*
url
*/public_html/google-api/Google/Api/Ads/Common/Util/SimpleOAuth2Handler.php* on 
line *118\*

yesterday works well. 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.


Recording unit allowance and usage

2014-05-14 Thread Alan Coleman
Hello everyone,

I know that our unit allowance is 10,000 units per day.

I'd like to be able to monitor our usage and store the information so we 
can plan and adapt our strategy where necessary. Is there any way we can do 
this?

There is mention of units in the Request Info log but no figure attached, 
is there a setting to enable this?

[May 02 2014 00:00:19.00 - INFO] email= effectiveUser=8588283676 
service=CampaignService method=get operators={NOT_EQUALS: 2} 
responseTime=1629 requestId=0004f8647ef7ba680a430e0405ed operations=1 
*units= 
*server=adwords.google.com isFault=false faultMessage=null 

Many thanks.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Downloading reports concurrently returns corrupted report data. Please advise.

2014-05-14 Thread Oliver
I'd like to also mention that the multiple threads all handle *different 
*accounts 
that belong to different root accounts i.e. there is no issue here of the 
access token or Credential object being created and used multiple times 
concurrently.  

Looking forward to hearing back from you.

Oliver


On Wednesday, May 14, 2014 8:11:01 AM UTC+1, Oliver wrote:

 We have an app that downloads performance reports (csv) for Adgroups, 
 keywords, Ads, etc.  So far, we've been using one thread to download the 
 reports and everything has been working fine for a long time.

 In an attempt to speed up the download process, we want to use multiple 
 threads to download the various reports.  However, doing this causes most 
 of the reports data to be corrupted.  We're seeing columns with no value, 
 or an empty string, or even numbers with multiple decimal points e.g. 
 123.456.789

 We use the Java client library. API v201309

 Any ideas why this is happening? This is currently a showstopper for us.

 Thanks for your help.

 Oliver


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Adwords API stop working

2014-05-14 Thread Dzu
Now it's working again. So why it's doesn't work before 3 hours?



2014 m. gegužė 14 d., trečiadienis 11:04:56 UTC+3, Dzu rašė:

 Hello,

 Today stoped working adwords api. I just get error:

 *Fatal error*: Uncaught exception 'OAuth2Exception' with message 
 'couldn't connect to host' in 
 /home/url/domains/url/public_html/google-api/Google/Api/Ads/Common/Util/SimpleOAuth2Handler.php:118
  
 Stack trace: 
 #0 
 /home/url/domainsurl/public_html/google-api/Google/Api/Ads/Common/Util/SimpleOAuth2Handler.php(98):
  
 SimpleOAuth2Handler-MakeRequest('https://account...', Array) 
 #1 
 /home/url/domains/url/public_html/google-api/Google/Api/Ads/Common/Util/OAuth2Handler.php(113):
  
 SimpleOAuth2Handler-RefreshAccessToken(Array) 
 #2 
 /home/url/domainsurl/public_html/google-api/Google/Api/Ads/AdWords/Lib/AdWordsSoapClient.php(70):
  
 OAuth2Handler-GetOrRefreshAccessToken(Array) 
 #3 [internal function]: AdWordsSoapClient-__doRequest('?xml 
 version=...', 'https://adwords...', '', 1, 0) 
 #4 
 /home/url/domains/url/public_html/google-api/Google/Api/Ads/Common/Lib/AdsSoapClient.php(216):
  
 SoapClient-__soapCall('get', Array, NULL, Array, in */home/*url
 */domains/*url
 */public_html/google-api/Google/Api/Ads/Common/Util/SimpleOAuth2Handler.php* 
 on 
 line *118\*

 yesterday works well. 


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Recording unit allowance and usage

2014-05-14 Thread Alan Coleman
After looking at the Rate Sheet (
https://developers.google.com/adwords/api/docs/ratesheet) I'm presuming 
that *units* have been replaced by*operations*.

I could extract operations usage from the Request Info log but am thinking 
there must be an easier method, a request of some sort?

Many thanks

On Wednesday, May 14, 2014 8:25:52 AM UTC, Alan Coleman wrote:

 Hello everyone,

 I know that our unit allowance is 10,000 units per day.

 I'd like to be able to monitor our usage and store the information so we 
 can plan and adapt our strategy where necessary. Is there any way we can do 
 this?

 There is mention of units in the Request Info log but no figure attached, 
 is there a setting to enable this?

 [May 02 2014 00:00:19.00 - INFO] email= effectiveUser=8588283676 
 service=CampaignService method=get operators={NOT_EQUALS: 2} 
 responseTime=1629 requestId=0004f8647ef7ba680a430e0405ed operations=1 
 *units= 
 *server=adwords.google.com isFault=false faultMessage=null 

 Many thanks.


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Using TargetingIdeaService to return the data for the actual search term provided.

2014-05-14 Thread Ray Tsang (AdWords API Team)
Jeremy,

The search terms field in the UI should be exactly the same string you 
entered in the previous step (in the Your product or service field).  It 
is an user input.

It should be the same value as what you have in setQuery(...).

Cheers,

Ray

On Tuesday, May 13, 2014 9:58:12 PM UTC+2, Jeremy Tremblay wrote:


 Ray, see attached. I am using the following to get a TargetingIdeaPage 
 which generally contains all the data in that screen snap under the 
 Keyword (by relevance) section. I'm having issues getting the data under 
 the Search Terms section to come though on the TargetingIdeaPage:


// Get the TargetingIdeaService.

 TargetingIdeaServiceInterface targetingIdeaService = 
 adWordsServices.get(session, TargetingIdeaServiceInterface.class);


 // Create category products and services search parameter

 CategoryProductsAndServicesSearchParameter 
 categoryProductsAndServicesSearchParameter = new 
 CategoryProductsAndServicesSearchParameter();

 categoryProductsAndServicesSearchParameter.setCategoryId(10018);


 // Create related to query search parameter.

 RelatedToQuerySearchParameter relatedToQuerySearchParameter = new 
 RelatedToQuerySearchParameter();

 relatedToQuerySearchParameter.setQueries(new String[] {searchTerm});


 //Location

 int locationsSize = locationIds.size();

 Location[] locations = new Location[locationsSize];


 for (int i = 0; i  locationsSize; i++) {

 Location location = new Location();

 location.setId(locationIds.get(i).longValue());

 locations[i] = location;

 }


 LocationSearchParameter locationSearchParameter = new 
 LocationSearchParameter();

 locationSearchParameter.setLocations(locations);


 //Google only

 NetworkSearchParameter networkSearchParameter = new 
 NetworkSearchParameter();

 networkSearchParameter.setNetworkSetting(new NetworkSetting(true, false, 
 false, false));


 // Create selector.

 TargetingIdeaSelector selector = new TargetingIdeaSelector();

 selector.setRequestType(RequestType.IDEAS);

 selector.setIdeaType(IdeaType.KEYWORD);

 selector.setSearchParameters(new SearchParameter[] 
 {relatedToQuerySearchParameter, categoryProductsAndServicesSearchParameter, 
 locationSearchParameter, networkSearchParameter});

 selector.setRequestedAttributeTypes(new AttributeType[] {

 AttributeType.KEYWORD_TEXT,

 AttributeType.COMPETITION,

 AttributeType.SEARCH_VOLUME,

 AttributeType.AVERAGE_CPC});


 //800 is the MAX here. 

 // Set selector paging (required for targeting idea service).

 Paging paging = new Paging();

 paging.setStartIndex(0);

 paging.setNumberResults(800);

 selector.setPaging(paging);

 TargetingIdeaPage page = targetingIdeaService.get(selector);
 I am using 
 On Tuesday, May 13, 2014 1:11:20 PM UTC-5, Ray Tsang (AdWords API Team) 
 wrote:

 Jeremy,

 To make sure I'm on the same page - could I trouble you to attach a 
 screenshot of the search term that you are referring to?

 Thanks,

 Ray

 On Monday, May 12, 2014 4:10:00 PM UTC-4, Jeremy Tremblay wrote:

 Currently I am using the TargetingIdeaService to provide a subset of the 
 functionality of the Keyword 
 Plannerhttps://adwords.google.com/ko/KeywordPlanner/Home?__c=2479277912__u=3596500112__o=cues
  by 
 providing a list of locations and a RelatedToQuerySearchParameter query 
 to TargetingIdeaService.get to get a list of keywords and their associated 
 data, as one might in the Search for new keyword and ad group ideas 
 section of the tool.  The results returned by the tool on the Keyword 
 Ideas tab include the Search Term data as well as a list of Keywords 
 and their data. 

 My use of TargetingIdeaService.get is returning the list of Keywords 
 just fine, but I can't seem to get the Search Term data to come through. 
 Does anyone know how I might go about doing that? Is it perhaps due to the 
 paging limitations of TargetingIdeaService.get  and I need more than 800 
 results to get a TargetingIdeaPage that includes an entry where the 
 KEYWORD_TEXT matches the RelatedToQuerySearchParameter query Search Term 
 exactly? 


 Any help is appreciated,

 -jt-



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: How do I use the TrafficEstimatorService in the PHP library with Verticals?

2014-05-14 Thread Ray Tsang (AdWords API Team)
Scott,

I feel this example PHP 
filehttps://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201402/Optimization/EstimateKeywordTraffic.phpcould
 be a good starting point.  You can add 
a Vertical 
criteriahttps://developers.google.com/adwords/api/docs/reference/v201402/TrafficEstimatorService.CampaignEstimateRequest,
 
e.g.,

$vertical = ... // vertical retrieved from the ConstantDataService
$campaignEstimateRequest-criteria[] = $vertical; // append the array w/ 
the vertical criterion.

Cheers,

Ray



On Tuesday, May 13, 2014 11:04:04 PM UTC+2, Scott Luther wrote:

 Hi Ray,

 I don't need a list of available Verticals. I have those already. I need 
 to know how to estimate the traffic for a given Vertical (or several 
 Verticals).

 On Tuesday, May 13, 2014 10:42:56 AM UTC-7, Ray Tsang (AdWords API Team) 
 wrote:

 Scott,

 My apologies!  I was thinking of something else completely different.

 You can use the 
 ConstantDataServicehttps://developers.google.com/adwords/api/docs/reference/v201402/ConstantDataService#getVerticalCriterion
  to 
 get get a list Verticals.

 Cheers,

 Ray

 On Monday, May 12, 2014 4:23:19 PM UTC-4, Scott Luther wrote:

 Hi Ray,

 I'm not sure what vert.x refers to. I'm trying to figure out how to 
 select 
 Verticalshttps://developers.google.com/adwords/api/docs/reference/v201402/TrafficEstimatorService.Verticalwhen
  querying the TrafficEstimatorService to obtain an estimate for 
 Vertical traffic, similar to your 
 EstimateKeywordTraffic.phphttps://raw.githubusercontent.com/googleads/googleads-php-lib/master/examples/AdWords/v201402/Optimization/EstimateKeywordTraffic.php
  example, 
 but with Verticals instead of Keywords. I can't seem to find any 
 documentation/examples for working with Verticals.

 On Monday, May 12, 2014 10:46:09 AM UTC-7, Ray Tsang (AdWords API Team) 
 wrote:

 Scott,

 Are you refering to vert.x?

 Thanks,

 Ray



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Unable to get Client Details in MCC account while using PHP Client library

2014-05-14 Thread prafull mathur
There are some keywords  for those we have not received any status .so 
please look into this also. 

On Wednesday, 14 May 2014 12:59:57 UTC+5:30, prafull mathur wrote:

 Hi,

 There are some keyowrds that not displaying in Google Adwords account but 
 they are visible in my Google Adwords API code.so i checked them with 
 adgroupid it give me right adgroup id with my keywords.
 So can you please let me know how i can see my all keywords .(I tried All 
 keywords option from dropdown appear below Campaign,adgroups,settings etc. 
 tabs)


 Prafull Mathur



 On Wednesday, 23 April 2014 21:06:20 UTC+5:30, Josh Radcliff (AdWords API 
 Team) wrote:

 Hi,

 You can get the client name using the name fields on 
 CustomerService.Customerhttps://developers.google.com/adwords/api/docs/reference/v201402/CustomerService.Customer,
  
 or the name fields on 
 ManagedCustomerService.ManagedCustomerhttps://developers.google.com/adwords/api/docs/reference/v201402/ManagedCustomerService.ManagedCustomer.
  
  CustomerService will give you information on the customer ID in the 
 header, while ManagedCustomerService will give you information on all of 
 the customers under an MCC.

 Best,
 Josh, AdWords API Team

 On Wednesday, April 23, 2014 8:09:21 AM UTC-4, prafull mathur wrote:

 Hi Josh,

 I am able to get Campaign,Adgroups,Ads from customer id .but can you 
 please let me know how i show my client name on those pages.
 Is there any function for get client name from id or anything else ?
  



 On Thursday, 17 April 2014 11:37:12 UTC+5:30, prafull mathur wrote:

 Hello Team,


 I am trying to get all campaign and all details of my client's but i am 
 unable to get all details of my client's.

 I have a MCC account with n number of client's .So i would like to get 
 client under my MCC account and then retrieve all campaign and ad details 
 for each client let us know if this is possible.

 I am using  Google adwords client's library in php to get all details 
 of my client's .
 Can you please let me know this is possible in latest version or not .

 Right now i am using OAuth for Authentication ,so i have all the 
 necessary thing which is used in new V201402.
 1.Developer Token 
 2.Client ID (https://console.developers.google.com/project)
 3.Client Secret ID  (https://console.developers.google.com/project)
 4.Refresh Token


 I am only able to get all client's ID .but i am unable to get 
 Campaign,Pay per click etc other services.

 So please guide me how to use PHP client's library to get all client's 
 details or let me know this is possible right now or not and how much time 
 it will take.




-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Unable to get Client Details in MCC account while using PHP Client library

2014-05-14 Thread Josh Radcliff (AdWords API Team)
Hi Prafull,

Since your keyword questions are unrelated to the topic of this thread, 
could you post this to a new topic? We want to ensure that everyone finds 
relevant information by topic on the forum.

Thanks,
Josh, AdWords API Team

On Wednesday, May 14, 2014 6:24:39 AM UTC-4, prafull mathur wrote:

 There are some keywords  for those we have not received any status .so 
 please look into this also. 

 On Wednesday, 14 May 2014 12:59:57 UTC+5:30, prafull mathur wrote:

 Hi,

 There are some keyowrds that not displaying in Google Adwords account but 
 they are visible in my Google Adwords API code.so i checked them with 
 adgroupid it give me right adgroup id with my keywords.
 So can you please let me know how i can see my all keywords .(I tried All 
 keywords option from dropdown appear below Campaign,adgroups,settings etc. 
 tabs)


 Prafull Mathur



 On Wednesday, 23 April 2014 21:06:20 UTC+5:30, Josh Radcliff (AdWords API 
 Team) wrote:

 Hi,

 You can get the client name using the name fields on 
 CustomerService.Customerhttps://developers.google.com/adwords/api/docs/reference/v201402/CustomerService.Customer,
  
 or the name fields on 
 ManagedCustomerService.ManagedCustomerhttps://developers.google.com/adwords/api/docs/reference/v201402/ManagedCustomerService.ManagedCustomer.
  
  CustomerService will give you information on the customer ID in the 
 header, while ManagedCustomerService will give you information on all of 
 the customers under an MCC.

 Best,
 Josh, AdWords API Team

 On Wednesday, April 23, 2014 8:09:21 AM UTC-4, prafull mathur wrote:

 Hi Josh,

 I am able to get Campaign,Adgroups,Ads from customer id .but can you 
 please let me know how i show my client name on those pages.
 Is there any function for get client name from id or anything else ?
  



 On Thursday, 17 April 2014 11:37:12 UTC+5:30, prafull mathur wrote:

 Hello Team,


 I am trying to get all campaign and all details of my client's but i 
 am unable to get all details of my client's.

 I have a MCC account with n number of client's .So i would like to get 
 client under my MCC account and then retrieve all campaign and ad details 
 for each client let us know if this is possible.

 I am using  Google adwords client's library in php to get all details 
 of my client's .
 Can you please let me know this is possible in latest version or not .

 Right now i am using OAuth for Authentication ,so i have all the 
 necessary thing which is used in new V201402.
 1.Developer Token 
 2.Client ID (https://console.developers.google.com/project)
 3.Client Secret ID  (https://console.developers.google.com/project)
 4.Refresh Token


 I am only able to get all client's ID .but i am unable to get 
 Campaign,Pay per click etc other services.

 So please guide me how to use PHP client's library to get all client's 
 details or let me know this is possible right now or not and how much 
 time 
 it will take.




-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: When can we set contentBid on a new ad group?

2014-05-14 Thread Chris
Hi Ray,

Do you have any updates regarding the investigation into the on-going issue?

Cheers

On Monday, 12 May 2014 16:04:44 UTC-3, Ray Tsang (AdWords API Team) wrote:

 Chris,

 Yes good catch!  Please reply to me (this one) in private.  Cheers.

 Ray

 On Monday, May 12, 2014 2:42:04 PM UTC-4, Chris wrote:

 Ray, I have just noticed that the most recent reply is from a different 
 Ray Tsang user account. Would you mind, via your 'Ray Tsang (AdWords API 
 Team)' account, verifying that it was indeed you who posted the most recent 
 reply.

 Thanks,

 Chris

 On Monday, 12 May 2014 11:30:45 UTC-3, Ray Tsang wrote:

 Chris,

 There is an on-going issue that is being investigated.  If you must 
 create a SEARCH only campaign.  Could I trouble you to send me, in private, 
 the request/response log where you created the Search-only campaign?

 Cheers,

 Ray

 On Friday, May 9, 2014 6:04:48 PM UTC-4, Chris wrote:

 Hi Ray,

 Thanks for your response.

 Looking at the blog post here 
 http://googleadsdeveloper.blogspot.com.br/2014/03/changes-required-for-creating-new.htmltitled
  Changes Required for Creating New Campaigns in the AdWords API 
 v201402 it says All newly created campaigns, or campaigns that are 
 switched into targeting both Search and Display using v201402, will 
 automatically be SNDS campaigns. This behavior is the same as you will see 
 in the AdWords User Interface, bringing that and the API into closer 
 alignment. Existing applications are unaffected.

 Yet I am seeing that when I now create a (for example) Search campaign, 
 using v201309, and then try to create an ad group with contentBid set, I 
 am 
 receiving the error ReadOnlyError.READ_ONLY. Pulling information about the 
 campaign via v201402 I see that the displaySelect property is set to true.

 If I try to create the same Ad Group in an older campaign, again using 
 v201309, then the ad group is created successfully.

 Is this expected behaviour? The information from the blog posts seems 
 to state that v201309 should not be affected by this.

 On Friday, 9 May 2014 17:42:39 UTC-3, Ray Tsang (AdWords API Team) 
 wrote:

 Chris,

 You are correct - none of those that you mentioned should be using 
 contentBid field.  From the UI, it is no longer possible to create a 
 regular Search and Display campaign.  However, there may be existing 
 Search and Display campaigns -  those can have contentBid set.

 Thanks,

 Ray

 On Friday, May 9, 2014 4:05:02 PM UTC-4, Chris wrote:

 Just as a note, if we could clearly reference the campaign type in 
 quotes, like Search, this would be useful, as it is not completely 
 clear 
 whether Search and Display networks refers to campaign types Search 
 and 
 Display and Search  Display, or whether it refers only to the 
 campaign 
 type Search  Display. Thanks

 On Friday, 9 May 2014 17:00:42 UTC-3, Chris wrote:

 Looking here 
 https://groups.google.com/forum/#!newtopic/adwords-api/adwords-api/PoxLi7jH7rcit
  almost leads me to believe that we cannot set contentBid for ad groups 
 on ANY newly created campaigns - is this right? Campaign type Search  
 Display Networks is no longer available, whilst campaign type Search 
 Network with Display Select is - but this does not allow ad groups to 
 have 
 contentBid set.

 On Thursday, 8 May 2014 14:21:33 UTC-3, Chris wrote:

 Hi Ray,

 Thanks for your reply. Could you clarify exactly what you mean by 
 content bid can be used for Search and Display networks. When I look 
 at 
 creating a new campaign in the AdWords UI I have the following options 
 for 
 campaign type:

 Search Network with Display Select
 Search Network only
 Display Network only
 Shopping

 For precisely which of these campaign types should I be able create 
 ad groups with content bid set?

 I have tried creating ad groups with contentBid set in all of the 
 campaign types except Shopping, and all failed.

 The soap request and responses I sent you were for a campaign that 
 has type Search Network with Display Select - All features

 Does it have an effect whether the campaigns are set with all 
 features vs standard

 If there's any further information I can provide you that would be 
 of use, just let me know.

 Thanks again for looking into this!

 On Thursday, 8 May 2014 13:59:31 UTC-3, Ray Tsang (AdWords API 
 Team) wrote:

 Chris,

 Content bid can only be used for Search and Display networks, but 
 nothing else.

 Thanks!

 Ray

 On Thursday, May 8, 2014 9:50:44 AM UTC-4, Chris wrote:

 Hi Ray,

 Hopefully you received the private message I tried to send you. 
 If not, please let me know.

 Cheers,

 Chris

 On Wednesday, 7 May 2014 15:07:58 UTC-3, Chris wrote:

 Hi Guys,

 I'm trying to fully understand when you can, and should, set the 
 content bid on a new AdGroup

 When I previously saw this 
 https://groups.google.com/forum/#!topic/adwordsapi-announcements/j_VjErMFhTEinformation
  I thought that we just had to make sure we weren't setting 
 contentBid on Display 

AWQL impressions 0 in CAMPAIGN_PERFORMANCE_REPORT

2014-05-14 Thread Mike Young
In my AWQL report, it gets all the necessary data, but when something was 
paused it would not get the data.

I need only campaigns with more than zero impressions, paused or not.

I was using WHERE Status IN [ACTIVE] within my statement.

so I changed it to Impressions  0 and it makes no difference at all.

I also tried WHERE Status IN [ACTIVE,PAUSED] AND Impressions  0

Please help!

Using API 201402





-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Shared BiddingStrategy type in Campaign performance report

2014-05-14 Thread Josh Radcliff (AdWords API Team)
Hi,

There is not a way to get this information at a campaign level for shared 
bidding strategies at this time. You could use the Bid Goal Performance 
Reporthttps://developers.google.com/adwords/api/docs/appendix/reports#bid-goal
 to 
retrieve information at the shared strategy level, but that won't give you 
the campaign -- bidding strategy relationship. We're aware that adding 
shared strategy information to various reports would be helpful and are 
working on it.

Cheers,
Josh, AdWords API Team

On Tuesday, May 13, 2014 5:55:18 AM UTC-4, Sanju wrote:

 Hi Team,

 I can get the normal Bidding strategy in CAMPAIGN Performance report but 
 some of my campaigns use Shared Bidding strategies where these campiagn's 
 Bidding strategy column values shows -- in Campaign performance report. 
 How can I get the value of Bidding strategy for these type of Shared 
 Bidding strategy Campaigns?


 Thanks in Adv.


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Shared BiddingStrategy type in Campaign performance report

2014-05-14 Thread Josh Radcliff (AdWords API Team)
Hi,

I should have qualified my previous sentence -- currently there's no way to 
get this information at a campaign level *from reporting*. You could get 
this information by issuing a 
CampaignService.gethttps://developers.google.com/adwords/api/docs/reference/v201402/CampaignService#get
 and 
inspecting the 
biddingStrategyConfigurationhttps://developers.google.com/adwords/api/docs/reference/v201402/CampaignService.Campaign#biddingStrategyConfiguration
 attribute 
of each campaign.

I'll update this post with any news when and if the shared strategy fields 
are added to reports.

Thanks,
Josh, AdWords API Team

On Wednesday, May 14, 2014 10:07:35 AM UTC-4, Josh Radcliff (AdWords API 
Team) wrote:

 Hi,

 There is not a way to get this information at a campaign level for shared 
 bidding strategies at this time. You could use the Bid Goal Performance 
 Reporthttps://developers.google.com/adwords/api/docs/appendix/reports#bid-goal
  to 
 retrieve information at the shared strategy level, but that won't give you 
 the campaign -- bidding strategy relationship. We're aware that adding 
 shared strategy information to various reports would be helpful and are 
 working on it.

 Cheers,
 Josh, AdWords API Team

 On Tuesday, May 13, 2014 5:55:18 AM UTC-4, Sanju wrote:

 Hi Team,

 I can get the normal Bidding strategy in CAMPAIGN Performance report but 
 some of my campaigns use Shared Bidding strategies where these campiagn's 
 Bidding strategy column values shows -- in Campaign performance report. 
 How can I get the value of Bidding strategy for these type of Shared 
 Bidding strategy Campaigns?


 Thanks in Adv.



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Ad Schedule Criteria id ?

2014-05-14 Thread Josh Radcliff (AdWords API Team)
Hi,

You can get the ad schedule criterion id (or any criterion's id) by issuing 
a 
CampaignCriterionService.gethttps://developers.google.com/adwords/api/docs/reference/v201402/CampaignCriterionService#get
 and 
including the field *Id* in your 
selectorhttps://developers.google.com/adwords/api/docs/appendix/selectorfields#v201402-CampaignCriterionService
.

To set multiple 
NegativeCampaignCriterionhttps://developers.google.com/adwords/api/docs/reference/v201402/CampaignCriterionService.NegativeCampaignCriterion
 in 
a single mutate call, simply pass multiple 
CampaignCriterionOperationhttps://developers.google.com/adwords/api/docs/reference/v201402/CampaignCriterionService.CampaignCriterionOperations
 
in the call, one per negative criterion you'd like to add. The Ruby 
examples do not include an example for this exact use case, but the 
add_keywords.rbhttps://github.com/googleads/google-api-ads-ruby/blob/master/adwords_api/examples/v201402/basic_operations/add_keywords.rb#L65
 example 
illustrates how to pass multiple operations in a single call.

Cheers,
Josh, AdWords API Team

On Tuesday, May 13, 2014 10:54:03 AM UTC-4, Seth wrote:

 Where do I find the ad schedule criterion id? Also is there a way to set 
 a bunch of NegativeCampaignCriterion at one time with the ruby client?

 https://developers.google.com/adwords/api/docs/reference/v201402/CampaignCriterionService.AdSchedule


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Problem with retrieving ACTIVE keywords only using AdWords API

2014-05-14 Thread Josh Radcliff (AdWords API Team)
Hi,

Have you tried also including a predicate on *CampaignStatus EQUALS 
ACTIVE* (or *CampaignStatus IN [ACTIVE, PAUSED]*)? My guess is that 
when you're viewing the *Keywords* tab in the UI you are only looking at 
active or non-deleted campaigns.

Cheers,
Josh, AdWords API Team

On Tuesday, May 13, 2014 1:50:50 PM UTC-4, Dan wrote:

 Hi all,

 I am trying to pull all non-deleted keywords from AdWords to use with the 
 ReportDownloader.
 For this, I have to use the jaxb Selector.

 I am adding the following Predicate to my Selector:

 Predicate predicate1 = new Predicate();

 predicate1.setField(Status);

 predicate1.setOperator(PredicateOperator.EQUALS);

 predicate1.getValues().add(String.valueOf(ACTIVE));

 selector.getPredicates().add(predicate1);

 However, this returns ALL keywords (over 250,000, of which the majority 
 are in deleted campaigns). When I look at the All but deleted keywords in 
 the AdWords web interface, I can see that there are only 12,000 active 
 keywords.

 Is there something wrong with my predicate/selector?

 Thanks for any help!




-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Adwords API stop working

2014-05-14 Thread Josh Radcliff (AdWords API Team)
Hi,

We haven't received any reports from other users stating they couldn't 
connect to our services, which suggests this may have been an issue with 
your network or firewall at that time. Do you have any more details on the 
exception? Did you experience any other network issues on the host where 
you encountered this exception?

Thanks,
Josh, AdWords API Team

On Wednesday, May 14, 2014 5:42:34 AM UTC-4, Dzu wrote:

 Now it's working again. So why it's doesn't work before 3 hours?



 2014 m. gegužė 14 d., trečiadienis 11:04:56 UTC+3, Dzu rašė:

 Hello,

 Today stoped working adwords api. I just get error:

 *Fatal error*: Uncaught exception 'OAuth2Exception' with message 
 'couldn't connect to host' in 
 /home/url/domains/url/public_html/google-api/Google/Api/Ads/Common/Util/SimpleOAuth2Handler.php:118
  
 Stack trace: 
 #0 
 /home/url/domainsurl/public_html/google-api/Google/Api/Ads/Common/Util/SimpleOAuth2Handler.php(98):
  
 SimpleOAuth2Handler-MakeRequest('https://account...', Array) 
 #1 
 /home/url/domains/url/public_html/google-api/Google/Api/Ads/Common/Util/OAuth2Handler.php(113):
  
 SimpleOAuth2Handler-RefreshAccessToken(Array) 
 #2 
 /home/url/domainsurl/public_html/google-api/Google/Api/Ads/AdWords/Lib/AdWordsSoapClient.php(70):
  
 OAuth2Handler-GetOrRefreshAccessToken(Array) 
 #3 [internal function]: AdWordsSoapClient-__doRequest('?xml 
 version=...', 'https://adwords...', '', 1, 0) 
 #4 
 /home/url/domains/url/public_html/google-api/Google/Api/Ads/Common/Lib/AdsSoapClient.php(216):
  
 SoapClient-__soapCall('get', Array, NULL, Array, in */home/*url
 */domains/*url
 */public_html/google-api/Google/Api/Ads/Common/Util/SimpleOAuth2Handler.php* 
 on 
 line *118\*

 yesterday works well. 



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Recording unit allowance and usage

2014-05-14 Thread Josh Radcliff (AdWords API Team)
Hi,

I think the post below covers your questions, but let me know if that's not 
the case.

https://groups.google.com/d/msg/adwords-api/a2Me1N3Va_0/gMCxXON5GJoJ

Thanks,
Josh, AdWords API Team

On Wednesday, May 14, 2014 5:47:07 AM UTC-4, Alan Coleman wrote:

 After looking at the Rate Sheet (
 https://developers.google.com/adwords/api/docs/ratesheet) I'm presuming 
 that *units* have been replaced by*operations*.

 I could extract operations usage from the Request Info log but am thinking 
 there must be an easier method, a request of some sort?

 Many thanks

 On Wednesday, May 14, 2014 8:25:52 AM UTC, Alan Coleman wrote:

 Hello everyone,

 I know that our unit allowance is 10,000 units per day.

 I'd like to be able to monitor our usage and store the information so we 
 can plan and adapt our strategy where necessary. Is there any way we can do 
 this?

 There is mention of units in the Request Info log but no figure attached, 
 is there a setting to enable this?

 [May 02 2014 00:00:19.00 - INFO] email= effectiveUser=8588283676 
 service=CampaignService method=get operators={NOT_EQUALS: 2} 
 responseTime=1629 requestId=0004f8647ef7ba680a430e0405ed operations=1 
 *units= 
 *server=adwords.google.com isFault=false faultMessage=null 

 Many thanks.



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: AWQL impressions 0 in CAMPAIGN_PERFORMANCE_REPORT

2014-05-14 Thread Josh Radcliff (AdWords API Team)
Hi,

Using *Impressions  0* as you described should work, assuming you are 
using a 
CAMPAIGN_PERFORMANCE_REPORThttps://developers.google.com/adwords/api/docs/appendix/reports#campaign
 since 
on that report the *Status* column refers to the campaign's status. Are you 
sure that the paused campaigns had impressions for the date range you 
specified in your *DURING* clause?

If the date range is not the issue, please send the following *only to me* by 
clicking *Reply to Author*:

   - Customer ID
   - Complete report definitions/AWQL queries used
   - Report responses received

Cheers,
Josh, AdWords API Team

On Wednesday, May 14, 2014 9:57:48 AM UTC-4, Mike Young wrote:

 In my AWQL report, it gets all the necessary data, but when something was 
 paused it would not get the data.

 I need only campaigns with more than zero impressions, paused or not.

 I was using WHERE Status IN [ACTIVE] within my statement.

 so I changed it to Impressions  0 and it makes no difference at all.

 I also tried WHERE Status IN [ACTIVE,PAUSED] AND Impressions  0

 Please help!

 Using API 201402







-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Downloading reports concurrently returns corrupted report data. Please advise.

2014-05-14 Thread Josh Radcliff (AdWords API Team)
Hi Oliver,

Are you using a new instance of 
ReportDownloaderhttps://github.com/googleads/googleads-java-lib/blob/831d8a73dbf686d34caa09b489a9515335b177ca/modules/ads_lib/src/main/java/com/google/api/ads/adwords/lib/utils/v201402/ReportDownloader.java#L52for
 each thread? As mentioned in that type's javadoc, instances are not 
thread-safe.

Thanks,
Josh, AdWords API Team

On Wednesday, May 14, 2014 5:39:30 AM UTC-4, Oliver wrote:

 I'd like to also mention that the multiple threads all handle *different 
 *accounts 
 that belong to different root accounts i.e. there is no issue here of the 
 access token or Credential object being created and used multiple times 
 concurrently.  

 Looking forward to hearing back from you.

 Oliver


 On Wednesday, May 14, 2014 8:11:01 AM UTC+1, Oliver wrote:

 We have an app that downloads performance reports (csv) for Adgroups, 
 keywords, Ads, etc.  So far, we've been using one thread to download the 
 reports and everything has been working fine for a long time.

 In an attempt to speed up the download process, we want to use multiple 
 threads to download the various reports.  However, doing this causes most 
 of the reports data to be corrupted.  We're seeing columns with no value, 
 or an empty string, or even numbers with multiple decimal points e.g. 
 123.456.789

 We use the Java client library. API v201309

 Any ideas why this is happening? This is currently a showstopper for us.

 Thanks for your help.

 Oliver



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Using TargetingIdeaService to return the data for the actual search term provided.

2014-05-14 Thread Jeremy Tremblay
It should be the same value as what you have in setQuery(...)

Yes, that is what I expect. But it does not come back in 
my TargetingIdeaPage as a TargetingIdea for every search term I use. 

For example when I use bakruptcy as my search term, I can find A 
TargetingIdea in my TargetingIdeaPage with a KEYWORD_TEXT attribute of 
bankrputcy, yet if I use adoption, I cannot. 

Is this a paging issue? Should I be making multiple calls to 
targetingIdeaService.get?

On Wednesday, May 14, 2014 4:54:40 AM UTC-5, Ray Tsang (AdWords API Team) 
wrote:

 Jeremy,

 The search terms field in the UI should be exactly the same string you 
 entered in the previous step (in the Your product or service field).  It 
 is an user input.

 It should be the same value as what you have in setQuery(...).

 Cheers,

 Ray

 On Tuesday, May 13, 2014 9:58:12 PM UTC+2, Jeremy Tremblay wrote:


 Ray, see attached. I am using the following to get a TargetingIdeaPage 
 which generally contains all the data in that screen snap under the 
 Keyword (by relevance) section. I'm having issues getting the data under 
 the Search Terms section to come though on the TargetingIdeaPage:


// Get the TargetingIdeaService.

 TargetingIdeaServiceInterface targetingIdeaService = 
 adWordsServices.get(session, TargetingIdeaServiceInterface.class);


 // Create category products and services search parameter

 CategoryProductsAndServicesSearchParameter 
 categoryProductsAndServicesSearchParameter = new 
 CategoryProductsAndServicesSearchParameter();

 categoryProductsAndServicesSearchParameter.setCategoryId(10018);


 // Create related to query search parameter.

 RelatedToQuerySearchParameter relatedToQuerySearchParameter = new 
 RelatedToQuerySearchParameter();

 relatedToQuerySearchParameter.setQueries(new String[] {searchTerm});


 //Location

 int locationsSize = locationIds.size();

 Location[] locations = new Location[locationsSize];


 for (int i = 0; i  locationsSize; i++) {

 Location location = new Location();

 location.setId(locationIds.get(i).longValue());

 locations[i] = location;

 }


 LocationSearchParameter locationSearchParameter = new 
 LocationSearchParameter();

 locationSearchParameter.setLocations(locations);


 //Google only

 NetworkSearchParameter networkSearchParameter = new 
 NetworkSearchParameter();

 networkSearchParameter.setNetworkSetting(new NetworkSetting(true, false, 
 false, false));


 // Create selector.

 TargetingIdeaSelector selector = new TargetingIdeaSelector();

 selector.setRequestType(RequestType.IDEAS);

 selector.setIdeaType(IdeaType.KEYWORD);

 selector.setSearchParameters(new SearchParameter[] 
 {relatedToQuerySearchParameter, categoryProductsAndServicesSearchParameter, 
 locationSearchParameter, networkSearchParameter});

 selector.setRequestedAttributeTypes(new AttributeType[] {

 AttributeType.KEYWORD_TEXT,

 AttributeType.COMPETITION,

 AttributeType.SEARCH_VOLUME,

 AttributeType.AVERAGE_CPC});


 //800 is the MAX here. 

 // Set selector paging (required for targeting idea service).

 Paging paging = new Paging();

 paging.setStartIndex(0);

 paging.setNumberResults(800);

 selector.setPaging(paging);

 TargetingIdeaPage page = targetingIdeaService.get(selector);
 I am using 
 On Tuesday, May 13, 2014 1:11:20 PM UTC-5, Ray Tsang (AdWords API Team) 
 wrote:

 Jeremy,

 To make sure I'm on the same page - could I trouble you to attach a 
 screenshot of the search term that you are referring to?

 Thanks,

 Ray

 On Monday, May 12, 2014 4:10:00 PM UTC-4, Jeremy Tremblay wrote:

 Currently I am using the TargetingIdeaService to provide a subset of 
 the functionality of the Keyword 
 Plannerhttps://adwords.google.com/ko/KeywordPlanner/Home?__c=2479277912__u=3596500112__o=cues
  by 
 providing a list of locations and a RelatedToQuerySearchParameter query 
 to TargetingIdeaService.get to get a list of keywords and their associated 
 data, as one might in the Search for new keyword and ad group ideas 
 section of the tool.  The results returned by the tool on the Keyword 
 Ideas tab include the Search Term data as well as a list of Keywords 
 and their data. 

 My use of TargetingIdeaService.get is returning the list of Keywords 
 just fine, but I can't seem to get the Search Term data to come through. 
 Does anyone know how I might go about doing that? Is it perhaps due to the 
 paging limitations of TargetingIdeaService.get  and I need more than 800 
 results to get a TargetingIdeaPage that includes an entry where the 
 KEYWORD_TEXT matches the RelatedToQuerySearchParameter query Search Term 
 exactly? 


 Any help is appreciated,

 -jt-



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 

Re: No more search phrase data for legacy PLA campaigns?

2014-05-14 Thread Josh Radcliff (AdWords API Team)
Hi Chris,

I'm personally not aware of any changes to that report on May 5th.  Could 
you send the following *only to me* by clicking *Reply to Author* on this 
post?

   - Customer ID for the AdWords account containing the PLA campaigns
   - Report definitions or AWQL queries used
   - Report output -- if you have before  after examples that would be 
   ideal

Just to clarify, are you saying that after May 5th you stopped getting PLA 
data back in the report for *all dates,* or only for dates on or after May 
5th?

Thanks,
Josh, AdWords API Team

On Tuesday, May 13, 2014 12:30:10 PM UTC-4, Christopher Taylor wrote:

 It appears that on May 5th we stopped receiving any search phrase data 
 from the SEARCH_QUERY_PERFORMANCE_REPORT in the v201402 release of the API 
 for any of our PLA campaigns.

 Was this a documented change and nothing we can do about it?

 Thanks,
 Chris


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Downloading reports concurrently returns corrupted report data. Please advise.

2014-05-14 Thread Oliver
Hi Josh,

I confirm each thread has its own separate instance of ReportDownloader and 
AdwordsSession.

Any ideas?

Oliver

On Wednesday, May 14, 2014 4:29:28 PM UTC+1, Josh Radcliff (AdWords API 
Team) wrote:

 Hi Oliver,

 Are you using a new instance of 
 ReportDownloaderhttps://github.com/googleads/googleads-java-lib/blob/831d8a73dbf686d34caa09b489a9515335b177ca/modules/ads_lib/src/main/java/com/google/api/ads/adwords/lib/utils/v201402/ReportDownloader.java#L52for
  each thread? As mentioned in that type's javadoc, instances are not 
 thread-safe.

 Thanks,
 Josh, AdWords API Team

 On Wednesday, May 14, 2014 5:39:30 AM UTC-4, Oliver wrote:

 I'd like to also mention that the multiple threads all handle *different 
 *accounts that belong to different root accounts i.e. there is no issue 
 here of the access token or Credential object being created and used 
 multiple times concurrently.  

 Looking forward to hearing back from you.

 Oliver


 On Wednesday, May 14, 2014 8:11:01 AM UTC+1, Oliver wrote:

 We have an app that downloads performance reports (csv) for Adgroups, 
 keywords, Ads, etc.  So far, we've been using one thread to download the 
 reports and everything has been working fine for a long time.

 In an attempt to speed up the download process, we want to use multiple 
 threads to download the various reports.  However, doing this causes most 
 of the reports data to be corrupted.  We're seeing columns with no value, 
 or an empty string, or even numbers with multiple decimal points e.g. 
 123.456.789

 We use the Java client library. API v201309

 Any ideas why this is happening? This is currently a showstopper for us.

 Thanks for your help.

 Oliver



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Recording unit allowance and usage

2014-05-14 Thread Alan Coleman
Thank Josh,

I'm getting closer, but what I really want to know is where I can can 
obtain the operation count, either after each operation or retrospectively.

Thanks again.

On Wednesday, May 14, 2014 3:21:28 PM UTC, Josh Radcliff (AdWords API Team) 
wrote:

 Hi,

 I think the post below covers your questions, but let me know if that's 
 not the case.

 https://groups.google.com/d/msg/adwords-api/a2Me1N3Va_0/gMCxXON5GJoJ

 Thanks,
 Josh, AdWords API Team

 On Wednesday, May 14, 2014 5:47:07 AM UTC-4, Alan Coleman wrote:

 After looking at the Rate Sheet (
 https://developers.google.com/adwords/api/docs/ratesheet) I'm presuming 
 that *units* have been replaced by*operations*.

 I could extract operations usage from the Request Info log but am 
 thinking there must be an easier method, a request of some sort?

 Many thanks

 On Wednesday, May 14, 2014 8:25:52 AM UTC, Alan Coleman wrote:

 Hello everyone,

 I know that our unit allowance is 10,000 units per day.

 I'd like to be able to monitor our usage and store the information so we 
 can plan and adapt our strategy where necessary. Is there any way we can do 
 this?

 There is mention of units in the Request Info log but no figure 
 attached, is there a setting to enable this?

 [May 02 2014 00:00:19.00 - INFO] email= effectiveUser=8588283676 
 service=CampaignService method=get operators={NOT_EQUALS: 2} 
 responseTime=1629 requestId=0004f8647ef7ba680a430e0405ed operations=1 
 *units= 
 *server=adwords.google.com isFault=false faultMessage=null 

 Many thanks.



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.


ContentBid in Adgroups deprecated for all Campaign types?

2014-05-14 Thread t...@exelution.com
Hello,

I'm currently trying to track down a problem with the adaptation of the 
2014 API and its change concerning the contentBid value. There was a Blog 
Post in January that the contentBid will become READONLY for all Display 
only campaigns, but I have trouble setting the content bid for any kind of 
campaign ( of course, most sensibly for a search campaign that also runs on 
the display network ) and I always receive a READONLY error when I try to 
set it.

I wanted to verify the setting is completely deprecated before removing it 
from our sync script. Since I failed to find anything in the Adwords Blog 
news beside that change on Display only I turn here.

Thanks for your time!


Regards,
 Holger Göbber,  Exelution GmbH

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: SEARCH_QUERY_PERFORMANCE_REPORT - difference between report GUI

2014-05-14 Thread Josh Radcliff (AdWords API Team)
Hi,

The SEARCH_QUERY_PERFORMANCE_REPORT maps to the *Dimensions* 
tabhttps://developers.google.com/adwords/api/docs/guides/uireports#searchTermsReport.
 
If you are interested in the performance of your keywords in search 
campaigns I'd recommend the 
KEYWORDS_PERFORMANCE_REPORThttps://developers.google.com/adwords/api/docs/appendix/reports#keywords.
 
 You may also find our page that maps UI reports to API 
reportshttps://developers.google.com/adwords/api/docs/guides/uireportsuseful.

Cheers,
Josh, AdWords API Team

On Monday, May 12, 2014 11:27:54 AM UTC-4, assaf wrote:

 Hi,

 I am producing a search query report for ALL TIME in both API and in 
 adwords GUI (keywords - Details-All search terms).
 1. I see the statistics - clicks  conversions are *greater* in the GUI 
 rather than the API.
 2. I see there are many more search terms in the report than I see in the 
 GUI.

 Should these be identical? Am I using the correct report to get what I am 
 looking at in the GUI ?

 Thanks.


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.


Getting Unauthorised client error when running GetCampaigns in PHP

2014-05-14 Thread newdynamxtest447
Hi,

I have installed the PHP Google Adwords API on my machine. I have created 
one production and one test MCC account. I have received a developer token 
for the production account.
I am getting the error unauthorised_client error when I run the example 
GetCampaigns.php. In my auth.ini file I have set the values like as below:
developerToken :as received from Google
userAgent: company name
clientCustomerId : my 10 digit account id sepearated by hyphens
client_id generated by logging into google cloud console
client_secret generated from google cloud console
refresh_token generated from Google Oauth Playground - 
https://developers.google.com/oauthplayground/

The refresh token is generated by logging into Oauth Playground using the 
test login. Also, the client-id and client-secret are generated for the 
test account not the production account. I am getting the same issue wheen 
using the production details.

Can you please suggest what is the cause of this issue and how I can 
resolve it?

Any help much appreciated.

Thanks

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: OAuth2 Campaign update issue (c#)

2014-05-14 Thread abhijit chaudhari
Hi Richard,

I am facing issues while getting campaigns, My application is ASP.NET MVC 
and i need to fetch all campaigns but how i can send authtoken while making 
request. below is sample code which i am using. SoapHeader do not have 
propert authtoken in v201402 version. can please she some info. we are 
migrating to v201402 version.

campServiceClient1 = new CampaignServiceInterfaceClient();
Gateway.Google.CampaignService.SoapHeader RequestHeader = 
new Gateway.Google.CampaignService.SoapHeader();
RequestHeader.developerToken = 
connectionInfo.DeveloperToken.Trim();
RequestHeader.userAgent = UserAgent;
//RequestHeader.*authToken *= authtoken.Trim();
RequestHeader.clientCustomerId = GoAccountId.ToString();
  
   ///setting selector to download campaigns for the entire account
CampaignService.Selector selector = new 
CampaignService.Selector();
selector.fields = new string[] { Id, Name, Status };

CampaignPage cp = new CampaignPage();

Gateway.Google.CampaignService.SoapResponseHeader res = 
campServiceClient1.get(RequestHeader, selector, out cp);

On Tuesday, 29 April 2014 02:34:08 UTC+5:30, Richard wrote:

 ok I got it working now. one question, when I use CampaignService.get()  I 
 got the entire list of campaigns. 
 Is there a way to select just one campaign based on campaignID?
 thanks,
 Richard


 On Wednesday, April 23, 2014 10:59:12 AM UTC-5, Anash P. Oommen (AdWords 
 API Team) wrote:

 Hi Richard,

 You need to

 1. Retrieve the budget id using CampaignService.get(). Use BudgetId as 
 the selector field.
 2. Set the budget using BudgetService.mutate(). 

 My understanding is that you cannot update the budget using 
 CampaignService.mutate any longer.

 Cheers,
 Anash

 On Tuesday, April 22, 2014 10:48:07 AM UTC-4, Richard wrote:

 Any idea? the update campaign budget worked on v201309 without budget id 
 but now failed on v201402, is there any parameter I need to set? thanks!



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.


migrate to Adwords API v201402

2014-05-14 Thread abhijit chaudhari


Hi we are migrating to Adword API v201402, and after updating web service 
references we are getting below errors.

 

Gateway.Google.ReportDefintionService.SoapHeader RequestHeader =
new Gateway.Google.ReportDefintionService.SoapHeader();
RequestHeader.developerToken = connectionInfo.DeveloperToken.Trim();
RequestHeader.userAgent = UserAgent;
RequestHeader.*authToken* = authtoken.Trim();

 

AuthToken property is missing so can you please let us know how we can pass 
authtoken while making API request,

 

Thanks in advance.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.


AWQL.me, a free tool to write AWQL queries easily

2014-05-14 Thread fabrice
Hi,

A couple of weeks ago, we have released a free tool allowing people to 
write and test very easily AWQL queries.

With AWQL.me, you can now test your queries and see the result in one 
click. AWQL becomes easier with auto completion and contextual help 
messages as you type, giving you information about the AWQL syntax. It's 
also easy to find table and field names.

You just have to type your AWQL request in the console and click. Data is 
retrieved via the API and available in a table. You can sort by columns or 
search.

We quickly added a feature to export the data in CSV or XML.

We recently added an extensive AWQL help that allows to search in all 
tables and fields in a snap.

It's completely free and safe, so have fun with AWQL.me. 

We are eager to hear your feedback at he...@awql.me or 
fabr...@sunnyreports.com. You can send us your AWQL tips and we will share 
them in the help.

Have fun,

Fabrice,
www.AWQL.me

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.


Will the API leave modification history log?

2014-05-14 Thread rui
Will the API leave modification history logs? Does it leave any kind of 
logs that I can access at all?
How can I find out if any of my accounts is being altered by the API?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.


Possible to get the list of sites for a campaign's display network?

2014-05-14 Thread aqn111
In the AdWords console, I can get a list of a campaign's display sites in 
its Display Network tab:

https://lh4.googleusercontent.com/-7tsP6ae95ow/U3EX4onUsuI/AAY/3jggohu_ZPo/s1600/Screen+Shot+2014-05-12+at+1.32.50+PM.png

Is there an API to do this programmatically?  I looked through the AdWords 
API Reference but couldn't find anything.  Thanks!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.


Modifying CPC bid accross multiple ads by a common factor

2014-05-14 Thread Dominic
Hi,

I'm new to both adwords and the API, so please excuse me if I use terms 
incorrectly.

My clients runs several campaigns with a CPC set at the ad level. I would 
like to adjust their spend based on the number of call handlers they have 
to available to process new clients. Ideally I would like to allow them to 
keep the fine grained control and use a multiplier to adjust their spend.

Ad group level bid modifiers would be ideal for what I want to do, but they 
are only available for mobile and I need something across all platforms.

One solution I'm considering is querying their account, getting the CPC for 
each ad, then modifying them all by a fixed percentage and then locally 
storing the change, so that I can modify them back again later. I can see 
two problems with this - firstly I'm sure rounding errors will creep in and 
compound and secondly if my client changes the CPC for an ad after I've 
made a global adjustment then that ad will have a price that is out of sync 
with the other ads.

If anyone can suggest a solution or point me to and API call I'd overlooked 
then I'd appreciate it.

Thanks,

Dom

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.


campaign conversion count greater than summed adgroup conversion count?

2014-05-14 Thread Omar El-Domeiri
I've found that number of conversions reported in the 
CAMPAIGN_PERFORMANCE_REPORT is greater than the sum of conversions in the 
ADGROUP_PERFORMANCE_REPORT.  

Similarly for, the sum of the conversions column for the 
KEYWORD_PERFORMANCE_REPORT is less than the sum for the 
ADGROUP_PERFORMANCE_REPORT.  

Why would this be the case?  Shouldn't every conversion be tied to a 
keyword?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: WebpageCriterion/rule-based remarketing list

2014-05-14 Thread Ashish Kumar
Hello David,

Does the api support now to create rule based remarketing list yet ?

On Friday, 25 October 2013 11:50:47 UTC-4, David Torres (AdWords API Team) 
wrote:

 Hi Shuhan,

 Creation of rule based remarketing lists are not yet supported in the API. 

 The 
 AdGroupCriterionService.Webpagehttps://developers.google.com/adwords/api/docs/reference/v201309/AdGroupCriterionService.Webpage
  is 
 used for targeting of keyword-less Ads a.k.a Dynamic Search Ads.

 Best,

 - David Torres - AdWords API Team

 On Monday, October 21, 2013 7:35:36 PM UTC-4, Shah-nawaj Shuhan wrote:


 I was interested to find a way to create rule-based remarketing list 
 using API. However according to


 https://groups.google.com/forum/embed/?place=forum/adwords-apishowsearch=trueshowpopout=trueparenturl=https%3A%2F%2Fdevelopers.google.com%2Fadwords%2Fapi%2Fcommunity%2F#!newtopic/adwords-api/adwords-api/vqBnG8kdWwQ

 it's not possible. Then I have noticed WebPageCriterion, it says 
 Criterion for targeting webpages of an advertiser's website. Which is not 
 clear to me. Can anyone please describe the purpose of WebPageCriterion, 
 and when shall I use it?


 https://developers.google.com/adwords/api/docs/reference/v201309/AdGroupCriterionService.Webpage

 Thank you

 Shuhan



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.


get list of all client customer id

2014-05-14 Thread Syed Arif Ullah Shah
Hi,

I am developing some dashboards based on campaignperformancereport. I have 
an MCC account and I have around 20 client accounts there. There could be 
more in future. I want to get the list of all client customer id so that I 
can send these clientcustomerid to campaignperformancereport one by one. 
However, I am not able to find any method to achieve this. Can someone 
please tell me how can I get the list of all clients from MCC client using 
adwords api

I need a specific Soap xml request that will return the list of clients. I 
have tried the below soap request but I am not sure how to get the auth 
token and secondly the soap requests is giving errors. I am looking for 
something similar but which is a valid request. I already have an MCC 
account, and have also created clientid and secret id

?xml version=1.0 encoding=UTF-8?
env:Envelope xmlns:xsd=http://www.w3.org/2001/XMLSchema; 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
xmlns:wsdl=https://adwords.google.com/api/adwords/mcm/v201209; 
xmlns:env=http://schemas.xmlsoap.org/soap/envelope/; 
xmlns:ns0=https://adwords.google.com/api/adwords/cm/v201209;
  env:Header
wsdl:RequestHeader 
xmlns=https://adwords.google.com/api/adwords/cm/v201209;
  userAgentuser-agent/userAgent
  developerTokendeveloper-token/developerToken
  authTokenauth-token/authToken
/wsdl:RequestHeader
  /env:Header
  env:Body
get xmlns=https://adwords.google.com/api/adwords/mcm/v201209;
  serviceSelector
ns0:fieldsLogin/ns0:fields
ns0:fieldsCustomerId/ns0:fields
ns0:fieldsName/ns0:fields
  /serviceSelector
/get
  /env:Body
/env:Envelope

Regards
Arif

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.


Problem in getting Campain's Clicks / Cost when status is Active

2014-05-14 Thread Vaios Panourgias

  Hi, 

  i use 'google-api-php-client' with API VERSION '201309', to implement a 
web application that will help me manage my campaigns. Everything works 
great... i can get the titles of my Accounts/Campaigns/AdGroups, their 
status, etc...

In terms of a campaign, I can also get information about it's Cost, or it's 
total Clicks...

Unfortunately, this happens only for those campaigns whose status is 
'Paused'. If the campaign i'm trying to get info about is 'Active', then 
all i get is zero values.

Is there something i'm missing on this issue; Or maybe there is someone else 
who has encountered this problem in the past; And if so, did he made it to 
solve 
it, and how?

Any help will be greatly appreciated.


Below i quote a portion of my code, relevant to the function ι mentioned.

Thanks in advance!



 $campaignService = $user-GetService('CampaignService', 
$adwords_version);
 $selector = new Selector();
 $selector-fields = array('Id', 'Name', 'Status', 'StartDate', 
'EndDate', 'AdServingOptimizationStatus', 'Amount', 'BudgetName', 
'TargetContentNetwork', 'Period');
 $selector-predicates[] = new Predicate('Id','IN', array($campaignId));

$selector-paging = new Paging(0, 
AdWordsConstants::RECOMMENDED_PAGE_SIZE);
do {
   $page = $campaignService-get($selector);
   if (isset($page-entries)) {
 foreach ($page-entries as $campaign) {
 if ($campaign-status!='DELETED')
{
$cstartdate=$campaign-startDate;

$user-LoadService('ReportDefinitionService', 
$adwords_version);
$selector2 = new Selector();
$selector2-fields = array('CampaignId','Clicks', 
'Cost','AverageCpc');
$selector2-predicates[] = new Predicate('CampaignId','IN', 
array($campaign-id));

$reportDefinition = new ReportDefinition();
$reportDefinition-selector = $selector2;
$reportDefinition-reportName = 'Criteria performance 
report #' . uniqid();
$reportDefinition-dateRangeType ='ALL_TIME';
$reportDefinition-reportType = 
'CRITERIA_PERFORMANCE_REPORT';
$reportDefinition-downloadFormat = 'CSV';
$options = array('version' = $adwords_version, 
'returnMoneyInMicros' = FALSE);
$filePathreport='./reports/campaignreport.txt';
ReportUtils::DownloadReport($reportDefinition, 
$filePathreport, $user, $options);

  
...
  
...
 
...

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.


Changing the OAuth2 client secret

2014-05-14 Thread Rob
Hi,

Is there a way to change the OAuth2 client secret without changing the 
client ID?

From what I can see, the only option is to generate a new client ID and 
secret together, meaning any refresh tokens obtained against the old client 
ID are effectively useless.

If that is the case, what's the point of having a separate ID and secret? 
Surely they should just be a single property of the application.

This appears to be a design flaw with separating authentication from 
authorization. I can't periodically change the client secret as a security 
best practice (like changing your password on a regular basis) without 
having to get all my clients to re-authorize me.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: get list of all client customer id

2014-05-14 Thread Josh Radcliff (AdWords API Team)
Hi Arif,

It sounds like you are trying to manually construct your SOAP messages. I 
recommend using one of our Client 
Librarieshttps://developers.google.com/adwords/api/docs/clientlibraries, 
as they allow you to focus on the AdWords API object model instead of the 
minutiae of SOAP XML.

In each client library you'll find the following to help with your specific 
questions.

   1. A wiki on OAuth2 that walks you through the process of generating an 
   OAuth2 refresh or access token.  For example, the OAuth2 wiki for our Java 
   library is 
herehttps://github.com/googleads/googleads-java-lib/wiki/Using-OAuth2.0
   . 
   2. A GetAccountHierarchy code example under the *accountmanagement* folder 
   that shows how to use the client library to retrieve the list of clients 
   under an MCC. For example, the Java library example is 
herehttps://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201402/accountmanagement/GetAccountHierarchy.java
   .

Cheers,
Josh, AdWords API Team

On Monday, May 12, 2014 8:33:27 PM UTC-4, Syed Arif Ullah Shah wrote:

 Hi,

 I am developing some dashboards based on campaignperformancereport. I have 
 an MCC account and I have around 20 client accounts there. There could be 
 more in future. I want to get the list of all client customer id so that I 
 can send these clientcustomerid to campaignperformancereport one by one. 
 However, I am not able to find any method to achieve this. Can someone 
 please tell me how can I get the list of all clients from MCC client using 
 adwords api

 I need a specific Soap xml request that will return the list of clients. I 
 have tried the below soap request but I am not sure how to get the auth 
 token and secondly the soap requests is giving errors. I am looking for 
 something similar but which is a valid request. I already have an MCC 
 account, and have also created clientid and secret id

 ?xml version=1.0 encoding=UTF-8?
 env:Envelope xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:xsi=
 http://www.w3.org/2001/XMLSchema-instance; xmlns:wsdl=
 https://adwords.google.com/api/adwords/mcm/v201209; xmlns:env=
 http://schemas.xmlsoap.org/soap/envelope/; xmlns:ns0=
 https://adwords.google.com/api/adwords/cm/v201209;
   env:Header
 wsdl:RequestHeader xmlns=
 https://adwords.google.com/api/adwords/cm/v201209;
   userAgentuser-agent/userAgent
   developerTokendeveloper-token/developerToken
   authTokenauth-token/authToken
 /wsdl:RequestHeader
   /env:Header
   env:Body
 get xmlns=https://adwords.google.com/api/adwords/mcm/v201209;
   serviceSelector
 ns0:fieldsLogin/ns0:fields
 ns0:fieldsCustomerId/ns0:fields
 ns0:fieldsName/ns0:fields
   /serviceSelector
 /get
   /env:Body
 /env:Envelope

 Regards
 Arif


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 Unauthorised client error when running GetCampaigns in PHP

2014-05-14 Thread Josh Radcliff (AdWords API Team)
Hi,

Rather than use the OAuth playground to get your refresh token, I'd 
recommend using the 
GetRefreshToken.phphttps://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/Auth/GetRefreshToken.php
 example 
in our PHP library (see also the OAuth2 guide on the library's 
wikihttps://github.com/googleads/googleads-php-lib/wiki/Using-OAuth-2.0). 
Could you give that a try and post back if you still have trouble?

Thanks,
Josh, AdWords API Team

On Tuesday, May 13, 2014 5:43:22 PM UTC-4, newdynam...@gmail.com wrote:

 Hi,

 I have installed the PHP Google Adwords API on my machine. I have created 
 one production and one test MCC account. I have received a developer token 
 for the production account.
 I am getting the error unauthorised_client error when I run the example 
 GetCampaigns.php. In my auth.ini file I have set the values like as below:
 developerToken :as received from Google
 userAgent: company name
 clientCustomerId : my 10 digit account id sepearated by hyphens
 client_id generated by logging into google cloud console
 client_secret generated from google cloud console
 refresh_token generated from Google Oauth Playground - 
 https://developers.google.com/oauthplayground/

 The refresh token is generated by logging into Oauth Playground using the 
 test login. Also, the client-id and client-secret are generated for the 
 test account not the production account. I am getting the same issue wheen 
 using the production details.

 Can you please suggest what is the cause of this issue and how I can 
 resolve it?

 Any help much appreciated.

 Thanks



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Will the API leave modification history log?

2014-05-14 Thread Josh Radcliff (AdWords API Team)
Hi,

Changes made through the API will be visible in the UI via the *View Change 
History* link. From the API you can use the 
CustomerSyncServicehttps://developers.google.com/adwords/api/docs/reference/v201402/CustomerSyncService
 to 
find campaigns, adgroups, etc. that have 
changedhttps://developers.google.com/adwords/api/docs/reference/v201402/CustomerSyncService.CustomerChangeData.
 
The API does not provide a way to find the user who made each change or 
whether the change came from the API or the UI.

Cheers,
Josh, AdWords API Team

On Monday, May 12, 2014 2:30:53 PM UTC-4, r...@raccoon.ag wrote:

 Will the API leave modification history logs? Does it leave any kind of 
 logs that I can access at all?
 How can I find out if any of my accounts is being altered by the API?


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: migrate to Adwords API v201402

2014-05-14 Thread Josh Radcliff (AdWords API Team)
Hi,

I'm not sure which client library you are using, but at the bottom of this 
guidehttps://developers.google.com/adwords/api/docs/guides/clientlogin-to-oauth2-single-mcc
 we 
have links to the *OAuth 2.0 Usage Guides* for each library. Each guide 
will describe how to modify the library's configuration file for OAuth2. If 
you still have trouble after going through the relevant guide please let me 
know.

Thanks,
Josh, AdWords API Team

On Tuesday, May 13, 2014 9:11:13 AM UTC-4, abhijit chaudhari wrote:

 Hi we are migrating to Adword API v201402, and after updating web service 
 references we are getting below errors.

  

 Gateway.Google.ReportDefintionService.SoapHeader RequestHeader =
 new Gateway.Google.ReportDefintionService.SoapHeader();
 RequestHeader.developerToken = connectionInfo.DeveloperToken.Trim();
 RequestHeader.userAgent = UserAgent;
 RequestHeader.*authToken* = authtoken.Trim();

  

 AuthToken property is missing so can you please let us know how we can 
 pass authtoken while making API request,

  

 Thanks in advance.


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Changing the OAuth2 client secret

2014-05-14 Thread Rob
Note that Bing Ads allow changing the client secret for a given ID in their 
Developer Center... it shouldn't be that difficult for Google!

On Wednesday, 14 May 2014 17:37:19 UTC+1, Rob wrote:

 Hi,

 Is there a way to change the OAuth2 client secret without changing the 
 client ID?

 From what I can see, the only option is to generate a new client ID and 
 secret together, meaning any refresh tokens obtained against the old client 
 ID are effectively useless.

 If that is the case, what's the point of having a separate ID and secret? 
 Surely they should just be a single property of the application.

 This appears to be a design flaw with separating authentication from 
 authorization. I can't periodically change the client secret as a security 
 best practice (like changing your password on a regular basis) without 
 having to get all my clients to re-authorize me.


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Recording unit allowance and usage

2014-05-14 Thread Josh Radcliff (AdWords API Team)
The API does not provide a way to get the operation count, but you can use 
the rules explained on the rate 
sheethttps://developers.google.com/adwords/api/docs/ratesheetto calculate the 
count within your application.

Thanks,
Josh, AdWords API Team

On Wednesday, May 14, 2014 12:01:50 PM UTC-4, Alan Coleman wrote:

 Thank Josh,

 I'm getting closer, but what I really want to know is where I can can 
 obtain the operation count, either after each operation or retrospectively.

 Thanks again.

 On Wednesday, May 14, 2014 3:21:28 PM UTC, Josh Radcliff (AdWords API 
 Team) wrote:

 Hi,

 I think the post below covers your questions, but let me know if that's 
 not the case.

 https://groups.google.com/d/msg/adwords-api/a2Me1N3Va_0/gMCxXON5GJoJ

 Thanks,
 Josh, AdWords API Team

 On Wednesday, May 14, 2014 5:47:07 AM UTC-4, Alan Coleman wrote:

 After looking at the Rate Sheet (
 https://developers.google.com/adwords/api/docs/ratesheet) I'm presuming 
 that *units* have been replaced by*operations*.

 I could extract operations usage from the Request Info log but am 
 thinking there must be an easier method, a request of some sort?

 Many thanks

 On Wednesday, May 14, 2014 8:25:52 AM UTC, Alan Coleman wrote:

 Hello everyone,

 I know that our unit allowance is 10,000 units per day.

 I'd like to be able to monitor our usage and store the information so 
 we can plan and adapt our strategy where necessary. Is there any way we 
 can 
 do this?

 There is mention of units in the Request Info log but no figure 
 attached, is there a setting to enable this?

 [May 02 2014 00:00:19.00 - INFO] email= effectiveUser=8588283676 
 service=CampaignService method=get operators={NOT_EQUALS: 2} 
 responseTime=1629 requestId=0004f8647ef7ba680a430e0405ed operations=1 
 *units= 
 *server=adwords.google.com isFault=false faultMessage=null 

 Many thanks.



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Possible to get the list of sites for a campaign's display network?

2014-05-14 Thread Josh Radcliff (AdWords API Team)
Hi,

You can get this data from the Automatic Placements 
Reporthttps://developers.google.com/adwords/api/docs/guides/uireports#autoPlacementsReport.
 
If you aren't familiar with the reporting features of the API, it may be 
helpful to check out the following resources.

   - List of report 
typeshttps://developers.google.com/adwords/api/docs/appendix/reports
   - Reporting 
basicshttps://developers.google.com/adwords/api/docs/guides/reporting

Each client 
libraryhttps://developers.google.com/adwords/api/docs/clientlibrariesalso 
contains at least two reporting examples: one for XML-based report 
requests and one for 
AWQLhttps://developers.google.com/adwords/api/docs/guides/awqlreport requests.

Cheers,
Josh, AdWords API Team

On Monday, May 12, 2014 2:51:29 PM UTC-4, aqn...@gmail.com wrote:

 In the AdWords console, I can get a list of a campaign's display sites in 
 its Display Network tab:


 https://lh4.googleusercontent.com/-7tsP6ae95ow/U3EX4onUsuI/AAY/3jggohu_ZPo/s1600/Screen+Shot+2014-05-12+at+1.32.50+PM.png

 Is there an API to do this programmatically?  I looked through the AdWords 
 API Reference but couldn't find anything.  Thanks!



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Problem in getting Campain's Clicks / Cost when status is Active

2014-05-14 Thread Josh Radcliff (AdWords API Team)
Hi,

I may be asking a silly question, but are you sure that the active 
campaigns actually have clicks (and therefore cost)?

If that's not the issue, could you send some sample campaign IDs *only to 
me* by clicking *Reply to Author*?

Thanks,
Josh, AdWords API Team

On Monday, May 12, 2014 4:03:40 PM UTC-4, Vaios Panourgias wrote:


   Hi, 

   i use 'google-api-php-client' with API VERSION '201309', to implement a 
 web application that will help me manage my campaigns. Everything works 
 great... i can get the titles of my Accounts/Campaigns/AdGroups, their 
 status, etc...

 In terms of a campaign, I can also get information about it's Cost, or 
 it's total Clicks...

 Unfortunately, this happens only for those campaigns whose status is 
 'Paused'. If the campaign i'm trying to get info about is 'Active', then 
 all i get is zero values.

 Is there something i'm missing on this issue; Or maybe there is someone else 
 who has encountered this problem in the past; And if so, did he made it to 
 solve 
 it, and how?

 Any help will be greatly appreciated.


 Below i quote a portion of my code, relevant to the function ι mentioned.

 Thanks in advance!



  $campaignService = $user-GetService('CampaignService', 
 $adwords_version);
  $selector = new Selector();
  $selector-fields = array('Id', 'Name', 'Status', 'StartDate', 
 'EndDate', 'AdServingOptimizationStatus', 'Amount', 'BudgetName', 
 'TargetContentNetwork', 'Period');
  $selector-predicates[] = new Predicate('Id','IN', 
 array($campaignId));

 $selector-paging = new Paging(0, 
 AdWordsConstants::RECOMMENDED_PAGE_SIZE);
 do {
$page = $campaignService-get($selector);
if (isset($page-entries)) {
  foreach ($page-entries as $campaign) {
  if ($campaign-status!='DELETED')
 {
 $cstartdate=$campaign-startDate;

 $user-LoadService('ReportDefinitionService', 
 $adwords_version);
 $selector2 = new Selector();
 $selector2-fields = array('CampaignId','Clicks', 
 'Cost','AverageCpc');
 $selector2-predicates[] = new 
 Predicate('CampaignId','IN', array($campaign-id));

 $reportDefinition = new ReportDefinition();
 $reportDefinition-selector = $selector2;
 $reportDefinition-reportName = 'Criteria performance 
 report #' . uniqid();
 $reportDefinition-dateRangeType ='ALL_TIME';
 $reportDefinition-reportType = 
 'CRITERIA_PERFORMANCE_REPORT';
 $reportDefinition-downloadFormat = 'CSV';
 $options = array('version' = $adwords_version, 
 'returnMoneyInMicros' = FALSE);
 $filePathreport='./reports/campaignreport.txt';
 ReportUtils::DownloadReport($reportDefinition, 
 $filePathreport, $user, $options);

   
 ...
   
 ...
  
 ...



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Modifying CPC bid accross multiple ads by a common factor

2014-05-14 Thread Josh Radcliff (AdWords API Team)
Hi Dom,

Have you considered creating a Shared Bid 
Strategyhttps://developers.google.com/adwords/api/docs/guides/bidding#shared-strategies
 that 
you could use across all of your campaigns? The 
TargetSpendBiddingSchemehttps://developers.google.com/adwords/api/docs/reference/v201402/BiddingStrategyService.TargetSpendBiddingScheme
 may 
be a good fit for your use case.

Also, since you are looking at limiting the *spend* you might want to 
consider using Shared 
Budgetshttps://developers.google.com/adwords/api/docs/guides/shared-budgets. 
With a shared budget you could adjust the spend for all campaigns 
associated with the budget at once.

Cheers,
Josh, AdWords API Team

On Tuesday, May 13, 2014 7:41:51 PM UTC-4, Dominic wrote:

 Hi,

 I'm new to both adwords and the API, so please excuse me if I use terms 
 incorrectly.

 My clients runs several campaigns with a CPC set at the ad level. I would 
 like to adjust their spend based on the number of call handlers they have 
 to available to process new clients. Ideally I would like to allow them to 
 keep the fine grained control and use a multiplier to adjust their spend.

 Ad group level bid modifiers would be ideal for what I want to do, but 
 they are only available for mobile and I need something across all 
 platforms.

 One solution I'm considering is querying their account, getting the CPC 
 for each ad, then modifying them all by a fixed percentage and then locally 
 storing the change, so that I can modify them back again later. I can see 
 two problems with this - firstly I'm sure rounding errors will creep in and 
 compound and secondly if my client changes the CPC for an ad after I've 
 made a global adjustment then that ad will have a price that is out of sync 
 with the other ads.

 If anyone can suggest a solution or point me to and API call I'd 
 overlooked then I'd appreciate it.

 Thanks,

 Dom


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.


Zero Impressions but non-zero clicks in SEARCH_QUERY_PERFORMANCE_REPORT

2014-05-14 Thread AdWordsApiUser
I found today that the query:

SELECT Query, KeywordId, AdGroupId, CampaignId, Impressions, Clicks, Ctr 
 FROM SEARCH_QUERY_PERFORMANCE_REPORT WHERE MatchTypeWithVariant IN 
[PHRASE, EXPANDED, BROAD_SESSION, BROAD, AUTO]  AND Impressions = 0 AND 
Clicks 0 DURING LAST_30_DAYS

is returning rows. The Ctr is set to 0.00. We found this as our condition 
was set to Clicks  0 only, and while calculating Ctr, we got a divide by 
0 error and internal debugging revealed this.

Could someone from the API team comment on this? I believe that this is a 
recent regression.

Thanks!
MG

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Zero Impressions but non-zero clicks in SEARCH_QUERY_PERFORMANCE_REPORT

2014-05-14 Thread Josh Radcliff (AdWords API Team)
Hi MG,

Could you send the following *only to me* by clicking *Reply to Author*?

   - Customer ID for the reporting request
   - The exact report requests you sent (you indicated that you ran this 
   report at least twice: once with *Impressions = 0* and once without it)
   - Any report output you captured, especially any before and after output 
   that shows there was a change in behavior

Thanks,
Josh, AdWords API Team

On Wednesday, May 14, 2014 1:19:15 PM UTC-4, AdWordsApiUser wrote:

 I found today that the query:

 SELECT Query, KeywordId, AdGroupId, CampaignId, Impressions, Clicks, Ctr 
  FROM SEARCH_QUERY_PERFORMANCE_REPORT WHERE MatchTypeWithVariant IN 
 [PHRASE, EXPANDED, BROAD_SESSION, BROAD, AUTO]  AND Impressions = 0 AND 
 Clicks 0 DURING LAST_30_DAYS

 is returning rows. The Ctr is set to 0.00. We found this as our condition 
 was set to Clicks  0 only, and while calculating Ctr, we got a divide by 
 0 error and internal debugging revealed this.

 Could someone from the API team comment on this? I believe that this is a 
 recent regression.

 Thanks!
 MG


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: ContentBid in Adgroups deprecated for all Campaign types?

2014-05-14 Thread Josh Radcliff (AdWords API Team)
Hi Holger,

Recently, AdWords introduced a new type of search + display campaign called 
*Search 
Network with Display Select* (SNDS). This new type of campaign replaces the 
old *Search  Display Networks* campaign type. One of the key differences 
between the two types is that you do not (and cannot) manage the 
*display*network bidding on an SNDS campaign -- AdWords 
manages that aspect of the campaign for 
youhttps://support.google.com/adwords/answer/3437721?hl=en
.

In line with the changes to AdWords, v201402 of the API introduced some new 
options and behavior for new campaigns (see our blog 
posthttp://googleadsdeveloper.blogspot.com/2014/03/changes-required-for-creating-new.html
 on 
this topic), but the most relevant change to your question is that any 
search + display campaigns created via v201402 services will be SNDS 
campaigns, which means that you will get the READ_ONLY error you mentioned 
if you try to change display network bidding on the ad groups of those 
campaigns. I suspect that you are receiving this error on campaigns created 
through v201402 of the API or through the UI after the introduction of SNDS 
campaigns.

Note that you can still modify the content bid for the old *Search  
Display Networks* campaigns created in v201309 or earlier, so this option 
is not completely deprecated. I recommend inspecting the 
displaySelecthttps://developers.google.com/adwords/api/docs/reference/v201402/CampaignService.Campaign#displaySelect
 attribute 
of your campaigns to determine if you should apply a content bid.

Cheers,
Josh, AdWords API Team

On Wednesday, May 14, 2014 12:11:53 PM UTC-4, te...@exelution.com wrote:

 Hello,

 I'm currently trying to track down a problem with the adaptation of the 
 2014 API and its change concerning the contentBid value. There was a Blog 
 Post in January that the contentBid will become READONLY for all Display 
 only campaigns, but I have trouble setting the content bid for any kind of 
 campaign ( of course, most sensibly for a search campaign that also runs on 
 the display network ) and I always receive a READONLY error when I try to 
 set it.

 I wanted to verify the setting is completely deprecated before removing it 
 from our sync script. Since I failed to find anything in the Adwords Blog 
 news beside that change on Display only I turn here.

 Thanks for your time!


 Regards,
  Holger Göbber,  Exelution GmbH


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: campaign conversion count greater than summed adgroup conversion count?

2014-05-14 Thread Josh Radcliff (AdWords API Team)
Hi,

Are any of the campaigns involved *Search  Display Networks*, *Search 
Network with Display Select*, or *Display Network Only* campaigns, or are 
any of the ads *Dynamic Search Ads*?

Thanks,
Josh, AdWords API Team

On Tuesday, May 13, 2014 5:12:08 PM UTC-4, Omar El-Domeiri wrote:

 I've found that number of conversions reported in the 
 CAMPAIGN_PERFORMANCE_REPORT is greater than the sum of conversions in the 
 ADGROUP_PERFORMANCE_REPORT.  

 Similarly for, the sum of the conversions column for the 
 KEYWORD_PERFORMANCE_REPORT is less than the sum for the 
 ADGROUP_PERFORMANCE_REPORT.  

 Why would this be the case?  Shouldn't every conversion be tied to a 
 keyword?


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Zero Impressions but non-zero clicks in SEARCH_QUERY_PERFORMANCE_REPORT

2014-05-14 Thread AdWordsApiUser
Just did. Thanks for your quick reply :-)

On Wednesday, May 14, 2014 11:21:18 PM UTC+5:30, Josh Radcliff (AdWords API 
Team) wrote:

 Hi MG,

 Could you send the following *only to me* by clicking *Reply to Author*?

- Customer ID for the reporting request
- The exact report requests you sent (you indicated that you ran this 
report at least twice: once with *Impressions = 0* and once without it)
- Any report output you captured, especially any before and after 
output that shows there was a change in behavior

 Thanks,
 Josh, AdWords API Team

 On Wednesday, May 14, 2014 1:19:15 PM UTC-4, AdWordsApiUser wrote:

 I found today that the query:

 SELECT Query, KeywordId, AdGroupId, CampaignId, Impressions, Clicks, Ctr 
  FROM SEARCH_QUERY_PERFORMANCE_REPORT WHERE MatchTypeWithVariant IN 
 [PHRASE, EXPANDED, BROAD_SESSION, BROAD, AUTO]  AND Impressions = 0 AND 
 Clicks 0 DURING LAST_30_DAYS

 is returning rows. The Ctr is set to 0.00. We found this as our condition 
 was set to Clicks  0 only, and while calculating Ctr, we got a divide by 
 0 error and internal debugging revealed this.

 Could someone from the API team comment on this? I believe that this is a 
 recent regression.

 Thanks!
 MG



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.


ERROR_GETTING_RESPONSE_FROM_BACKEND when including CampaignId in PLACEHOLDER_FEED_ITEM_REPORT

2014-05-14 Thread Jeremy Aube
I'm trying to get a PLACEHOLDER_FEED_ITEM_REPORT that includes CampaignId, 
but so far I keep getting this error:

AdwordsApi::Errors::ReportXmlError - HTTP code: 500, error type: 
'ReportDownloadError.ERROR_GETTING_RESPONSE_FROM_BACKEND', trigger: 'Unable 
to read report data', field path: '':

The report works just fine if I remove the CampaignId field. Other fields 
like CampaignName, AdGroupId, and AdGroupName result in the same error. 

Other attribute fields are working fine. For example, I can include 
AttributeValues, FeedId, or FeedItemId without any problems. 

I saw another post where the issue seemed to have something to do with not 
including any metrics, but I am requesting metrics. There was also another 
post regarding an implied campaign_id, but I don't think that applies here.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Migrating on Google App Engine

2014-05-14 Thread Josh Radcliff (AdWords API Team)
Hi Amr,

Could you be more specific on a detailed guide on how to create a complete 
web solution? This could mean a variety of things, from basic examples to 
a recommendation on architecture and design decisions. The API team can 
help you with questions on how to use the API, but the larger questions of 
how to design your application overall are up to you.

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


Re: Criteria predicate in audience performance report

2014-05-14 Thread Josh Radcliff (AdWords API Team)
Hi Ashish,

You could do this by setting up a 
BiddableAdGroupCriterionhttps://developers.google.com/adwords/api/docs/reference/v201402/AdGroupCriterionService.BiddableAdGroupCriterion
 with 
the criterion set to your list and the various bidding 
optionshttps://developers.google.com/adwords/api/docs/reference/v201402/AdGroupCriterionService.BiddableAdGroupCriterion#bidModifierconfigured
 as needed.

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


Re: How do I use the TrafficEstimatorService in the PHP library with Verticals?

2014-05-14 Thread Scott Luther
Hi Ray,

Unfortunately, that doesn't work. The docs say that only Location and 
Language are supported, and when I try to add a Vertical, this error is 
thrown:

SoapFault: [NotEmptyError.EMPTY_LIST @ 
selector.campaignEstimateRequests[0].adGroupEstimateRequests[0].keywordEstimateR,
 
RequestError.UNSUPPORTED_TYPE_IS_USED @ 
selector.campaignEstimateRequests[0].criteria.criteria[2]; 
trigger:'com.google.ads.api.services.campaignmgmt.common.criterion.Vertical']



On Wednesday, May 14, 2014 3:00:40 AM UTC-7, Ray Tsang (AdWords API Team) 
wrote:

 Scott,

 I feel this example PHP 
 filehttps://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201402/Optimization/EstimateKeywordTraffic.phpcould
  be a good starting point.  You can add 
 a Vertical 
 criteriahttps://developers.google.com/adwords/api/docs/reference/v201402/TrafficEstimatorService.CampaignEstimateRequest,
  
 e.g.,

 $vertical = ... // vertical retrieved from the ConstantDataService
 $campaignEstimateRequest-criteria[] = $vertical; // append the array w/ 
 the vertical criterion.

 Cheers,

 Ray


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.