Can I relate 2 different feeds to an AdGroup for text sitelinks?

2014-04-16 Thread Paris Theofanidis
Hi, we're using the API to automatically generate and update our sitelinks. 
However in some cases our SEM experts want to add/edit sitelinks directly 
from the AdWords tool.
So, my questions are


   1. Can I relate two Feeds on an AdGroup for sitelinks placeholder?
   2. If an AdGroup already has sitelinks attached from FeedA but not 
   sitelinks from FeedB. Should I ADD or SET the operations of FeedB
   3. If an AdGroup has sitelinks from FeedB and I want just add another 
   sitelink from the same feed. Do I have to remap all the sitelinks from 
   FeedB or just the new one? (According to my tests atm SET will replace any 
   existing sitelinks from the same Feed, but asking just for clarity).

Also, another question (irrelevant to the first subject), is there some 
class that can parse the SOAP exceptions and give back meaningful (to code) 
errors list?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Can I relate 2 different feeds to an AdGroup for text sitelinks?

2014-04-16 Thread Paris Theofanidis
Answer to first question is NO! An AdGroup cannot be associated to 2 
different Feeds at the same time!
Still looking for the answer to the second question... any indication would 
be appreciated. 

On Wednesday, 16 April 2014 12:06:34 UTC+2, Paris Theofanidis wrote:

 Hi, we're using the API to automatically generate and update our 
 sitelinks. However in some cases our SEM experts want to add/edit sitelinks 
 directly from the AdWords tool.
 So, my questions are


1. Can I relate two Feeds on an AdGroup for sitelinks placeholder?
2. If an AdGroup already has sitelinks attached from FeedA but not 
sitelinks from FeedB. Should I ADD or SET the operations of FeedB
3. If an AdGroup has sitelinks from FeedB and I want just add another 
sitelink from the same feed. Do I have to remap all the sitelinks from 
FeedB or just the new one? (According to my tests atm SET will replace any 
existing sitelinks from the same Feed, but asking just for clarity).

 Also, another question (irrelevant to the first subject), is there some 
 class that can parse the SOAP exceptions and give back meaningful (to code) 
 errors list?


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


Question about Paging

2014-04-16 Thread Visar
Hi Guys,

I just had a question about paging. When performing a get operation, is 
there any reason to use paging and advance the paging index, i.e. is there 
any reason I should not be directly looping through the results like this:

$page = $campaignCriterionService-get($selector);
foreach ($page-entries as $schedule) {
  printf(CampaignID:  . $schedule-campaignId .   ID:  . 
$schedule-criterion-id . \n);
}

Thanks
Visar


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Can I modify the target URL of an ad programmatically?

2014-04-16 Thread Zweitze
Is this behavior new?
Previously (for 8 years) you could only update the ad status, and this is 
also mentioned in the docs.

To achieve the behavior, you should delete the ad, and create a similar ad 
with the new destination URL. Note that you loose the statistics of the 
original ad - so if we can now update other attributes of ads I'd like to 
know!


Op maandag 14 april 2014 18:47:39 UTC+2 schreef Michael Cloonan (AdWords 
API Team):

 Hi Dmitri,

 Yes, you can modify the URL target of ads programmatically. Take a look at 
 TextAdhttps://developers.google.com/adwords/api/docs/reference/v201402/AdGroupAdService.TextAdin
  our documentation. You can modify these using a SET operation setting 
 the specific ad you want in the 
 AdGroupAdServicehttps://developers.google.com/adwords/api/docs/reference/v201402/AdGroupAdService
 .

 Regards,
 Mike, AdWords API Advisor

 On Monday, April 14, 2014 2:04:43 AM UTC-4, Dmitri Pisarenko wrote:

 Hello,

 Imagine, I have a shop at http://myshop.com.

 Every item has its own page:

 1) http://myshop.com/product-1
 2) http://myshop.com/product-2

 I have a Google AdWords ad with display URL http://myshop.com/ .

 AFAIK, the real URL can be any URL on the domain myshop.com, which means 
 that I can direct the user to

 1) http://myshop.com/ ,
 2) http://myshop.com/product-1 and
 3) http://myshop.com/product-2 .

 I want to run an experiment and find out, whether people buy more when 
 after the click they see all products ( http://myshop.com/ ) or one 
 particular product (e. g. http://myshop.com/product-1 ).

 Therefore, I want to create a program, which

 1) Has a hard-coded list of product URLs ( http://myshop.com/product-1 , 
 http://myshop.com/product-2 ).

 2) At the beginning, the target URL of the ad is 
 http://myshop.com/product-1 .

 3) The program looks in regular intervals, which products are sold.

 4) When it notices that http://myshop.com/product-1 has been sold, it 
 modifies the ad so that now it points to http://myshop.com/product-2 .

 Question: Is it possible with Google AdWords API to change the target URL 
 of an existing ad?

 Thanks

 Dmitri



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: AdHoc Reports and API connection issues: 'The remote server returned an error: (400) Bad Request' and 'An existing connection was forcibly closed by the remote host'. Quota problem?

2014-04-16 Thread Zweitze
I understand that you use .NET.

When you get a WebException with HTTP 400, do download the response: take 
WebException.Response, cast it to HttpWebResponse, then call it's 
GetResponseStream() method.
You will find some XML with more info on the problem with the request.

My guess: your code fails about an hour after the AccessToken was 
retrieved, and you are using OAuth2. OAuth2 access tokens are only valid 
for an hour, after that you should obtain a new AccessToken.

(Note: I don't use the .NET library for retrieving reports. If you do, the 
library should parse the WebException and retrieve the info from the 
WebException. But, I believe the library contains an error that expired 
AccessTokens will not be renewed automatically.)

Hope this helps.


On Tuesday, April 8, 2014 8:29:59 PM UTC+2, Brett Rogers wrote:

 Scenario:

 We have a daily task that downloads AdWords AdHoc reports for our MCC 
 account's accounts, campaigns, ad groups, and ads to synchronize them with 
 our local database. We have multiple accounts in our MCC and each account 
 has large quantities of ad groups, so we download quite a bit of data. This 
 process worked great until a few weeks ago, when we started the following 
 error part of the way through the process:

 - The remote server returned an error: (400) Bad Request.

 Once this error occurs on the main daily task computer, we see the 
 following:

 - AdHoc Reports requests initiated from that computer fail after a handful 
 of requests
 - AdWords API requests initiated from that computer fail with this error:
 -- An existing connection was forcibly closed by the remote host

 BUT, if we then launch this same daily task from another computer, it will 
 successfully complete everything and API requests will also work, i.e., the 
 same auth credentials work elsewhere, just not from that computer.

 Ideas? Are we running into some kind of IP or computer-based quota?

 FYI - we're using the latest API version - v201402, but the problem was 
 also occurring with v201309 before we recently upgraded. 


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


KEYWORDS_PERFORMANCE_REPORT Incorrect Data

2014-04-16 Thread lasha
Hello

I'm trying to get YESTERDAY's keyword performance data. When ever I use 
selector and specify campaigns I want to get data from it provides correct 
data. But when I remove selector and trying to get all yesterdays 
performance the data I receive is incorrect.

Any clue what can be wrong?


?php
/**
 * This example downloads a criteria report to a file.
 *
 * Copyright 2012, Google Inc. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the License);
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an AS IS BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * @packageGoogleApiAdsAdWords
 * @subpackage v201309
 * @category   WebServices
 * @copyright  2012, Google Inc. All Rights Reserved.
 * @licensehttp://www.apache.org/licenses/LICENSE-2.0 Apache License,
 * Version 2.0
 * @author Eric Koleda
 */

// Include the initialization file
require_once dirname(dirname(__FILE__)) . '/init.php';

require_once ADWORDS_UTIL_PATH . '/ReportUtils.php';

/**
 * Runs the example.
 * @param AdWordsUser $user the user to run the example with
 * @param string $filePath the path of the file to download the report to
 */
function DownloadCriteriaReportExample(AdWordsUser $user, $filePath) {
  // Load the service, so that the required classes are available.
  $user-LoadService('ReportDefinitionService', ADWORDS_VERSION);

  // Create selector.
  $selector = new Selector();
  $selector-fields = 
array('Id','CampaignId','AdGroupId','KeywordText','KeywordMatchType','Clicks','AveragePosition','Impressions','Cost','AverageCpc','Device','QualityScore','Status','MaxCpc','Date');

  // Filter out deleted criteria.
  
  //$selector-predicates[] = new Predicate('CampaignId', 'IN', 
array(164051439,164051319,164051559));

  // Create report definition.
  $reportDefinition = new ReportDefinition();
  $reportDefinition-selector = $selector;
  $reportDefinition-reportName = 'ACCOUNT #' . uniqid();
  $reportDefinition-dateRangeType = 'YESTERDAY';
  $reportDefinition-reportType = 'KEYWORDS_PERFORMANCE_REPORT';
  $reportDefinition-downloadFormat = 'XML';

  // Exclude criteria that haven't recieved any impressions over the date 
range.
  $reportDefinition-includeZeroImpressions = FALSE;

  // Set additional options.
  $options = array('version' = ADWORDS_VERSION, 'returnMoneyInMicros' = 
TRUE);

  // Download report.
  ReportUtils::DownloadReport($reportDefinition, $filePath, $user, 
$options);
  echo 'pre';
  print_r ($filePath);
  printf(Report with name '%s' was downloaded to '%s'.\n,
  $reportDefinition-reportName, $filePath);
}

// Don't run the example if the file is being included.
if (__FILE__ != realpath($_SERVER['PHP_SELF'])) {
  // return;
}

try {
  // Get AdWordsUser from credentials in ../auth.ini
  // relative to the AdWordsUser.php file's directory.
  $user = new AdWordsUser();

  // Log every SOAP XML request and response.
  // $user-LogAll();

  // Download the report to a file in the same directory as the example.
  $filePath = dirname(__FILE__) . '/keywords_yesterday.xml';

  // Run the example.
  DownloadCriteriaReportExample($user, $filePath);
} catch (Exception $e) {
  printf(An error has occurred: %s\n, $e-getMessage());
}

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: ETA on AdGroup Platform Target Report?

2014-04-16 Thread Alex
We need this too. Hopefully it will make it in the next API-version.

Am Freitag, 24. Januar 2014 11:01:55 UTC+1 schrieb Danial Klimkin:

 Hello Matt,


 Unfortunately we can't commit on any feature or timeline before an actual 
 release. I'll make sure this feature request is logged though.


 -Danial, AdWords API Team.


 On Wednesday, January 22, 2014 12:38:07 AM UTC+4, Matt Linscott wrote:

 We really need a more efficient way of fetching the mobile bid modifiers 
 at the ad group level for an entire account. It's been four months since 
 the last major release (v201309) of the adwords API so I'm hoping to see a 
 new library version any time now, but will it have the AdGroup Platform 
 Target report type so we can bulk download bid modifiers?



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


aw-reporting configuration - log4j/slf4j errors

2014-04-16 Thread Thibault Quillard
Hi everyone,
I am quite new to the AW API world and wanted to use the github project 
AW-Reporting to pull the data in my own database. 

However, running the project gives me 3 mistakes : 

1) No appenders could be found for logger / Please initialize log4j properly

2) Failed to load class org.slfj4.impl.StaticLoggerBinder

3) Unexpected error accessing the API: Could not open hibernate  Session 
for transaction


For the first two issues, I have been searching on google and tried to add 
a logj4.properties file in the class folder, but without luck. 

Would you know what could the problem come from ?

Thanks !
Thibault

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: KEYWORDS_PERFORMANCE_REPORT Incorrect Data

2014-04-16 Thread lasha
Resolved. Problem was on my side.
Duplicate Keyword ID.

I was not aware that same keyword may have same ID in different ad groups.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: AdHoc Reports and API connection issues: 'The remote server returned an error: (400) Bad Request' and 'An existing connection was forcibly closed by the remote host'. Quota problem?

2014-04-16 Thread Brett Rogers
Hah, funny you should mention that Zweitze - that's exactly what I found 
last night.

The AdWords .NET library dev responded in private, offering to help me with 
my issue. He suggested I enable .NET tracing to log the raw HTTP requests. 
Once I did that, I found an XML response in the trace file when the errors 
occurred:

   - AuthenticationError.OAUTH_TOKEN_INVALID

I then realized that I was running into the report download errors a little 
more than an hour into my sync process - so it seemed like my oauth token 
was expiring after an hour. I'm syncing a large # of accounts but we were 
re-using the AdWords user objects, keeping them in memory instead of 
re-creating them, but I first do all campaigns, then all ad groups, then 
all ads. This means that each account gets used 1 time, then can wait more 
than an hour before it's used again for the next type. 

At any rate, I added code to refresh the AdWords user objects if an error 
was encountered, getting new tokens, and it seems to have solved my report 
downloads issue. I forgot to implement it in one part of my sync process, 
so I didn't get a clean result last night, but expect to on my next run. 

Marked your reply as the answer. Thanks for your insight.

On Wednesday, April 16, 2014 5:15:08 AM UTC-7, Zweitze wrote:

 I understand that you use .NET.

 When you get a WebException with HTTP 400, do download the response: take 
 WebException.Response, cast it to HttpWebResponse, then call it's 
 GetResponseStream() method.
 You will find some XML with more info on the problem with the request.

 My guess: your code fails about an hour after the AccessToken was 
 retrieved, and you are using OAuth2. OAuth2 access tokens are only valid 
 for an hour, after that you should obtain a new AccessToken.

 (Note: I don't use the .NET library for retrieving reports. If you do, the 
 library should parse the WebException and retrieve the info from the 
 WebException. But, I believe the library contains an error that expired 
 AccessTokens will not be renewed automatically.)

 Hope this helps.


 On Tuesday, April 8, 2014 8:29:59 PM UTC+2, Brett Rogers wrote:

 Scenario:

 We have a daily task that downloads AdWords AdHoc reports for our MCC 
 account's accounts, campaigns, ad groups, and ads to synchronize them with 
 our local database. We have multiple accounts in our MCC and each account 
 has large quantities of ad groups, so we download quite a bit of data. This 
 process worked great until a few weeks ago, when we started the following 
 error part of the way through the process:

 - The remote server returned an error: (400) Bad Request.

 Once this error occurs on the main daily task computer, we see the 
 following:

 - AdHoc Reports requests initiated from that computer fail after a 
 handful of requests
 - AdWords API requests initiated from that computer fail with this error:
 -- An existing connection was forcibly closed by the remote host

 BUT, if we then launch this same daily task from another computer, it 
 will successfully complete everything and API requests will also work, 
 i.e., the same auth credentials work elsewhere, just not from that computer.

 Ideas? Are we running into some kind of IP or computer-based quota?

 FYI - we're using the latest API version - v201402, but the problem was 
 also occurring with v201309 before we recently upgraded. 



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: CustomerSyncService - TOO_MANY_CHANGES

2014-04-16 Thread Michael Cloonan (AdWords API Team)
Hi Gopi,

Unfortunately, I do not believe there is such a way to identify which 
specific campaign is causing the issue. The documentation for this 
errorhttps://developers.google.com/adwords/api/docs/reference/v201402/CustomerSyncService.CustomerSyncErrorhas
 some suggestions on workaround when this comes up:

There have been too many changes to sync the campaign over the requested 
 date/time range. To avoid this error, try specifying a smaller date/time 
 range. If this does not work, you should assume that everything has changed 
 and retrieve the objects using their respective services.


In addition, similar to specifying a smaller time range, you could write 
your program to do smaller batches of campaigns, or one campaign at a time, 
so that failures in one campaign don't affect your ability to fetch data 
for other campaigns in a more automated way.

Regards,
Mike, AdWords API Advisor

On Friday, April 11, 2014 7:31:28 PM UTC-4, Gopi wrote:

 We have 1000s of campaigns, we group campaigns keys and try to retrieve 
 the campaign change data for group of campaign keys and process the change 
 data. If one campaign has TOO MANY CHANGES, the entire API fails and we end 
 up making multiple api calls to find out the change data for these 
 campaigns. We have no way to identify the culprit campaign ids. Is there a 
 way to identify the subset of campaign ids that are causing the problem ?

 Thanks
 Gopi


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: CustomerSyncService - TOO_MANY_CHANGES

2014-04-16 Thread Gopi
Mike, 

  Thanks for conforming this. 

  The work around looks good if we are trying to get the changes for a 
single campaign. Where are a bulk of campaign ids, its not a feasible 
solution.

Thanks
Gopi

On Wednesday, April 16, 2014 12:06:17 PM UTC-7, Michael Cloonan (AdWords 
API Team) wrote:

 Hi Gopi,

 Unfortunately, I do not believe there is such a way to identify which 
 specific campaign is causing the issue. The documentation for this 
 errorhttps://developers.google.com/adwords/api/docs/reference/v201402/CustomerSyncService.CustomerSyncErrorhas
  some suggestions on workaround when this comes up:

 There have been too many changes to sync the campaign over the requested 
 date/time range. To avoid this error, try specifying a smaller date/time 
 range. If this does not work, you should assume that everything has changed 
 and retrieve the objects using their respective services.


 In addition, similar to specifying a smaller time range, you could write 
 your program to do smaller batches of campaigns, or one campaign at a time, 
 so that failures in one campaign don't affect your ability to fetch data 
 for other campaigns in a more automated way.

 Regards,
 Mike, AdWords API Advisor

 On Friday, April 11, 2014 7:31:28 PM UTC-4, Gopi wrote:

 We have 1000s of campaigns, we group campaigns keys and try to retrieve 
 the campaign change data for group of campaign keys and process the change 
 data. If one campaign has TOO MANY CHANGES, the entire API fails and we end 
 up making multiple api calls to find out the change data for these 
 campaigns. We have no way to identify the culprit campaign ids. Is there a 
 way to identify the subset of campaign ids that are causing the problem ?

 Thanks
 Gopi



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: IP Blocking via API Issue

2014-04-16 Thread Michael Cloonan (AdWords API Team)
Hi,

I was also able to reproduce this, despite the documentation saying that 
these masks should be accepted. I'm going to file a bug for this so we can 
investigate further. I will update this thread when I hear more information.

Regards,
Mike, AdWords API Advisor

On Monday, April 14, 2014 3:21:25 PM UTC-4, Jon wrote:


 I'm using the new IP blocking functionality added in V201402 (
 https://developers.google.com/adwords/api/docs/reference/v201402/CampaignCriterionService.IpBlock),
  
 but having an issue trying to block anything but a single IP. That link 
 shows that we should be able to block Class C network using a mask, but I 
 get an invalid IP address method when I try to block 70.210.9.1/24:

 SOAP-ENV:Envelope xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
 xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/; 
 SOAP-ENV:HeaderRequestHeader xmlns=
 https://adwords.google.com/api/adwords/cm/v201402;clientCustomerId 
 xmlns=https://adwords.google.com/api/adwords/cm/v201402;REDACTED/clientCustomerIddeveloperToken
  
 xmlns=https://adwords.google.com/api/adwords/cm/v201402;REDACTED/developerTokenuserAgent
  
 xmlns=https://adwords.google.com/api/adwords/cm/v201402;REDACTED/userAgentvalidateOnly
  
 xmlns=https://adwords.google.com/api/adwords/cm/v201402;false/validateOnlypartialFailure
  
 xmlns=https://adwords.google.com/api/adwords/cm/v201402;false/partialFailure/RequestHeader/SOAP-ENV:HeaderSOAP-ENV:Bodymutate
  
 xmlns=https://adwords.google.com/api/adwords/cm/v201402;operationsoperatorADD/operatoroperand
  
 xsi:type=NegativeCampaignCriterion 
 campaignId181798627/campaignIdcriterion xsi:type=IpBlock 
 ipAddress70.210.9.1/24
 /ipAddress/criterion/operand/operations/mutate/SOAP-ENV:Body/SOAP-ENV:Envelope

 [14 Apr 2014 18:57:31,612 - INFO ] Incoming response:

 soap:Envelope 
 xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;soap:HeaderResponseHeader
  
 xmlns=https://adwords.google.com/api/adwords/cm/v201402;requestId0004f705416b1e980ae67d823d24/requestIdserviceNameCampaignCriterionService/serviceNamemethodNamemutate/methodNameoperations0/operationsresponseTime309/responseTime/ResponseHeader/soap:Headersoap:Bodysoap:Faultfaultcodesoap:Server/faultcodefaultstring[CriterionError.INVALID_IP_ADDRESS
  
 @ 
 operations[0].operand.criterion.ipAddress]/faultstringdetailApiExceptionFault
  
 xmlns=https://adwords.google.com/api/adwords/cm/v201402;message[CriterionError.INVALID_IP_ADDRESS
  
 @ 
 operations[0].operand.criterion.ipAddress]/messageApplicationException.TypeApiException/ApplicationException.Typeerrors
  
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
 xsi:type=CriterionErrorfieldPathoperations[0].operand.criterion.ipAddress/fieldPathtrigger/triggererrorStringCriterionError.INVALID_IP_ADDRESS/errorStringApiError.TypeCriterionError/ApiError.TypereasonUNKNOWN/reason/errors/ApiExceptionFault/detail/soap:Fault/soap:Body/soap:Envelope

 Plain IPs (70.210.9.1) and using a /32 (70.210.9.1/32) both work fine, 
 which implies (along with the docs) that I should be using the format 
 above. I also tried with 70.210.9.* as the UI uses but get the same error 
 there.

 Ideas?


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Can anyone add some details to the READ_ONLY error?

2014-04-16 Thread Michael Cloonan (AdWords API Team)
Hi,

You can read more about the 
ReadOnlyErrorhttps://developers.google.com/adwords/api/docs/reference/v201402/AdGroupService.ReadOnlyErrorin
 the documentation. This error can be returned from myriad different 
services. It means that you attempted to put a value in a read-only field, 
which is causing the update to be rejected. Without more information about 
the specific query you're trying to execute, I can't determine which field 
this might be.

Regards,
Mike, AdWords API Advisor

On Tuesday, April 15, 2014 5:07:24 AM UTC-4, Alan Coleman wrote:

 Hello,

 Can anyone shed any light on the READ_ONLY error I'm receiving when 
 attempting to create AdGroups in campaigns?

 The users of the app maintain that they've never seen anything in AdWords 
 that resembles setting anything to READ_ONLY.

 As always, any help would be appreciated.

 Thank you


 3488ADGROUP[ReadOnlyError.READ_ONLY @ 
 operations[0].operand.biddingStrategyConfiguration.bids[0].contentBid, 
 ReadOnlyError.READ_ONLY @ 
 operations[1].operand.biddingStrategyConfiguration.bids[0].contentBid]


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Couldn't get an Access Token

2014-04-16 Thread Michael Cloonan (AdWords API Team)
Hi,

Have you made sure that you set up an installed application in the Google 
Developer Console, rather than a web application? This should hopefully 
resolve the issue you are seeing.

Regards,
Mike, AdWords API Advisor

On Tuesday, April 15, 2014 6:23:53 AM UTC-4, İbrahim Öztürkcan wrote:

 I can't migrate to new version of AdWords API on my console application.
 All I need is an access token.
 The software provided to get it doesn't work for me.
 I'm stucking at the last step. 
 Because of there should be a redirect URL, so it redirects me to 
 localhost:8080 and therefore I couldnt get the token.
 Do you think is it hidden somewhere like generates a log file and keeps 
 the token?

 regards.


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 Service Proper Filter Setting with .NET Client Library?

2014-04-16 Thread Michael Cloonan (AdWords API Team)
Hi,

Yes, the proper way to request information from a child account of the MCC 
is to specify the clientCustomerId header in the SOAP request. You cannot 
make requests to get all campaigns within all child accounts of the MCC at 
once; each individual request will only be for a single child account. If 
you're managing multiple child accounts, then I believe the way you've 
shown is the best way to accomplish this.

Regards,
Mike, AdWords API Advisor

On Tuesday, April 15, 2014 9:31:50 AM UTC-4, apiapi wrote:

 Downloaded v17.0 of the .NET API library, using the included sample code.

 The sample to enumerate accounts using 
 AdWordsService.v201402.ManagedCustomerService has not problems using my MCC 
 as a root to make a recursive query, code successfully enumerates all MCCs 
 under it and other accounts (we are a large mature organization and have a 
 lot of Accounts).

 Using the sample code from GetCampaigns, it shows 0 campaigns. I know 
 that there are dozens and dozens of campaigns within my MCC account 
 structure. It turns out that the sample does not take any kind of hierarchy 
 into consideration and only looks for campaigns within my master MCC. I had 
 to hack an instance of the CampaignService in the following manner:

 var svc = (CampaignService)adwordsUser.GetService( 
 AdWordsService.v201402.CampaignService );
 svc.RequestHeader = new RequestHeader
 {
 Version = v201402 ,
 GroupName = mcm ,
 userAgent =  myapp (AwApi-DotNet/16.7.0, Common-Dotnet/2.2.0, .NET 
 CLR/4.0.30319.18444, gzip) ,
 developerToken = somethinghardcoded ,
 clientCustomerId = 
 };


 By setting the clientCustomerId I was able to specify an account under my 
 MCC and then get campaigns.

 Adwords support - is this the proper way to do this?

 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: AdWordsService.v201402.CampaignService Fail to Enumerate Some Campaigns

2014-04-16 Thread Michael Cloonan (AdWords API Team)
Hi,

I do not believe this error message has anything to do with specific 
campaigns. Rather, it's an issue with the access token you're using to make 
the request. Access tokens are only valid for a short amount of time, so if 
you're enumerating enough things there's a chance the one you generated 
when initially instantiating the service expires before you're finished. Is 
this a sporadic error or is it occurring after a certain amount of time?

Regards,
Mike, AdWords API Advisor

On Tuesday, April 15, 2014 9:37:24 AM UTC-4, apiapi wrote:

 Downloaded v17.0 of the .NET API library, using the included sample code.

 Enumerating all campaigns for an account with 
 AdWordsService.v201402.CampaignService, some of the data throws an 
 Exception invalid header. I think the levels of indirection within the 
 .NET wrapper and masking the actual problem with particular campaigns - I 
 have over 100 campaigns within a particular account, and they all show in 
 the Adwords GUI, but some of them are making the wrapper throw.

 The exact error is


 Failed to get access token for service account.
 {
   error : invalid_request
 }
  

 I am using a SERVICE_ACCOUNT to do the query, which works fine in other 
 API operations, so I think there is something special about certain 
 campaigns.
  
  
 Please help me understand how to get info from all Campaigns, or figure 
 out how to best trap those with errors.


 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: Can I modify the target URL of an ad programmatically?

2014-04-16 Thread Michael Cloonan (AdWords API Team)
Hi,

It appears you're correct; ads are indeed immutable. I'm sorry for the 
misinformation. I'm going to try to improve the documentation in the WSDL 
so that I (and hopefully others) don't make the same mistake again.

Regards,
Mike, AdWords API Advisor

On Wednesday, April 16, 2014 7:34:01 AM UTC-4, Zweitze wrote:

 Is this behavior new?
 Previously (for 8 years) you could only update the ad status, and this is 
 also mentioned in the docs.

 To achieve the behavior, you should delete the ad, and create a similar ad 
 with the new destination URL. Note that you loose the statistics of the 
 original ad - so if we can now update other attributes of ads I'd like to 
 know!


 Op maandag 14 april 2014 18:47:39 UTC+2 schreef Michael Cloonan (AdWords 
 API Team):

 Hi Dmitri,

 Yes, you can modify the URL target of ads programmatically. Take a look 
 at 
 TextAdhttps://developers.google.com/adwords/api/docs/reference/v201402/AdGroupAdService.TextAdin
  our documentation. You can modify these using a SET operation setting 
 the specific ad you want in the 
 AdGroupAdServicehttps://developers.google.com/adwords/api/docs/reference/v201402/AdGroupAdService
 .

 Regards,
 Mike, AdWords API Advisor

 On Monday, April 14, 2014 2:04:43 AM UTC-4, Dmitri Pisarenko wrote:

 Hello,

 Imagine, I have a shop at http://myshop.com.

 Every item has its own page:

 1) http://myshop.com/product-1
 2) http://myshop.com/product-2

 I have a Google AdWords ad with display URL http://myshop.com/ .

 AFAIK, the real URL can be any URL on the domain myshop.com, which 
 means that I can direct the user to

 1) http://myshop.com/ ,
 2) http://myshop.com/product-1 and
 3) http://myshop.com/product-2 .

 I want to run an experiment and find out, whether people buy more when 
 after the click they see all products ( http://myshop.com/ ) or one 
 particular product (e. g. http://myshop.com/product-1 ).

 Therefore, I want to create a program, which

 1) Has a hard-coded list of product URLs ( http://myshop.com/product-1, 
 http://myshop.com/product-2 ).

 2) At the beginning, the target URL of the ad is 
 http://myshop.com/product-1 .

 3) The program looks in regular intervals, which products are sold.

 4) When it notices that http://myshop.com/product-1 has been sold, it 
 modifies the ad so that now it points to http://myshop.com/product-2 .

 Question: Is it possible with Google AdWords API to change the target 
 URL of an existing ad?

 Thanks

 Dmitri



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


Define authintication programatically

2014-04-16 Thread DanielR

Hello experts,
I was asked to set up a system for an agency that provides AdWords 
management services to other businesses.
The main webapplication needs to show all sort of statistics and processed 
data according to the customers preferences,
from the agency's DB and Google AdWords as well.

In all of my testings, the only way that I was able to fetch the data from 
the AdWords API was to login to the master Google Account,
or give permissions to a certain campaign to another Google account and 
login with it.

Is there a way to programatically define the master MCC account details 
and fetch the relevant data for every campaign request using our own 
mapping between the user and the Client ID from the MCC?

Thanks,
*Daniel.*

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Can anyone add some details to the READ_ONLY error?

2014-04-16 Thread ignacio . navas . kaufda
Hello Alan,

I do have a similar problem with the API: while trying to upload AdGroups, 
Keywords and Text Ads to our existing campaings we receive this so called 
REadOnlyError.READ_ONLY. 


It would be helpful if someone from the Google Team could help us with this 
problem, or if you found the solution, please post it here so that we can 
have a look at it.


Thank you!




On Tuesday, 15 April 2014 11:07:24 UTC+2, Alan Coleman wrote:

 Hello,

 Can anyone shed any light on the READ_ONLY error I'm receiving when 
 attempting to create AdGroups in campaigns?

 The users of the app maintain that they've never seen anything in AdWords 
 that resembles setting anything to READ_ONLY.

 As always, any help would be appreciated.

 Thank you


 3488ADGROUP[ReadOnlyError.READ_ONLY @ 
 operations[0].operand.biddingStrategyConfiguration.bids[0].contentBid, 
 ReadOnlyError.READ_ONLY @ 
 operations[1].operand.biddingStrategyConfiguration.bids[0].contentBid]


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Value Track parameters for Product Group and Product Target IDs

2014-04-16 Thread Thor Hanks
Note, for future reference, this has now been answered in the Content API 
forum:

https://groups.google.com/forum/#!topic/google-content-api-for-shopping/OhJykaWnzIE

*Both parameters refer to the same thing, the CriterionId of either the 
Product (for PLA) or ProductPartition (for Shopping campaigns) 
AdGroupCriteria. From now you should probably use product_partition_id in 
any new code.*

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


THIS ERROR IS KILLING ME [QuotaCheckError.INCOMPLETE_SIGNUP @ ; trigger:'null']

2014-04-16 Thread Hossein Hessami

but when we call the API for the test account we receive the following 
error.
 
 An error has occurred: [QuotaCheckError.INCOMPLETE_SIGNUP @ ; 
trigger:'null'] 
 
 
we have followed a list of google documentation and we have checked so many 
different forums to solve this issue 

I have a Developer Adwords MCC Account with ID: ###-###-# 225-227-1822###
My current pending Developer Token is: The actual Token
 
billing information has been activated 
we have accepted the terms and conditions and we have the signed 
e-agreement received by google api team
 
and my MCC Test Account ID is: ###-###-# 268-561-8261###
I activated the cloud api and OAUTH for this test account and also I have  
the refresh token.
 
So, I downloaded the adwords api php-lib, and I change the Auth.ini with 
the corresponded info.
But when I try to call any api function I will get the following error:
 
 An error has occurred: *[QuotaCheckError.INCOMPLETE_SIGNUP @ ; 
trigger:'null'] *

*PLEASE HELP ME 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.


Adwords API için neler gereklidir ? Hangi aşamalar izlenmelidir?

2014-04-16 Thread Sinan Yalcinkaya
Öncelikle cevap verecek olan tüm geliştiricilere şimdiden teşekkürederim.

Yeni bir Google Adwords Partneriyiz ve müşteri merkezimizde aktif destek 
verdiğimiz firmalar mevcut.

İstediğimiz Adwords Api ile müşteri merkezimize bağlanarak kendi 
yazılımımız geliştirmek ancak bir , iki aşamadan sonra 
ilerleyemez hale geldik.

Araştırmaların sonucu birbiriyle çelişkili çok fazla bilgi aldığımdan artık 
hangi yolda ilerlemem gerektiğini net olarak kestiremiyorum.


Adwords api yi kullanabilmemiz için izlememiz gerek yolları step step 
başlıklar halinde yazabilirseniz çok sevinirim.

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


MCC Account access

2014-04-16 Thread DanielR
Hello experts,
I was asked to develop a system for an agency that manage AdWords accounts 
for other businesses,
One of the requirements of this system is the ability to control what 
interests it's clients and what don't (in real time, from Google).
For example: if one client doesn't want to view the click-view-ratio, it 
will not be displayed.

So, now i need to connect my system to an AdWords account and start to pull 
out data from the MCC for each client request and process it according to 
it's preferences.
My question is: Can I use some default user within my application so that 
every request will be preformed from the master account (the agency's 
account) ?

From what i found out until now, i need to authenticate myself as the 
agency's account for every pulling of data..

Thanks in advance,
*Daniel.*

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


TargetingIdeaService LocationSearchParameter: which cities are supported?

2014-04-16 Thread Jan Brdo
How can I determine which cities (their CriteriaID) I can use for 
LocationSearchParameter in TargetingIdeaService (STATS requestType)?

The documentation is awfully vague on this: Warning: Not all back-ends 
support sub-country precision.
(https://developers.google.com/adwords/api/docs/reference/v201306/TargetingIdeaService.LocationSearchParameter)

And sure enough, sometimes it works and sometimes it doesn't. What's the 
deal here?

Example of non-working CriteriaID: 1018194 (East 
Walpole,Massachusetts,United States)

Thank you,
Jan

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Dynamic GeoTargeting

2014-04-16 Thread Josh Radcliff (AdWords API Team)
Hi,

Rather than updating an existing CampaignCriterion have you tried deleting 
the existing one and adding a new CampaignCriterion with the new Location?

Cheers,
Josh, AdWords API Team

On Tuesday, April 15, 2014 2:35:56 PM UTC-4, ZekeZ wrote:



 On Tuesday, April 15, 2014 10:09:02 AM UTC-4, ZekeZ wrote:

 Has anyone successfully developed a dynamic GeoTargeting solution?

 Am currently able to retrieve CampaignCriteria for CriteriaType Location 
 and Proximity but am not able to mutate.

Current using namespace Google.Api.Ads.AdWords.v201306. IDE is VS.Net 
 2012 (C#)

 Any advice?




-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Date Issues Persist After Setting php.ini Timezone

2014-04-16 Thread Ray Tsang
Benjamin,

What do you see when you do `php -i | grep timezone`?
Also, where is the php.ini located?  Can you run `php -i | grep php\.ini` 
to make sure it's in the correct path?

Thanks,

Ray

On Saturday, April 12, 2014 6:31:04 PM UTC-4, Benjamin Page wrote:

 Hey Ray,

 Thanks for your response. I should have specified, I'm running the AdWords 
 API PHP lib v5.2, but my PHP version is 5.4.10.

 php.ini is attached, and I chose America/Chicago based on the 
 php.netdocumentation.

 On Thursday, April 10, 2014 4:59:37 PM UTC-5, Ray Tsang (AdWords API Team) 
 wrote:

 Benjamin,

 Please send me the php.ini content.  PHP 5.2 has been end-of-life for 
 more than 3 years now.  Please do not use it and upgrade to a current 
 version of PHP.

 Secondly, it looks like you may be using a timezone not recognized by 
 your system.

 The INCOMPLETE_SIGNUP issue is unrelated.  Let me know once you've 
 cleared up the timezone.  We'll get you on the right track for 
 INCOMPLETE_SIGNUP error.

 Cheers,

 Ray



 On Wednesday, April 9, 2014 7:36:00 PM UTC-4, Benjamin Page wrote:

 Hello All,

 Attempting my first local setup, running PHP client library version 
 5.2.2, MAMP with PHP version 5.4.10 on mac os x. I believe my auth.ini file 
 to be configured correctly, and I updated my php.ini file to reflect 
 America/Chicago timezone to match my system time.

 I am trying to run any of the examples (in 
 /examples/AdWords/v201402/BasicOperations/) from terminal using php 
 GetAdGroups.php (example)

 The error I receive is:
 PHP Warning:  date(): It is not safe to rely on the system's timezone 
 settings. You are *required* to use the date.timezone setting or the 
 date_default_timezone_set() function. In case you used any of those methods 
 and you are still getting this warning, you most likely misspelled the 
 timezone identifier. We selected 'America/Chicago' for 'CDT/-5.0/DST' 
 instead in 
 /adwords-examples-and-lib-5.2.2/lib/Google/Api/Ads/Common/Util/Logger.php 
 on line 236
 An error has occurred: [QuotaCheckError.INCOMPLETE_SIGNUP @ ; 
 trigger:'null'

 Any insight into how to clear this issue up? I feel it's the last 
 roadblock to getting started.

 Thank you for any feedback  assistance.



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Creating and Editing Video Campaigns via the API

2014-04-16 Thread Josh Radcliff (AdWords API Team)
Hi,

As mentioned in a separate 
threadhttps://groups.google.com/d/msg/adwords-api/0sMKil9jOn4/NZ4rf0gK0oIJ, 
the API does not support creating or editing AdWords for Video campaigns at 
this time.

Cheers,
Josh, AdWords API Team

On Monday, April 14, 2014 3:38:16 PM UTC-4, Ricky Williams wrote:

 Hello all,

 I'd like to be able to create a Video Campaign, create a TrueView Ad 
 (pointed to YouTube video advertising my product) and then target that ad 
 to specific YouTube categories, keywords or even just one specific YouTube 
 Video. Is this all possible with the AdWords API right now? I've seen on 
 this group that reporting on Video Campaigns is not yet available, but what 
 about these other things?

 Thanks for your time!


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Targeting Idea Service Search Volume Parameter Unit

2014-04-16 Thread Josh Radcliff (AdWords API Team)
Hi,

The SearchVolumeSearchParameter (and related 
AttributeType.SEARCH_VOLUMEhttps://developers.google.com/adwords/api/docs/reference/v201402/TargetingIdeaService.AttributeType#SEARCH_VOLUME)
 
refers to average monthly search volume.  I'm looking into the 
SearchVolumeDeltaSearchParameterhttps://developers.google.com/adwords/api/docs/reference/v201402/TargetingIdeaService.SearchVolumeDeltaSearchParameter
 and 
will post back when I have more information.

Cheers,
Josh, AdWords API Team

On Monday, April 14, 2014 1:29:26 PM UTC-4, Jeff Johnson wrote:

 Hey folks, quick question!

 I was reading the documentation and I was wondering if anyone could answer 
 me what the unit of the Search Volume (and Search Volume Delta) in the 
 targeting idea service is? See parameter here: 
 https://developers.google.com/adwords/api/docs/reference/v201402/TargetingIdeaService.SearchVolumeSearchParameter

 Is it searches per month? Searches per week? Searches per last 30 days? Or 
 just some crazy index? (is there a maximum?)

 Thanks for your 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: Dynamically GeoTarget Campaigns

2014-04-16 Thread Josh Radcliff (AdWords API Team)
Hi ZekeZ,

How are you attempting to do step 4 in your list?  You can remove 
CampaignCriterion objects by passing a collection of 
CampaignCriterionOperations to CampaignCriterionService.mutate with operand 
= the CampaignCriterion and operator = REMOVE.  I just confirmed this with 
one of my test accounts.

Similarly, for step #5 you could add the new Locations and Proximities 
via CampaignCriterionOperations with operator = ADD, as shown in the 
AddCampaignTargetingCriteriahttps://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201402/targeting/AddCampaignTargetingCriteria.java
 example 
in each client library's v201402/targeting examples folder.  You may also 
want to check out the 
GetCampaignTargetingCriteriahttps://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201402/targeting/GetCampaignTargetingCriteria.java
 example 
in the same folder, as it demonstrates how to select CampaignCriterion 
objects by criterion type.

Cheers,
Josh, AdWords API Team

On Monday, April 14, 2014 11:25:39 AM UTC-4, ZekeZ wrote:

 Trying to dynamically GeoTarget our campaigns based on the locations of 
 our accounts. Currently using v201306, but will move to another version if 
 appropriate.

 Here's the scenario:

 1) Read account information from internal customers database table - 
 successful
 2) Access Adwords API and retrieve all existing campaigns - successfully 
 doing that now using the CampaignService and CampaignCriterionService 
 3) Retrieve all existing Locations and Proximities - successfully doing 
 that now using CampaignCriterionService
 4) Remove all existing existing Locations and Proximities - no luck
 5) Dynamically repopulate the Locations and Proximities based on current 
 internal customer data - no luck

 Has anyone successfully performed this scenario.

 Any advice / suggestions would be greatly appreciated.

 ZekeZ


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Question about Paging

2014-04-16 Thread Josh Radcliff (AdWords API Team)
Hi Visar,

You would want to advance the paging index if the number of entries in the 
underlying result set will exceed the page size or the system limit of 
10,000 results per page.  For example, if you have a page size of 50 but 
you have 100 campaigns, then a request with startIndex = 0 and pageSize = 
50 will give you the first 50 campaigns, and a request with startIndex = 50 
and pageSize = 50 will give you the next 50 campaigns.

We recommend specifying a pageSize to avoid 
SizeLimitErrorhttps://developers.google.com/adwords/api/docs/appendix/limits#general.
 
 The 
GetCampaigns.phphttps://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201402/BasicOperations/GetCampaigns.php#L51
 example 
illustrates the approach I described above.

Cheers,
Josh, AdWords API Team

On Wednesday, April 16, 2014 7:03:05 AM UTC-4, Visar wrote:

 Hi Guys,

 I just had a question about paging. When performing a get operation, is 
 there any reason to use paging and advance the paging index, i.e. is there 
 any reason I should not be directly looping through the results like this:

 $page = $campaignCriterionService-get($selector);
 foreach ($page-entries as $schedule) {
   printf(CampaignID:  . $schedule-campaignId .   ID:  . 
 $schedule-criterion-id . \n);
 }

 Thanks
 Visar




-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Define authintication programatically

2014-04-16 Thread Josh Radcliff (AdWords API Team)
Hi Daniel,

If I'm understanding your question properly, it sounds like you are looking 
for a way to have a *single* set of credentials that you can use to issue 
API requests against all of the individual AdWords accounts you are 
managing.

If so, then you can achieve this by using OAuth credentials obtained while 
logged into your MCC account, provided all of the individual AdWords 
accounts are linked to your MCC.  You can even programmatically send 
invitations (as the MCC) and accept or reject invitations (as the client) 
using the 
ManagedCustomerServicehttps://developers.google.com/adwords/api/docs/reference/v201402/ManagedCustomerService
.

Another document that may be helpful is our OAuth guide for users with a 
single top level 
MCChttps://developers.google.com/adwords/api/docs/guides/clientlogin-to-oauth2-single-mcc
.

Cheers,
Josh, AdWords API Team

On Wednesday, April 16, 2014 2:45:11 PM UTC-4, DanielR wrote:


 Hello experts,
 I was asked to set up a system for an agency that provides AdWords 
 management services to other businesses.
 The main webapplication needs to show all sort of statistics and processed 
 data according to the customers preferences,
 from the agency's DB and Google AdWords as well.

 In all of my testings, the only way that I was able to fetch the data from 
 the AdWords API was to login to the master Google Account,
 or give permissions to a certain campaign to another Google account and 
 login with it.

 Is there a way to programatically define the master MCC account details 
 and fetch the relevant data for every campaign request using our own 
 mapping between the user and the Client ID from the MCC?

 Thanks,
 *Daniel.*


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Ruby: AdsCommon::Errors::OAuth2VerificationRequired: AdsCommon::Errors::OAuth2VerificationRequired

2014-04-16 Thread Josh Radcliff (AdWords API Team)
Hi,

We moved all of our client libraries to github several months ago.  Please 
check out our google-api-ads-ruby 
projecthttps://github.com/googleads/google-api-ads-ruby for 
the most up-to-date information.  In particular, the AdWords 
Readmehttps://github.com/googleads/google-api-ads-ruby/wiki/AdWords-Readme
 and OAuth2 Guidehttps://github.com/googleads/google-api-ads-ruby/wiki/OAuth2 
should 
help you get started.  If those don't resolve the problem, please post back 
with further details.

Thanks,
Josh, AdWords API Team

On Wednesday, April 16, 2014 11:19:57 AM UTC-4, leandro@restorando.com 
wrote:

 Ive been following this guide: 
 https://code.google.com/p/google-api-ads-ruby/wiki/AdWordsReadme and I 
 get this exception when trying to communicate with the API. Any hints on 
 why is this happening?


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Can I relate 2 different feeds to an AdGroup for text sitelinks?

2014-04-16 Thread Josh Radcliff (AdWords API Team)
Hi,

Regarding question 2:

If an AdGroup already has sitelinks attached from FeedA but not sitelinks 
 from FeedB. Should I ADD or SET the operations of FeedB


Since you can have only one AdGroupFeed per AdGroup, and a single feedId is 
an attribute of 
AdGroupFeedhttps://developers.google.com/adwords/api/docs/reference/v201402/AdGroupFeedService.AdGroupFeed#feedId,
 
it follows that you cannot have sitelinks from two different feeds on the 
same AdGroup.

For question 3:

If an AdGroup has sitelinks from FeedB and I want just add another sitelink 
 from the same feed. Do I have to remap all the sitelinks from FeedB or just 
 the new one? (According to my tests atm SET will replace any existing 
 sitelinks from the same Feed, but asking just for clarity).


The way you are doing it currently is the correct approach.  The feed items 
used for the ad group are determined by the AdGroupFeed's matching 
functionhttps://developers.google.com/adwords/api/docs/reference/v201402/AdGroupFeedService.AdGroupFeed#matchingFunction,
 
so the correct way to add a new feed item to the AdGroupFeed is to send a 
SET AdGroupFeedOperation where the operand is your AdGroupFeed with a 
modified matching function that includes *all* of the feed item IDs.

Finally, regarding your question on parsing the SOAP exceptions, could you 
let me know which language you are using, and whether you are using one of 
our client 
librarieshttps://developers.google.com/adwords/api/docs/clientlibraries? 
 Many of the libraries have corresponding types for the various add types 
in the WSDLs.

Cheers,
Josh, AdWords API Team

On Wednesday, April 16, 2014 6:21:39 AM UTC-4, Paris Theofanidis wrote:

 Answer to first question is NO! An AdGroup cannot be associated to 2 
 different Feeds at the same time!
 Still looking for the answer to the second question... any indication 
 would be appreciated. 

 On Wednesday, 16 April 2014 12:06:34 UTC+2, Paris Theofanidis wrote:

 Hi, we're using the API to automatically generate and update our 
 sitelinks. However in some cases our SEM experts want to add/edit sitelinks 
 directly from the AdWords tool.
 So, my questions are


1. Can I relate two Feeds on an AdGroup for sitelinks placeholder?
2. If an AdGroup already has sitelinks attached from FeedA but not 
sitelinks from FeedB. Should I ADD or SET the operations of FeedB
3. If an AdGroup has sitelinks from FeedB and I want just add another 
sitelink from the same feed. Do I have to remap all the sitelinks from 
FeedB or just the new one? (According to my tests atm SET will replace 
 any 
existing sitelinks from the same Feed, but asking just for clarity).

 Also, another question (irrelevant to the first subject), is there some 
 class that can parse the SOAP exceptions and give back meaningful (to code) 
 errors list?



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: MCC Account access

2014-04-16 Thread Josh Radcliff (AdWords API Team)
Hi Daniel,

This looks like a duplicate of your other 
posthttps://groups.google.com/d/msg/adwords-api/c8UBIGoXPoQ/L_wqMou-N9QJ, 
where I recently posted a reply.  If you have further questions let's 
continue the discussion on that post.

Thanks,
Josh, AdWords API Team

On Wednesday, April 16, 2014 4:15:58 AM UTC-4, DanielR wrote:

 Hello experts,
 I was asked to develop a system for an agency that manage AdWords accounts 
 for other businesses,
 One of the requirements of this system is the ability to control what 
 interests it's clients and what don't (in real time, from Google).
 For example: if one client doesn't want to view the click-view-ratio, it 
 will not be displayed.

 So, now i need to connect my system to an AdWords account and start to 
 pull out data from the MCC for each client request and process it according 
 to it's preferences.
 My question is: Can I use some default user within my application so that 
 every request will be preformed from the master account (the agency's 
 account) ?

 From what i found out until now, i need to authenticate myself as the 
 agency's account for every pulling of data..

 Thanks in advance,
 *Daniel.*


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: One Feed, One Campaign, 2 CampaignFeed placeholdertypes

2014-04-16 Thread Josh Radcliff (AdWords API Team)
Hi,

You can only have one CampaignFeed per campaign/feed combination -- the 
placeholder type list on each CampaignFeed is not part of the unique key 
for those objects.

You can create a single CampaignFeed with multiple placeholder types and a 
matching function containing all of the feed item IDs, but as you pointed 
out, this has its limitations.  Since you'll have multiple sitelinks but 
probably only one phone number, you'll need to either:

a. Populate the phone number attribute on every feed item
b. Create a separate phone number feed and corresponding CampaignFeed

A more likely scenario for sharing the same Feed would be if you had a 
single app and a single phone number for each campaign (or ad group).  In 
that scenario, you could:

1. Create a single feed that contains all of the attributes for App and 
Call placeholders
2. Populate all of the values on the single feed item you create for each 
campaign (or ad group)
3. Create a single CampaignFeed (or AdGroupFeed) with both placeholder 
types and a matching function that contained the single feed item ID for 
the campaign (or ad group)

In other words, if you have the same number of feed items for multiple 
placeholder types, then sharing the same Feed will work as expected.  If 
instead you'll have a different number of items for each placeholder type, 
you are probably better off creating a separate feed for each placeholder 
type.  You could still use a single feed per placeholder type across all of 
the campaigns and ad groups in your account -- you would just use different 
feed items for each campaign or ad group.

Cheers,
Josh, AdWords API Team

On Friday, April 11, 2014 3:01:57 PM UTC-4, i...@d2cmedia.ca wrote:

 I am trying to find the best way to map a single Feed to one or more 
 campaigns for sitelinks and placeholder types, but with a different 
 matchingFunciton for sitelinks and for call extension.

 e.g.
 Feed is mapped to 2 placeholder types
 FeedItems
 id:1 link1 phone1
 id:2 link2 phone1
 id:3 link3 phone1

 CampaignFeed placeholderType sitelinks function itemID IN (1,2,3) 
 CampaignFeed placeholderType call function itemID IN (1 ) 


 Right now I have CampaignFeed PlaceholderType ( sitelinks, call ) but I 
 have 4 links to each 1 phone number because the criteria is the same for 
 both placeholdertypes. If I try to add the same feed to the same campaign 
 with a different placeholder type, I get this:

 Campaign id:CampaignId: 199097903, Feed id: 11679503
 CampaignFeedError.CANNOT_ADD_ALREADY_EXISTING_CAMPAIGN_FEED

 Do I simply need to create a second Feed? Or can I populate a Feed with 
 blank attributes and still map it to the other placeholder type? I get 
 blank/deleted boxes in the adwords admin.


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: AdWordsService.v201402.CampaignService Fail to Enumerate Some Campaigns

2014-04-16 Thread apiapi
Hi Mike. The error appears consistently for the same campaigns. I cannot 
tell which campaigns are exactly causing a problem, I will have to trap the 
name/id of the item before and after the error/Exception occurs and then 
debug from there. Between 3 accounts I successfully acquire info from 2,937 
campaigns and do not acquire info from ~400 campaigns.
I was under an impression that access tokens did not have the same 
refresh/time issue when the calls are being made by a Service Account; 
please feel free to correct me on this.


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.


v201402 Unable to Find Stats

2014-04-16 Thread apiapi

I need to obtain the following statistics for ads/keywords within an 
AdGroup:
AverageCpc
AveragePosition
Clicks
Ctr
Impressions
Status

However, I cannot find those stats bits in the v201402 service hierarchy. I 
found some documentation on the v201306 version which is no longer useful.

Please help, I need to pull these statistics ASAP.


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.


v201402 Unable to Find Stats for Keywords / Ads

2014-04-16 Thread apiapi
I need to obtain the following statistics for ads/keywords within an 
AdGroup:

AverageCpc
AveragePosition
Clicks
Ctr
Impressions
Status

However, I cannot find those stats bits in the v201402 service hierarchy. I 
found some documentation on the v201306 version which is no longer useful.

Please help, I need to pull these statistics ASAP. I am using the v17 of 
the .NET client library.


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.