Re: AWQL - INVALID_PREDICATE_VALUE

2015-08-21 Thread Chirag
Yes, I am passing the date range.

On Thursday, 20 August 2015 18:50:34 UTC+5:30, Anthony Madrigal wrote:
>
> Hello,
>
> Unfortunately, there is no way to write an AWQL query that compares two 
> fields in the predicate. Please also don't forget to include a date range 
> in your query.
>
> Regards,
> Anthony
> AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/468f71f7-e131-4bc6-8057-78c572e7606b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: GetKeywords printing each result 3 times

2015-08-21 Thread Chirag
Ok, got your point.

On Thursday, 20 August 2015 19:56:21 UTC+5:30, Thanet Knack Praneenararat 
(AdWords API Team) wrote:
>
> Hello,
>
> To the best of my knowledge, we can't do anything with that because the 
> Selector is aimed for returning all information.
> You may need to implement the logic of filtering duplicate elements out 
> from the list on your side.
>
> Cheers,
> Thanet, AdWords API Team
>
> On Thursday, August 20, 2015 at 6:46:55 PM UTC+9, Chirag wrote:
>>
>> Hello Thanet,
>>
>> Yes, I have confirmed same.
>> There is any way to get only unique kws for all adgroups in one request?
>>
>> Thanks
>>
>> On Thursday, 20 August 2015 12:12:18 UTC+5:30, Thanet Knack Praneenararat 
>> (AdWords API Team) wrote:
>>>
>>> Hello,
>>>
>>> Yes. Those keywords should be shared among many ad groups.
>>> If you would like to confirm this, try adding *AdGroupId* in the 
>>> selector fields and printing it out.
>>>
>>> Cheers,
>>> Thanet, AdWords API Team
>>>
>>> On Thursday, August 20, 2015 at 1:18:01 PM UTC+9, Chirag wrote:

 Hello Thanet,

 I am using the KeywordMatchType still getting same keywords multiple 
 time.

 Please see the code :
 $adGroupCriterionService =
   $user->GetService('AdGroupCriterionService', ADWORDS_VERSION);

   // Create selector.
   $selector = new Selector();
   $selector->fields = array('Id', 'CriteriaType', 'KeywordMatchType',
   'KeywordText','CpcBid','FirstPageCpc');
   $selector->ordering[] = new OrderBy('KeywordText', 'ASCENDING');

   // Create predicates.
   $selector->predicates[] = new Predicate('AdGroupId', 'IN', 
 $adGroupId);
   $selector->predicates[] = new Predicate('CriteriaType', 'IN', 
 array('KEYWORD'));

 Please see my result.
 Keyword with text 'book', match type 'BROAD', criteria type 'KEYWORD', 
 and ID '10005230' was found. 
 Keyword with text 'book', match type 'BROAD', criteria type 'KEYWORD', 
 and ID '10005230' was found. 
 Keyword with text 'book', match type 'BROAD', criteria type 'KEYWORD', 
 and ID '10005230' was found. 
 Keyword with text 'career', match type 'BROAD', criteria type 
 'KEYWORD', and ID '10346710' was found. 
 Keyword with text 'career', match type 'BROAD', criteria type 
 'KEYWORD', and ID '10346710' was found. 
 Keyword with text 'career', match type 'BROAD', criteria type 
 'KEYWORD', and ID '10346710' was found. 
 Keyword with text 'careers', match type 'BROAD', criteria type 
 'KEYWORD', and ID '11904121' was found. 
 Keyword with text 'careers', match type 'BROAD', criteria type 
 'KEYWORD', and ID '11904121' was found. 
 Keyword with text 'careers', match type 'BROAD', criteria type 
 'KEYWORD', and ID '11904121' was found. 
 Keyword with text 'certification', match type 'BROAD', criteria type 
 'KEYWORD', and ID '11904281' was found. 
 Keyword with text 'certification', match type 'BROAD', criteria type 
 'KEYWORD', and ID '11904281' was found. 
 Keyword with text 'certification', match type 'BROAD', criteria type 
 'KEYWORD', and ID '11904281' was found. 

 Is that case, same keywords shared with multiple AdgroupId?

 Please advice.

 Thanks,


 On Thursday, 9 April 2015 21:16:58 UTC+5:30, Thanet Knack Praneenararat 
 (AdWords API Team) wrote:
>
> Hi,
>
> Please try using *KeywordMatchType* instead of *MatchType *in line 80 
> of the example 
> 
> . 
> I'll make a note to ensure we update our examples accordingly.
>
> Cheers,
> Thanet
>
> On Wednesday, April 8, 2015 at 6:57:00 PM UTC+1, Aditya wrote:
>>
>> I'm running the standard GetKeywords.java from the library. I put in 
>> the ID for a test ad group that I set up (with just a few keywords). 
>> This 
>> program prints out the expected results, but each one is printed out 3 
>> times in a row. I can't see anything obvious in the code that would 
>> cause 
>> these to be printed out multiple times, so does anyone have an idea what 
>> might be happening?
>>
>> Here's an example of what I see:
>>
>> Keyword ad group criterion with ad group id "19839877629", criterion 
>> id "11744392", text "dynamics" and match type "BROAD" was found.
>>
>> Keyword ad group criterion with ad group id "19839877629", criterion 
>> id "11744392", text "dynamics" and match type "BROAD" was found.
>>
>> Keyword ad group criterion with ad group id "19839877629", criterion 
>> id "11744392", text "dynamics" and match type "BROAD" was found.
>>
>> Keyword ad group criterion with ad group id "19839877629", criterion 
>> id "17359491", text "app" and match type "BROAD" was fou

Repeated UNEXPECTED_INTERNAL_API_ERROR on AdGroupCriterionService when fetching DSA critera

2015-08-21 Thread Christian
Hi,

we have a strange behavior on a specific account where 
the AdGroupCriterionService triggers an internal API error when fetching 
DSA criteria. The same request works fine on other accounts.

We use the googleads Python lib with the following selector:

selector = {
'fields': [
'Id', 'AdGroupId', 'Parameter', 'Status', 'CriteriaType',
'CriterionUse', 'CpcBid', 'BiddingStrategyType',
'FirstPageCpc', 'TopOfPageCpc', 'QualityScore',
'Labels',
],
'predicates': [{
'field': 'CriteriaType',
'operator': 'IN',
'values': ['WEBPAGE'],
}, {
'field': 'Status',
'operator': 'IN',
'values': ['ENABLED', 'REMOVED', 'PAUSED'],
}, {
'field': 'CampaignId',
'operator': 'IN',
'values': ...,
}],
}

For the problematic account the request fails in most cases, but not 
always. If it succeeds, it returns zero DSA criteria.

I can post the account ID in a private message.

Thanks in advance for some clarification why this happens.

Best regards,
Christian


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/30ab6659-cffc-4473-859b-b7c4ce4abb63%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Set MaxCpC for shopping partition doesnt work any more in v201506

2015-08-21 Thread Alex
Hi Josh,

you are completely right. It was a SUBDIVISION. It works for UNIT nodes 
without problems. Thank you very much. A more pointed error-message would 
be helpfull. INVALID_BID sounds like something wrong with the bid. I was 
looking in the wrong direction. But now its solved.

Thanks
Alex



On Wednesday, August 19, 2015 at 8:11:08 PM UTC+2, Josh Radcliff (AdWords 
API Team) wrote:
>
> Hi Alex,
>
> I see that the partition in your request is a SUBDIVISION partition. I 
> think this is what's leading to the error, since bids can only be set on 
> UNIT partitions. Please try updating the bid on a UNIT partition and let me 
> know if you still encounter issues.
>
> Thanks,
> Josh, AdWords API Team
>
> On Wednesday, August 19, 2015 at 3:40:51 AM UTC-4, Alex wrote:
>>
>> Hi Anthony,
>>
>> thank you for your help. As suggested I replaced "keyword" by 
>> "productPartition". The only required field for ProductPartition is Id. For 
>> "ADD"-operations "partitionType" is also requried, but I do an 
>> "SET"-operation. Just to be sure, I added a partitionType to my request, 
>> but it didnt help either. Keep getting INVALID_BID errors.
>>
>>
>> SOAP Request:
>> http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="
>> http://www.w3.org/2001/XMLSchema"; xmlns:xsi="
>> http://www.w3.org/2001/XMLSchema-instance";>
>> 
>> https://adwords.google.com/api/adwords/cm/v201506"; 
>> soapenv:mustUnderstand="0">
>> 1645187874
>> removed
>> ads2people sem editor (AwApi-Java, 
>> AdWords-Axis/2.2.0, Common-Java/2.2.0, Axis/1.4, Java/1.8.0_05, 
>> maven)
>> false
>> false
>> 
>> 
>> 
>> https://adwords.google.com/api/adwords/cm/v201506
>> ">
>> 
>> SET
>> https://adwords.google.com/api/adwords/cm/v201506"; 
>> xsi:type="ns2:BiddableAdGroupCriterion">
>> 20148587642
>> 
>> 65168470096
>> SUBDIVISION
>> 
>> 
>> 
>> 
>> 29
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>>
>>
>> SOAP Response:
>> http://schemas.xmlsoap.org/soap/envelope/";>
>> 
>> https://adwords.google.com/api/adwords/cm/v201506";>
>> 00051da50a5597000a0dd0c77e051fb1
>> AdGroupCriterionService
>> mutate
>> 0
>> 84
>> 
>> 
>> 
>> 
>> soap:Server
>> [BiddingErrors.INVALID_BID @ 
>> operations[0].operand.biddingStrategyConfiguration.bids; 
>> trigger:'CpcBid{bid=0.29, contentBid=null, 
>> cpcBidSource=null}']
>> 
>> https://adwords.google.com/api/adwords/cm/v201506";>
>> [BiddingErrors.INVALID_BID @ 
>> operations[0].operand.biddingStrategyConfiguration.bids; 
>> trigger:'CpcBid{bid=0.29, contentBid=null, 
>> cpcBidSource=null}']
>> 
>> ApiException
>> http://www.w3.org/2001/XMLSchema-instance"; xsi:type="BiddingErrors">
>> 
>> operations[0].operand.biddingStrategyConfiguration.bids
>> CpcBid{bid=0.29, contentBid=null, 
>> cpcBidSource=null}
>> 
>> BiddingErrors.INVALID_BID
>> BiddingErrors
>> INVALID_BID
>> 
>> 
>> 
>> 
>> 
>> 
>>
>>
>>
>>
>>
>>
>> Am Dienstag, 18. August 2015 17:52:14 UTC+2 schrieb Anthony Madrigal:
>>>
>>> Hey Alex,
>>>
>>> Based on your SOAP request, it seems that your criterion type is 
>>> Keyword. Since you want to set the bid for product partitions, try setting 
>>> the criterion type to ProductPartition 
>>> .
>>>  
>>> Once you do that, make sure you have all the required fields 
>>> 
>>>  and 
>>> set the bid.
>>>
>>> If you are still facing the same issue after doing all this, please let 
>>> me know.
>>>
>>> Cheers,
>>> Anthony
>>> 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 gr

Re: Behavior of includeZeroImpressions-Flag for Product Partition Report

2015-08-21 Thread Stefan Kleine Stegemann

Hi Josh,

are there any updates on this issue so far?

Cheers,
Stefan

Am Donnerstag, 4. Juni 2015 22:13:27 UTC+2 schrieb Josh Radcliff (AdWords 
API Team):
>
> Hi Stefan,
>
> Thanks for pointing that out -- I hadn't tried setting it to *true* so 
> didn't notice the difference in behavior. I'll pass that info along to the 
> reporting team.
>
> 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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/de90d61d-d877-4a03-91dc-c1812d2498ca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Creating Mobile App Engaement Ads in bulk

2015-08-21 Thread sebastian . lamelas
Hi Josh,

OK, I see we are finally talking about the same use case.

I tried using *originAdId* and now it seems to work (although when I had 
the error I posted before I was doing the exact same thing and got an "
InternalApiError.UNEXPECTED_INTERNAL_API_ERROR"; maybe it was another 
problem from our side).


When setting the *Image*, you *should* be able to simply pass an *Image* object 
> with its mediaId 
> 
>  set 
> to an existing image in order to reuse that image. Unfortunately, this 
> doesn't work right now. I have raised this issue and we're looking into it.
>

I'm glad that you have a new issue for this. I think it's the most 
intuitive way to reuse media, and also this will be consistent with the API 
reference.

Thanks for your guidance on how to use the API properly,
seb.

El jueves, 20 de agosto de 2015, 15:46:55 (UTC-3), Josh Radcliff (AdWords 
API Team) escribió:
>
> Hi,
>
> I finally get it. :) The key points are:
>
>1. For the Image app engagement ad (455) 
>
> 
> and Image app install ad (432) 
>
> ,
>  
>you *must* set the *Image* for the ad via the TemplateAd.adAsImage 
>
> 
>  attribute, 
>as you were doing in your code.
>2. When setting the *Image*, you *should* be able to simply pass an 
>*Image* object with its mediaId 
>
> 
>  set 
>to an existing image in order to reuse that image. Unfortunately, this 
>doesn't work right now. I have raised this issue and we're looking into it.
>3. Although using *mediaId* doesn't work, I have good news! You *can*
> set originAdId 
>
> 
>  to 
>an existing ad that uses the same template, and AdWords will copy all of 
>the template elements *and* the *Image* from the origin ad to your new 
>ad.
>
> #3 means that for your use case of creating 500 ads, you can create one ad 
> by setting the *Image.data* and using that for the *adAsImage* field. To 
> create the other 499 ads, you can specify the first ad's ID for 
> *originAdId*, and skip the rest. This will work even if you are creating 
> ads in a different ad group from the first ad.
>
> Note that when creating the *TemplateAd*s using *originAdId*, you should 
> do the following:
>
>- set *url, displayUrl, templateId, name*, and *originAdId*
>- do *not *set templateElements 
>
> ,
>  
>*dimensions, *or *adAsImage*
>
> I think that covers everything, but let me know if you still have 
> questions. Thanks for bearing with me while I was trying to understand your 
> use case. :)
>
> Cheers,
> Josh, AdWords API Team
>
> On Thursday, August 20, 2015 at 9:15:38 AM UTC-4, seb wrote:
>>
>>
>>
>> El jueves, 20 de agosto de 2015, 8:45:50 (UTC-3), 
>> sebastia...@despegar.com escribió:
>>>
>>> Hi Josh,
>>>
>>> I noticed in your code that you are setting the adAsImage 
 
  field, 
 and that's the only place where you use an *Image* object. However, 
 I'm pretty sure that the *adAsImage* field is being ignored since that 
 field is meant to provide you a preview of the ad in image form, and that 
 preview for template ID 455 is simply based on the other fields in the ad 
 that identify your app.
 Does the image you provided actually appear on the ad in the AdWords 
 user interface?

>>>  
>>> No it doesn't, but the UI doesn't show the image when I create one 
>>> manually either. If I download the report for two "Image app engagement 
>>> ad's", one created manually via the AdWords UI and one created 
>>> automatically with the program I sent you the structure is the same. These 
>>> arguments seem to favor, in my view, that the adAsIamge is not being 
>>> ignored.
>>>
>>
>> UPDATE:
>> Yes, it does show the image in the AdWords UI. Initially when I said no 
>> was because I was using Firefox, but in Chrome it does show the image in 
>> both cases (manually created Ad, and created with the program I sent you).
>>
>>

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

Re: Problem adding YouTubeVideo Placements v201502+

2015-08-21 Thread Michael Cloonan (AdWords API Team)
Hello,

This issue should be resolved. Ads set up on the display network using 
YouTubeVideo placements should now be serving normally.

Regards,
Mike, AdWords API Team

On Monday, August 10, 2015 at 12:45:43 PM UTC-4, Michael Cloonan (AdWords 
API Team) wrote:
>
> Hello,
>
> I'd like to give an update on this issue. The engineering team has 
> determined a fix and we are currently working on implementing it to get it 
> out as quickly as possible. I will update again when this is resolved.
>
> Regards,
> Mike, AdWords API Team
>
> On Thursday, July 30, 2015 at 2:55:50 PM UTC-4, scorde...@guptamedia.com 
> wrote:
>>
>> I've sent a private message. Let me know if you have not received it. 
>> (They dont seem to appear anywhere in the forums interface). Thanks!
>>
>> On Thursday, July 30, 2015 at 11:54:19 AM UTC-4, Michael Cloonan (AdWords 
>> API Team) wrote:
>>>
>>> Hello,
>>>
>>> Would you mind providing me an example campaign ID so that I can take a 
>>> look from my end? You can send a response privately to me only if you 
>>> prefer.
>>>
>>> And to confirm, Placements that previously got impressions when you set 
>>> them using a URL are no longer getting impressions using the new YouTubeAd 
>>> criterion type, correct?
>>>
>>> Once I confirm the behavior that you're reporting, I'll talk to the 
>>> engineering team to see if there's an issue with this criteria type.
>>>
>>> Regards,
>>> Mike, AdWords API Team
>>>
>>> On Thursday, July 30, 2015 at 11:32:20 AM UTC-4, scor...@guptamedia.com 
>>> wrote:


 I'm adding these YouTubeVideo criterion to ad groups in my campaign 
 using the AdGroupCriterionService. As such I can see them in my campaign 
 in 
 the AdWords web interface under the "Display Network" tab selecting the 
 "Placements" option.  The YouTube video url will appear under the 
 "Placements" column in the table in the form "youtube.com/video/${id} 
 " where ${id} is the alphanum ID 
 for the video. 


 On Thursday, July 30, 2015 at 11:27:36 AM UTC-4, Michael Cloonan 
 (AdWords API Team) wrote:
>
> Hello,
>
> I'm not sure where any kind of URL is coming into play. To create a 
> YouTubeVideo criterion, you provide an ID for the video. If you fetch a 
> YouTubeVideo criterion via the API, you can retrieve the ID and the video 
> title, but no URL. Where exactly are you seeing these URLs in conjunction 
> with YouTubeVideo criteria?
>
> Regards,
> Mike, AdWords API Team
>
> On Thursday, July 30, 2015 at 11:11:26 AM UTC-4, 
> scor...@guptamedia.com wrote:
>>
>>
>>  Right, there is no placement url in the YouTubeVideo object, but you 
>> can set the ID of the video, which I am doing.  The system seems to then 
>> know to prepend "youtube.com/video/" to that ID in order to create 
>> the placement.  As mentioned before though it is lacking the "www.",  
>> and 
>> this seems to be the cause of no traffic.  I am not creating a placement 
>> and a youtubevideo for the same page on YouTube, sorry for any confusion.
>>
>> From the docs :
>> "Added support for YouTubeVideo and YouTubeChannel criteria to 
>> CampaignCriterionService and AdGroupCriterionService. These replace 
>> using 
>> Placement criteria to target or exclude YouTube.com videos and channels, 
>> which now results in a YOUTUBE_URL_UNSUPPORTED error."  I'm simply 
>> trying 
>> to replace that Placement criteria with the YouTubeVideo criteria it is 
>> suggesting.  Is there any other info I could provide to help resolve 
>> this?
>>
>>
>>
>> On Thursday, July 30, 2015 at 9:24:33 AM UTC-4, Michael Cloonan 
>> (AdWords API Team) wrote:
>>>
>>> Hello,
>>>
>>> The YouTubeVideo 
>>> 
>>>  criterion 
>>> doesn't have an associated "placement url". If you have both a 
>>> Placement 
>>> and a YouTubeVideo for the same video page on YouTube, perhaps the 
>>> Placement is causing an issue and should be removed in order to allow 
>>> the 
>>> YouTubeVideo criterion to produce traffic.
>>>
>>> Regards,
>>> Mike, AdWords API Team
>>>
>>> On Wednesday, July 29, 2015 at 3:51:57 PM UTC-4, 
>>> scor...@guptamedia.com wrote:

 Up until upgrading to v201502, we were able to create youtube video 
 Placements using the AdGroupCriterionServiceInterface and the 
 Criterion 
 Placement Object.  Now it seems we are required to use the Criterion 
 YouTubeVideo ( received errors "YouTube urls are not supported in 
 Placement 
 criterion. Use YouTubeChannel and YouTubeVideo criterion instead.") 
 object, 
 but when I try to do so the placement url for the youtube video 

{"[AuthenticationError.NOT_ADS_USER @ ; trigger:'']"} while getting the existing campaigns

2015-08-21 Thread Sarah N
I'm trying to get access and refresh token in OAuth2 for GoogleAdWords:
I've done these steps before:

1)Create  manager Account 
2)Create developer Token from manager Account.
3)Create Test MCC account  
4)Use the *Test MCC account* for creating *RefreshToken *by 
running OAuthTokenGenerator.exe
5)Create AdWords account , and Use this account for creating *ClientId *and 
*ClientSecret 
.*

use these values in Web.config of my project.
but when I try to Get the campaigns with this code:
  //
  page = campaignService.get(selector); 

it gets the error 
{"[AuthenticationError.NOT_ADS_USER @ ; trigger:'']"}

I'm very new to GoogleAdwords , so maybe something I'm missing from setting 
 or sth else.
could anyone help me with that?



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/7c2d1014-8fe7-4a24-bfb9-e78a23f300b6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


UNEXPECTED_INTERNAL_API_ERROR while creating CallFeed

2015-08-21 Thread Евгений Лебедев
I'm getting UNEXPECTED_INTERNAL_API_ERROR when trygin to add CallFedd to 
adgoup.
 Request:
[Aug 21 2015 11:24:11.00 - ERROR] POST 
/api/adwords/cm/v201506/AdGroupExtensionSettingService HTTP/1.1
Host: adwords.google.com
Connection: Keep-Alive
User-Agent: PHP-SOAP/5.6.10-1+deb.sury.org~trusty+1, gzip
Accept-Encoding: gzip, deflate
Content-Encoding: gzip
Content-Type: text/xml; charset=utf-8
SOAPAction: ""
Content-Length: 576
Authorization: Bearer ***


http://schemas.xmlsoap.org/soap/envelope/"; xmlns:ns1=
"https://adwords.google.com/api/adwords/cm/v201506"; xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance";>
  

  3356694810
  
  *

  
  

  
ADD

  19873527426
  CALL
  

  063-123-45-67
  UA
  false
  false
  

  

  

  



Response:
HTTP/1.1 500 Internal Server Error
Content-Type: text/xml; charset=UTF-8
Content-Encoding: gzip
Date: Fri, 21 Aug 2015 08:24:11 GMT
Expires: Fri, 21 Aug 2015 08:24:11 GMT
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Content-Length: 547
Server: GSE


http://schemas.xmlsoap.org/soap/envelope/";>
  
https://adwords.google.com/api/adwords/cm/v201506";>
  00051dcdfe0b45700a810041b304f3f2
  AdGroupExtensionSettingService
  mutate
  1
  558

  
  

  soap:Server
  [InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ 
com.google.ads.api.services.common.error.InternalApiError.(InternalApiErro]

  
https://adwords.google.com/api/adwords/cm/v201506";>
  [InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ 
com.google.ads.api.services.common.error.InternalApiError.(InternalApiErro]

  ApiException

  http://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="InternalApiError">


InternalApiError.UNEXPECTED_INTERNAL_API_ERROR

InternalApiError
UNEXPECTED_INTERNAL_API_ERROR
  

  

  

Does anybody know what is the problem?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/2779be56-8b20-41b1-9f61-7b7947848455%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


InternalApiError in AdGroupExtensionSettingService

2015-08-21 Thread Евгений Лебедев
Hello. I'm tryign to create CallFeed in Adgroup and get InternalApiError. 
Help please to figure out what is the problem.

*REQUEST*
Host: adwords.google.com
Connection: Keep-Alive
User-Agent: PHP-SOAP/5.6.10-1+deb.sury.org~trusty+1, gzip
Accept-Encoding: gzip, deflate
Content-Encoding: gzip
Content-Type: text/xml; charset=utf-8
SOAPAction: ""
Content-Length: 576
Authorization: Bearer ***


http://schemas.xmlsoap.org/soap/envelope/"; xmlns:ns1=
"https://adwords.google.com/api/adwords/cm/v201506"; xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance";>
  

  3356694810
  ***
  ***

  
  

  
ADD

  19873527426
  CALL
  

  044-529-23-67
  UA
  false
  false
  

  

  

  



*RESPONSE*
HTTP/1.1 500 Internal Server Error
Content-Type: text/xml; charset=UTF-8
Content-Encoding: gzip
Date: Fri, 21 Aug 2015 08:24:11 GMT
Expires: Fri, 21 Aug 2015 08:24:11 GMT
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Content-Length: 547
Server: GSE


http://schemas.xmlsoap.org/soap/envelope/";>
  
https://adwords.google.com/api/adwords/cm/v201506";>
  00051dcdfe0b45700a810041b304f3f2
  AdGroupExtensionSettingService
  mutate
  1
  558

  
  

  soap:Server
  [InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ 
com.google.ads.api.services.common.error.InternalApiError.(InternalApiErro]

  
https://adwords.google.com/api/adwords/cm/v201506";>
  [InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ 
com.google.ads.api.services.common.error.InternalApiError.(InternalApiErro]

  ApiException

  http://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="InternalApiError">


InternalApiError.UNEXPECTED_INTERNAL_API_ERROR

InternalApiError
UNEXPECTED_INTERNAL_API_ERROR
  

  

  


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/871a0558-12b8-4ef7-ad2c-38094c635c2b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Get product groups by product id

2015-08-21 Thread erirmir
So we have multiple product groups, each of which contains multiple 
products.

What I would like to be able to do is to retrieve product group by an id of 
one of the products inside of it. (Either as a report or some service, 
doesn't really matter.)

Sounds simple enough, but I cannot find any way as how to relate the two.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/6b9934ac-921c-4202-bf07-eb64c0db9c28%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to get Campaign Language and Campagin Location

2015-08-21 Thread Anthony Madrigal
Hi Jonathan,

The two campaigns that you have given me are in different client accounts. 
The most likely possibility that your first query did not work is that you 
are trying to request for a campaign from a different account. To fix this, 
change your *clientCustomerId *accordingly so that the campaigns being 
selected are in the client accounts you have chosen.

Cheers,
Anthony
AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/d85c7630-959c-40be-823c-c09625c45009%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Behavior of includeZeroImpressions-Flag for Product Partition Report

2015-08-21 Thread Josh Radcliff (AdWords API Team)
Hi Stefan,

We're working on this one, but I don't have an ETA just yet for when it 
will be fixed. I'll let you know as soon as that happens.

Thanks,
Josh, AdWords API Team

On Friday, August 21, 2015 at 6:01:46 AM UTC-4, Stefan Kleine Stegemann 
wrote:
>
>
> Hi Josh,
>
> are there any updates on this issue so far?
>
> Cheers,
> Stefan
>
> Am Donnerstag, 4. Juni 2015 22:13:27 UTC+2 schrieb Josh Radcliff (AdWords 
> API Team):
>>
>> Hi Stefan,
>>
>> Thanks for pointing that out -- I hadn't tried setting it to *true* so 
>> didn't notice the difference in behavior. I'll pass that info along to the 
>> reporting team.
>>
>> 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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/f037de55-15e2-47bc-a9a6-ec41843efc5e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Repeated UNEXPECTED_INTERNAL_API_ERROR on AdGroupCriterionService when fetching DSA critera

2015-08-21 Thread Anthony Madrigal
Hey Christian,

Could you please send me through *reply privately to author *your SOAP XML 
request and response? The important response is the one that failed, but if 
you could also send me when the response returns zero DSA criteria that 
would be great.

Thanks,
Anthony
AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/27588946-ddd0-4309-bce6-16357826f888%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Is there anyway to specify filter on result set?

2015-08-21 Thread Umesh Dengale
Hi Jill,

Could you provide the SOAP XML request and response logs for above API 
call? Just click *Reply privately to author* in the forum when responding. 
Don't forget to remove the developer token in the output.

Regards,
Umesh, AdWords API Team.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/0ee1fc28-bccb-4759-9497-d5711181eaf8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: RateExceededError keep

2015-08-21 Thread Michael Cloonan (AdWords API Team)
Hello,

Thank you for the report that this is occurring. We've also heard this from 
a few other sources, and I've already contacted our engineering team to 
take a look at what's going on.

Regards,
Mike, AdWords API Team

On Friday, August 21, 2015 at 2:24:37 AM UTC-4, Justin Coon wrote:
>
> Also seeing it with the 
> https://adwords.google.com/api/adwords/cm/v201502/CampaignService
>  CampaignService
>
> However we dont see the issue with the reports portion of API
>
> On Friday, August 21, 2015 at 1:16:10 AM UTC-5, Justin Coon wrote:
>>
>> We are again seeing this issue. It appears to be with 
>> https://adwords.google.com/api/adwords/cm/v201502/AdGroupService 
>> AdGroupService
>>
>> Is there a fix coming soon?
>>
>> On Thursday, July 30, 2015 at 11:55:03 AM UTC-5, Mark Rogoyski wrote:
>>>
>>> Hi Mike,
>>>
>>> Thank you for the update. We are currently not seeing any of the 500s 
>>> with the InternalApiError.UNEXPECTED_INTERNAL_API_ERROR that we were 
>>> seeing before. I will keep monitoring it and update if something changes.
>>>
>>> Thanks.
>>> Mark
>>>
>>>
>>> On Thursday, July 30, 2015 at 8:58:12 AM UTC-7, Michael Cloonan (AdWords 
>>> API Team) wrote:

 Hello,

 We have just pushed a change to production that should hopefully 
 resolve this issue. If anyone can confirm that the problem is fixed, 
 please 
 let me know.

 Regards,
 Mike, AdWords API Team

 On Thursday, July 23, 2015 at 6:07:35 PM UTC-4, Kristopher Windsor 
 wrote:
>
> We mainly do these things:
>
>- Report queries
>ReportDownloadError.ERROR_GETTING_RESPONSE_FROM_BACKEND
>- Entity / read-only queries to get campaigns, ads, etc
>InternalApiError.UNEXPECTED_INTERNAL_API_ERROR
>- Submit CPC bids in batch
>--> This seems to work OK
>
> Thanks,
> On Thursday, July 23, 2015 at 11:39:11 AM UTC-7, Eric Berry wrote:
>>
>> I'm seeing this when using the TargetingIdeaService
>>
>> On Thursday, July 23, 2015 at 11:25:29 AM UTC-6, Michael Cloonan 
>> (AdWords API Team) wrote:
>>>
>>> Hello again,
>>>
>>> One other followup question. For users this is affecting, is it 
>>> specifically only affecting reporting, or are you also seeing this 
>>> behavior 
>>> with other services?
>>>
>>> Regards,
>>> Mike, AdWords API Team
>>>
>>> On Thursday, July 23, 2015 at 1:15:54 PM UTC-4, Michael Cloonan 
>>> (AdWords API Team) wrote:

 Hello,

 Everyone who is experiencing this issues, please reply to me 
 privately with your developer token and CID so that we can narrow down 
 and 
 take a closer look at specifically known affected accounts. The 
 engineering 
 team is actively looking into this issue.

 Regards,
 Mike, AdWords API Team

 On Thursday, July 23, 2015 at 9:41:57 AM UTC-4, Michael Cloonan 
 (AdWords API Team) wrote:
>
> Thanks everyone for the reports. I've filed a bug with our 
> engineering team to look into this issue, and I will keep this thread 
> updated as I hear back.
>
> Regards,
> Mike, AdWords API Team
>
> On Thursday, July 23, 2015 at 9:38:28 AM UTC-4, Justin Coon wrote:
>>
>> Let me also add that our analytics tool has been working without 
>> this issue for at least 6 months as well. No changes on our end, but 
>> this 
>> just started happening within the last few days. We download 
>> reports, and 
>> make a few read-only calls related to account structure, campaigns, 
>> and ads.
>>
>> Thanks
>> Justin
>>
>> On Thursday, July 23, 2015 at 8:34:23 AM UTC-5, uvsuperDev wrote:
>>>
>>> Hello Michael,
>>> We are well aware to the rate limits and we have implemented all 
>>> your best practices (using mutateJobService, waits etc.). As I have 
>>> written 
>>> on my original post we keep getting this after the 24 hours penalty 
>>> after 
>>> making another 15-20 calls within a hour (that isn't too much, 
>>> right?).
>>>
>>> I am really suspecting that something has gone wrong on your end 
>>> since our tool was working perfectly for months. 
>>>
>>> Any other solutions? Is there a way to find our the exact reason 
>>> we get this error?
>>>
>>> Thanks!
>>>
>>> On Thursday, July 23, 2015 at 4:21:42 PM UTC+3, Michael Cloonan 
>>> (AdWords API Team) wrote:

 Hello Kristopher,

 Based on the number of reports, and your description, I am 
 starting to suspect like you that something may be wrong on our 
 end. Can 
>>>

Re: Oauth2 with Test Service Account

2015-08-21 Thread Danial Klimkin
Hello Nick,


1. Exactly my point. There is no link. AdWords API is different from other 
APIs managed via the developer console and not controlled from there.

2. Is there any reason you really want to use service accounts? Do you 
administer a Google Apps domain?

3. Correct.


-Danial, AdWords API Team. 



On Wednesday, August 19, 2015 at 1:04:10 PM UTC+2, 
nick.hora...@agiletalentpool.com wrote:
>
> Hello Danial,
>
> Thanks for your prompt reply.
>
> "It also doesn't need to belong to the same account as any MCC (but is 
> can)"
>
> 1. I'm a little confused by what the account setup should be following 
> this remark. My aim is to create a set-up that enables a test service 
> account to retrieve campaign data. According to the documentation, the 
> project created on Google Developer Console 
> "is a collection of settings, credentials, and metadata about the 
> application or applications you're working on that make use of Google 
> Developer APIs and Google Cloud resources", so it does make sense to have a 
> single Project ID for multiple applications which make access of Google 
> Developer API. 
>
> What I do not understand though is how is the association / link between 
> the Google Developer Console and the (MCC or non-MCC) account on Google 
> AdWords made? All they have in common is the Google Account on which they 
> have been set up. For other API endpoints, I've noticed one can enable them 
> from the Enable APIs section of GDC, but there's nothing like that for 
> AdWords.
>
> 2. Could you give me an example of an account set-up for a test example 
> using an Service Account? I'm only interested in the hierarchical 
> structure. 
>
> 3. Should the client customer ID be the 10 digits one displayed under an 
> AdWords account?
>
> My apologies if all these seem like basic questions but it's my first time 
> using AdWords and I'm trying to understand how it works rather than just 
> find the fix. 
>
> Many thanks,
> Nick.
>
> On Monday, August 17, 2015 at 5:16:52 PM UTC+3, Danial Klimkin wrote:
>>
>> Hello Nick,
>>
>>
>> First of all, you don't need two project IDs for test and prod setup, 
>> project ID is per application so you can use the same one. It also doesn't 
>> need to belong to the same account as any MCC (but is can).
>>
>> Second, I strongly recommend against using service accounts. It has very 
>> limited benefits comparing to normal flow and requires you to be a domain 
>> administrator.
>>
>> As per error, you have authorized with a login that doesn't have an 
>> AdWords account associated with it. Make sure your key (or refresh token) 
>> belongs to the correct account (test MCC) and you specify clientCustomerId 
>> properly. The latter needs to be a target test account (not MCC) ID.
>>
>>
>> -Danial, AdWords API Team. 
>>
>>
>>
>> On Friday, August 14, 2015 at 2:55:47 PM UTC+2, 
>> nick.h...@agiletalentpool.com wrote:
>>>
>>> I am trying to retrieve campaign data using a test adwords service 
>>> account via the Java client library. Despite being able to obtain a refresh 
>>> token the actual call to the CampaignService class throws exception with 
>>> error code:
>>>
>>> [AuthenticationError.NOT_ADS_USER @ ; trigger:'']
>>>
>>> My setup is the following:
>>>
>>> 1. I have a production MCC Account set on prod_mc...@domain.com. On 
>>> this account, from Google Developer Console, I have created a new project 
>>> and then requested a developer token for this account which is currently in 
>>> status "Pending approval". I created a new Client ID from Google Developer 
>>> Console > API & auth > Credentials > OAuth2 and specified "Service Account" 
>>> for its type.  
>>>
>>> 2. I have created a secondary test MCC Account on test_mc...@domain.com. 
>>> Just like before I created a new project from Google Developer Console and 
>>> created a new Client ID and selected the Service Account Type. In Google 
>>> Adwords page, under Accounts, I've added a new test AdWords account under 
>>> the test MCC account. This test AdWords account does not have its own email 
>>> (as does the test MCC Account) but is linked under the test MCC account. 
>>>
>>> 3. I have added a dummy campaign for the test AdWords account (the one 
>>> linked under the test MCC account).
>>>
>>> 4. I have downloaded the private key file for the test MCC Account.
>>>
>>> The code that I am using to get the refresh Token is this:
>>>
>>>   GoogleCredential credential = new GoogleCredential.Builder()
>>>  .setTransport(httpTransport)
>>>   .setJsonFactory(JSON_FACTORY)
>>>   .setServiceAccountId(TEST_MCC_ACCOUNT_CLIENT_EMAIL)
>>>   .setServiceAccountScopes(Collections.singleton("
>>> https://www.googleapis.com/auth/adwords";))
>>>   .setServiceAccountPrivateKeyFromP12File(new 
>>> File(TEST_MCC_ACCOUNT_P12_FILE))
>>>   .build();
>>>
>>>credential.refreshToken();
>>>   
>>>   return credential;
>>>
>>> The refresh token is retrieved with no errors (

Re: .net adwords api 'Failed to get access token for service account'

2015-08-21 Thread Danial Klimkin
Hello Senthil,


This is a year old non-related thread. Please start a new one instead of 
resurrecting this old one.


-Danial, AdWords API Team.


On Thursday, August 20, 2015 at 10:10:51 PM UTC+2, Senthil Palaniswami 
wrote:
>
> David, 
>
> I am using the V201506 API in C# .Net Application by Service Account. I 
> use Service Account Email & .P12 Key file to access this, but i get the 
> below error. Could you please assist ? Thanks 
>
> *Failed to get access token for service account.*
>
> *{*
>
> *  "error" : "unauthorized_client",*
>
> *  "error_description" : "Unauthorized client or scope in request."*
>
> *}*
>
>
> Thanks
> Senthil
>
> On Monday, April 14, 2014 at 7:17:23 AM UTC-4, Danial Klimkin wrote:
>>
>> Hello David,
>>
>>
>> There is definitely a limit on how often you can request a new refresh / 
>> access tokens. It's recommended to re-share them between threads / services.
>>
>>
>> -Danial, AdWords API Team.
>>
>>
>> On Friday, April 11, 2014 5:57:36 PM UTC+4, DavM wrote:
>>>
>>> Hi Danial
>>>
>>> I've managed to eradicate 'Failed to get access token for service 
>>> account.{  "error" : "invalid_request"}"}' for now by sharing the 
>>> "AdWordsUser" object between all threads in my application.
>>>
>>> Does that mean the error can relate to throttling?
>>>
>>> Cheers
>>>
>>> David
>>>
>>> On Thursday, 10 April 2014 14:12:42 UTC+1, Danial Klimkin wrote:

 Hello,


 As mentioned above, user interaction is required only once, user needs 
 to indicate he / she agrees the account will be managed by your 
 application.

 When this is done you receive a refresh token which can be used in your 
 scheduled tasks with no additional user interaction required. Please see:

   
 https://developers.google.com/adwords/api/docs/guides/clientlogin-to-oauth2-migration-guide


 -Danial, AdWords API Team.

 On Thursday, April 10, 2014 4:47:20 PM UTC+4, otser...@allthingsweb.gr 
 wrote:
>
> Hello,
>
> My problem is that i use the adwords api on various scheduled tasks 
> that user interaction is not possible.
> Can you describe me or redirect me to a link that shows clearly how to 
> use adwords api with no user interaction? Is this even possible?
>
> Thanks
>
> Τη Πέμπτη, 10 Απριλίου 2014 2:54:56 μ.μ. UTC+3, ο χρήστης Danial 
> Klimkin έγραψε:
>>
>> Hello,
>>
>>
>> We recommend to either use "Installed application" or "Web 
>> application" flows. The former one for the cases when you manage only 
>> your 
>> accounts (all accounts are linked to a single MCC) and the latter when 
>> you 
>> manage unlinked 3rd party accounts.
>>
>> In both cases, user interaction is only required once (per user), to 
>> grant the access. Once access is granted you receive a refresh token you 
>> can use indefinitely with no further user input required.
>>
>>
>> -Danial, AdWords API Team.
>>
>>
>> On Wednesday, April 9, 2014 5:12:06 PM UTC+4, 
>> otser...@allthingsweb.gr wrote:
>>>
>>> Thanks for the reply.
>>>
>>> Yes i am running a Google Apps domain. I implemented each step of 
>>> the procedure correctly i guess as i get some results back. But 
>>> sometimes i 
>>> get  *Failed to get access token for service account.\n{\n 
>>>  \"error\" : \"invalid_request\"\n}"}*
>>>
>>> Do i miss something?
>>>
>>> Otherwise is there a way to use the api with >> value="APPLICATION" /> without user interaction?
>>>
>>>
>>> Τη Τετάρτη, 9 Απριλίου 2014 3:43:10 μ.μ. UTC+3, ο χρήστης Danial 
>>> Klimkin έγραψε:

 Hello,


 Are you running a Google Apps domain? In most cases, you should not 
 be using Service Accounts unless you need very specific features like 
 impersonation.

 Please see this guide for more details:

   
 https://developers.google.com/adwords/api/docs/guides/service-accounts


 -Danial, AdWords API Team.


 On Tuesday, April 8, 2014 7:22:56 PM UTC+4, 
 otser...@allthingsweb.gr wrote:
>
> Hi,
>
> i use the new adwords api (v201402) and i have trouble downloading 
> reports via api.
> I have successfully completed the entire procedure of service 
> account (
> https://developers.google.com/adwords/api/docs/guides/service-accounts
> ).
> I use this configuration:
>
> 
> 
> 
>  value="path-privatekey.p12" />
> 
>
> and i have registered the scope successfully
>
> But sometimes (not always) i get this message : *"Failed to get 
> access token for service account" *
>
> Can you help me please?
>>

Re: OPERATOR_NOT_SUPPORTED when using AdwordsUserListService

2015-08-21 Thread Anthony Madrigal
Hello,

This error may occur if you are trying to execute these operations against 
your MCC account. Could you confirm whether or not you were using your 
manager account for these requests?

Thanks,
Anthony
AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/cb3c081e-db75-420b-b1e5-be219f4465ab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to get Campaign Language and Campagin Location

2015-08-21 Thread jonathan
Thanks, I`m going to check this.
Thanks for your answer.

Cheers.

El viernes, 21 de agosto de 2015, 8:20:51 (UTC-5), Anthony Madrigal 
escribió:
>
> Hi Jonathan,
>
> The two campaigns that you have given me are in different client accounts. 
> The most likely possibility that your first query did not work is that you 
> are trying to request for a campaign from a different account. To fix this, 
> change your *clientCustomerId *accordingly so that the campaigns being 
> selected are in the client accounts you have chosen.
>
> Cheers,
> Anthony
> AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/4a9300d8-4877-4c36-9528-8f808da9e1dc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Get product groups by product id

2015-08-21 Thread Anthony Madrigal
Hello,

Unfortunately, there is no direct way to grab the Product Group from the 
Product. You could try running a Shopping Performance Report 

 
and matching the various field values in the *ProductGroups* field on the 
Product 
Partition Report 
,
 
but that will be quite difficult since you'll have to parse the 
*ProductGroups* field, then find the rows in the Shopping Performance 
Report whose attribute values match the conditions listed in *ProductGroups*
.

You could check out this previous post 
 for 
more clarity.

Regards,
Anthony
AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/24844ca5-9e78-4615-8a7a-68b31ec54d5b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: API Access to Imp. Share for a group of campaigns

2015-08-21 Thread Umesh Dengale
Hello,

Thanks for providing the screenshot. You are using campaign name (e.g. 
dentist) to filter campaigns information. You could get all campaign level 
statistics in the CAMPAIGN_PERFORMANCE_REPORT 

 and 
you can add a filter on filed CampaignName 
.
 
(e.g. "SELECT CampaignId,  CampaignName, Impressions, Clicks, Cost FROM 
CAMPAIGN_PERFORMANCE_REPORT WHERE CampaignName CONTAINS 'dentist' "). This 
cover answer to your second question.

Could you explain more about your first question? ( it's possible to have 
the Imp. Share for a group of campaigns with the API ?)

Thanks,
Umesh, AdWords API Team.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/bfcf53be-52af-4aeb-b7a8-352b0d78e2e0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: {"[AuthenticationError.NOT_ADS_USER @ ; trigger:'']"} while getting the existing campaigns

2015-08-21 Thread Umesh Dengale
Hi Sarah,

You created refresh token before the creation of ClientId and ClientSecret 
key. You could recreate refresh token and call the API.

Thanks,
Umesh, AdWords API Team.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ac624b97-4038-4348-aeb2-1e7ca584da03%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Service Account Access Error "Unauthorized client or scope in request"

2015-08-21 Thread Josh Radcliff (AdWords API Team)
Hi,

Did you also complete the Steps to granting a service account impersonation 
abilities 
,
 
using the new client ID?

Thanks,
Josh, AdWords API Team

On Thursday, August 20, 2015 at 4:11:04 PM UTC-4, Cory Shaw wrote:
>
> We recently had to switch to a new manager account for AdWords due to the 
> domain of the email associated with the account. We have an in-house 
> dashboard for our clients to sign in and visually see reports returned from 
> the AdWords API. On our previous MCC account we were accepted to the API 
> and had a working Developer Token and service account with .p12 key that 
> successfully connects to the API. To fix our domain issue, we created a new 
> MCC account that fit our domain problems. We then made our new MCC account 
> a manager of our old MCC account, and then continued to add the rest of our 
> clients to the new MCC account. 
>
> After doing so we needed to fix our dashboard to use the new MCC's 
> developer token and service account credentials. So we signed into the same 
> email as our new MCC account and went to the Developer's Console and 
> created a new service account. The same as we made our old MCC's service 
> account. We switched our dashboard to use the new service account's 
> credentials, p12 key, and Developer Token, then switched the Prn Email to 
> match. Unfortunately, it is returning:
>
> { 
>
>"Failed to get access token for service account. 
>
> { 
>
>  "error" : "unauthorized_client",  
>
>  "error_description" : "Unauthorized client or scope in 
>> request." 
>
> } 
>
> }
>
>
> Our old Service Account worked immediately after we created it, but this 
> is giving us trouble if we try to connect at all. Our settings are 
> identical except for the credentials shown below:
>
>
> //OLD MCC
>
> ((AdWordsAppConfig) _user.Config).DeveloperToken = 
> "OLD_MCC_TOKEN";
>
> ((AdWordsAppConfig) _user.Config).OAuth2ClientId = "
> OLDapps.googleusercontent.com";
>
> ((AdWordsAppConfig) _user.Config).OAuth2ServiceAccountEmail = 
> "o...@developer.gserviceaccount.com";
>
> ((AdWordsAppConfig) _user.Config).OAuth2PrnEmail = "
> o...@gmail.com";
>
> ((AdWordsAppConfig) _user.Config).OAuth2CertificatePath = 
> AppDomain.CurrentDomain.GetData("DataDirectory") + "/OLD.p12";
>
>
> //NEW MCC
>
> ((AdWordsAppConfig) _user.Config).DeveloperToken = 
> "NEW_MCC_TOKEN";
>
> ((AdWordsAppConfig) _user.Config).OAuth2ClientId = "
> NEW.apps.googleusercontent.com";
>
> ((AdWordsAppConfig) _user.Config).OAuth2ServiceAccountEmail = 
> "n...@developer.gserviceaccount.com";
>
> ((AdWordsAppConfig) _user.Config).OAuth2PrnEmail = "
> n...@gmail.com";
> ((AdWordsAppConfig) _user.Config).OAuth2CertificatePath = 
> AppDomain.CurrentDomain.GetData("DataDirectory") + "/NEW.p12"; 
>
> I made the New MCC's developer console IDENTICAL to the old MCC's 
> developer console, and still no luck. I checked to make sure the new .p12 
> file exists and it does. I'm stumped.
>
> Any help would be greatly appreciated!
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/7036a192-beb7-4c6d-a444-d0365271b5ca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Keyword Name

2015-08-21 Thread jonathan
I'm consuming the report  KEYWORDS_PERFORMANCE_REPORT in order to get the 
keywords of a specific adgroup, but I'm not able to get the name of the 
list of keywords.




Do I need to consume another Service or I'm missing a parameter ?



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/a3ab1012-7300-4755-b8cd-9d8ed2fd72a2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.