Re: Error creating campaign with and without bid strategy

2021-02-22 Thread Gregory Golberg
Here is the request and response:

2021-02-22 10:58:45,213 WARN [] FAILURE REQUEST SUMMARY. Method:
google.ads.googleads.v6.services.CampaignService/MutateCampaigns, Endpoint:
googleads.googleapis.com:443, CustomerID: 1269829539, RequestID:
5g8gXwnK98UH9Kan6Q3PLA, ResponseCode: INVALID_ARGUMENT, Fault: Request
contains an invalid argument..
2021-02-22 10:58:45,557 INFO [] FAILURE REQUEST DETAIL.
Request
---
MethodName: google.ads.googleads.v6.services.CampaignService/MutateCampaigns
Endpoint: googleads.googleapis.com:443
Headers: {developer-token=REDACTED, x-goog-api-client=gl-java/1.8.0_171
gapic/ gax/1.60.1 grpc/1.32.2}
Body: customer_id: "1269829539"
operations {
  create {
status: PAUSED
advertising_channel_type: MULTI_CHANNEL
advertising_channel_sub_type: APP_CAMPAIGN
app_campaign_setting {
  bidding_strategy_goal_type: OPTIMIZE_INSTALLS_TARGET_INSTALL_COST
  app_store: GOOGLE_APP_STORE
  app_id: "com.zenga.doggyheaven"
}
name: "google_campaign_example_20210222T1058"
campaign_budget: "customers/1269829539/campaignBudgets/8220183045"
bidding_strategy: "customers/1269829539/biddingStrategies/7386130237"
  }
}


Response

Headers:
Metadata(content-type=application/grpc,request-id=5g8gXwnK98UH9Kan6Q3PLA,date=Mon,
22 Feb 2021 18:58:45 GMT,alt-svc=h3-29=":443"; ma=2592000,h3-T051=":443";
ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443";
ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43")
Body: null
Failure message: errors {
  error_code {
operation_access_denied_error: OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE
  }
  message: "This operation is not permitted on this campaign type"
  trigger {
string_value: ""
  }
  location {
field_path_elements {
  field_name: "operations"
  index: 0
}
field_path_elements {
  field_name: "create"
}
field_path_elements {
  field_name: "bidding_strategy"
}
  }
}



On Mon, Feb 22, 2021 at 10:52 AM Google Ads API Forum Advisor Prod <
adsapiforumadvi...@gmail.com> wrote:

> Hi Gregory,
>
> Thanks for clarifying which API is being used. The documentation in your
> first post specifying that target CPA is the only accepted bidding strategy
> only applies to AdWords API.
>
> Can you please provide us with the complete request and response logs
> associated with the call giving
> the OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE error?
>
> Thanks,
> Matt
> Google Ads API Team
>
> [image: Google Logo]
> Matt
> Google Ads API Team
>
>
> ref:_00D1U1174p._5004Q2CSpVW:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/CAJxDUeWUg4h-HMTeEhe0KHgKRp26rh5OchT8iA8Q13EXJpigFQ%40mail.gmail.com.


Re: Error creating campaign with and without bid strategy

2021-02-21 Thread Gregory Golberg
Any thoughts?

On Friday, February 19, 2021 at 9:45:03 AM UTC-8 adsapiforumadvisor wrote:

> Hi Gregory,
>
> Thanks for reaching out. I'm seeing documentation from both the Google 
> Ads API  and the 
> AdWords 
> API  in your 
> messages. It appears you are using the AdWords API, so I recommend limiting 
> your research to its documentation. 
>
> I recommend using the code snippets on this page 
> .
>  
> I can see that your code has the line:
>
>   .setAdvertisingChannelSubType(AdvertisingChannelSubType.APP_CAMPAIGN)
>
> This method should take the 
> value, AdvertisingChannelSubType.UNIVERSAL_APP_CAMPAIGN, according to the 
> documentation. 
>
> Regards,
> Matt
> Google Ads API Team
>
> [image: Google Logo] 
> Matt 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2CSpVW:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/66357167-c177-426e-8370-3f61be1130c0n%40googlegroups.com.


Re: Error creating campaign with and without bid strategy

2021-02-19 Thread Gregory Golberg

*Thanks for reaching out. I'm seeing documentation from both the Google Ads 
API  and the 
AdWords API  
in your messages. It appears you are using the AdWords API, so I recommend 
limiting your research to its documentation. *

I'm actually using Ads API (com.google.api-ads:google-ads:10.1.0); sorry 
for confusion. I'd prefer to use that as that is the newer iteration, 
right? 

 

*I recommend using the code snippets on this page 
.
 
I can see that your code has the line:*


* .setAdvertisingChannelSubType(AdvertisingChannelSubType.APP_CAMPAIGN)* 


*This method should take the value, 
AdvertisingChannelSubType.UNIVERSAL_APP_CAMPAIGN, according to the 
documentation. *
Well yes, according to doc it should, but AdvertisingChannelSubType enum, 
as I pointed out, does not have the UNIVERSAL_APP_CAMPAIGN value 
.
 
So looks like in the Ads API the right thing to use is APP_CAMPAIGN.

-g




On Friday, February 19, 2021 at 9:45:03 AM UTC-8 adsapiforumadvisor wrote:

> Hi Gregory,
>
> Thanks for reaching out. I'm seeing documentation from both the Google 
> Ads API  and the 
> AdWords 
> API  in your 
> messages. It appears you are using the AdWords API, so I recommend limiting 
> your research to its documentation. 
>
> I recommend using the code snippets on this page 
> .
>  
> I can see that your code has the line:
>
>   .setAdvertisingChannelSubType(AdvertisingChannelSubType.APP_CAMPAIGN)
>
> This method should take the 
> value, AdvertisingChannelSubType.UNIVERSAL_APP_CAMPAIGN, according to the 
> documentation. 
>
> Regards,
> Matt
> Google Ads API Team
>
> [image: Google Logo] 
> Matt 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2CSpVW:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ea04d6f3-ba87-43ac-9cee-c3bdfb53e3c2n%40googlegroups.com.


Re: Issue with GEO_PERFORMANCE_REPORT

2021-02-18 Thread Gregory Golberg
I've seen this happen for me (data in CAMPAIGN report but not in GEO). Do 
not exactly recall what the issue was, but on a chance: In the scripts, is 
the customer you are logged in as the manager of 6882030488? Is it possible 
that you need then to set, in the API call, login-customer-id 
?
 


On Thursday, February 18, 2021 at 11:05:51 PM UTC-8 pvv...@gmail.com wrote:

>
> Addition:
>
> We have a script from Google Ads Team running in Bulk Actions. 
> It gets data from GEO_PERFORMANCE_REPORT using the same query
>
> пятница, 19 февраля 2021 г. в 09:39:05 UTC+3, Pismarev Vitaly: 
>
>> We faced some issues with loading reports with using Python Api.  The 
>> GEO_PERFORMANCE_REPORT is empty always, meanwhile 
>> CAMPAIGN_PERFORMANCE_REPORT is loading well. 
>> client_customer_id=6882030488
>>
>> We are using scripts in Google Ads right now. However, it would be better 
>> for us to use Python Api.
>>
>>
>> _report_fields = [
>> "Date",
>> "CountryCriteriaId",
>> "AccountDescriptiveName",
>> "AdNetworkType1",
>> "CampaignName",
>> "CampaignId",
>> "CampaignStatus",
>> "Clicks",
>> "Impressions",
>> "Cost",
>> "Conversions"
>> ]
>>
>> query = (adwords.ReportQueryBuilder()
>> .Select(*_report_fields)
>> #.From("CAMPAIGN_PERFORMANCE_REPORT")
>> .From("GEO_PERFORMANCE_REPORT")
>> .During('TODAY')
>> .Build())
>>
>> report_downloader = adwords_client.GetReportDownloader()
>>
>> data = report_downloader.DownloadReportAsStringWithAwql(
>> query,
>> 'CSV',
>> client_customer_id=6882030488,
>> skip_report_header=True,
>> skip_column_header=True,
>> skip_report_summary=True
>> )
>>
>> Could anyone help us with this issue?
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/f16e4d48-d451-48df-b33e-03021fab107en%40googlegroups.com.


Re: Error creating campaign with and without bid strategy

2021-02-18 Thread Gregory Golberg
I see that in this thread 
<https://groups.google.com/g/adwords-api/c/IUWVu34JR8w> for a similar 
problem it is recommended to use preparation steps from doc 
<https://developers.google.com/google-ads/api/docs/app-campaigns/create-campaign#preparation>.
 
So I have done that, now the
code looks like

 googleCampaign = Campaign.newBuilder().setName("campaign_123")
.setAdvertisingChannelType(AdvertisingChannelType.MULTI_CHANNEL)

.setAdvertisingChannelSubType(AdvertisingChannelSubType.APP_CAMPAIGN)
.setAppCampaignSetting(AppCampaignSetting.newBuilder()
.setBiddingStrategyGoalType(

AppCampaignBiddingStrategyGoalType.OPTIMIZE_INSTALLS_TARGET_INSTALL_COST)
.setAppStore(AppCampaignAppStore.GOOGLE_APP_STORE)
.setAppId(TEST_PLAY_STORE_APP_ID)
.build())
.setStatus(CampaignStatus.PAUSED)
   
//.setBiddingStrategyType(BiddingStrategyType.TARGET_CPA)
//.setBiddingStrategy(bidStrategyResName)
  
.setCampaignBudget(budgetResName)
.build();

But the same problem occurs -- if bidding strategy is commented out, it 
says "The required field was not present"; if present, the error is  "This 
operation is not permitted on this campaign type" 
On Thursday, February 18, 2021 at 8:14:13 PM UTC-8 Gregory Golberg wrote:

> If I don't specify bidding strategy for a campaign, I get an error that it 
> is required:
> -
>  error_code {
> field_error: REQUIRED
>   }
>   message: "The required field was not present."
>   trigger {
> string_value: ""
>   }
>   location {
> field_path_elements {
>   field_name: "operations"
>   index: 0
> }
> field_path_elements {
>   field_name: "create"
> }
> field_path_elements {
>   field_name: "campaign_bidding_strategy"
> }
>   }
> }
> -
>
> But if I do, like so:
> -
>   String bidStrategyResName = null;
>   try (BiddingStrategyServiceClient bidStrategySvcCli =
>   googleClient.createBiddingStrategyServiceClient()) {
>
> BiddingStrategy bidStrategy =
> BiddingStrategy.newBuilder().setName("bidding_strategy_123")
> 
> .setTargetCpa(TargetCpa.newBuilder().setTargetCpaMicros(1L).build()).build();
> BiddingStrategyOperation operation =
> 
> BiddingStrategyOperation.newBuilder().setCreate(bidStrategy).build();
> MutateBiddingStrategiesResponse response =
> bidStrategySvcCli.mutateBiddingStrategies(customerId, 
> Arrays.asList(operation));
> MutateBiddingStrategyResult bidStrategyResult = 
> response.getResults(0);
> bidStrategyResName = bidStrategyResult.getResourceName();
>   }
>
>   List campaignOps = new ArrayList<>(1);
>   Campaign googleCampaign = null;
>   try (CampaignServiceClient campaignServiceClient =
>   googleClient.createCampaignServiceClient()) {
> googleCampaign = Campaign.newBuilder().setName("campaign_123")
> 
> .setAdvertisingChannelType(AdvertisingChannelType.MULTI_CHANNEL)
> 
> .setAdvertisingChannelSubType(AdvertisingChannelSubType.APP_CAMPAIGN)
> .setStatus(CampaignStatus.PAUSED)
> .setBiddingStrategy(bidStrategyResName)
> .setCampaignBudget(budgetResName)
> .build();
>
> CampaignOperation campaignOp =
> 
> CampaignOperation.newBuilder().setCreate(googleCampaign).build();
> campaignOps.add(campaignOp);
>
> MutateCampaignsResponse campaignResponse =
> campaignServiceClient.mutateCampaigns(customerId, campaignOps);
> -
>
> I get a different error:
> -
>  errors {
>   error_code {
> operation_access_denied_error: 
> OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE
>   }
>   message: "This operation is not permitted on this campaign type"
>   trigger {
> string_value: ""
>   }
>   location {
> field_path_elements {
>   field_name: "operations"
>   index: 0
> }
> field_path_elements {
>   field_name: "create"
> }
> field_path_elements {
>   field_name: "bidding_strategy&qu

Error creating campaign with and without bid strategy

2021-02-18 Thread Gregory Golberg
If I don't specify bidding strategy for a campaign, I get an error that it 
is required:
-
 error_code {
field_error: REQUIRED
  }
  message: "The required field was not present."
  trigger {
string_value: ""
  }
  location {
field_path_elements {
  field_name: "operations"
  index: 0
}
field_path_elements {
  field_name: "create"
}
field_path_elements {
  field_name: "campaign_bidding_strategy"
}
  }
}
-

But if I do, like so:
-
  String bidStrategyResName = null;
  try (BiddingStrategyServiceClient bidStrategySvcCli =
  googleClient.createBiddingStrategyServiceClient()) {

BiddingStrategy bidStrategy =
BiddingStrategy.newBuilder().setName("bidding_strategy_123")

.setTargetCpa(TargetCpa.newBuilder().setTargetCpaMicros(1L).build()).build();
BiddingStrategyOperation operation =

BiddingStrategyOperation.newBuilder().setCreate(bidStrategy).build();
MutateBiddingStrategiesResponse response =
bidStrategySvcCli.mutateBiddingStrategies(customerId, 
Arrays.asList(operation));
MutateBiddingStrategyResult bidStrategyResult = 
response.getResults(0);
bidStrategyResName = bidStrategyResult.getResourceName();
  }

  List campaignOps = new ArrayList<>(1);
  Campaign googleCampaign = null;
  try (CampaignServiceClient campaignServiceClient =
  googleClient.createCampaignServiceClient()) {
googleCampaign = Campaign.newBuilder().setName("campaign_123")
.setAdvertisingChannelType(AdvertisingChannelType.MULTI_CHANNEL)

.setAdvertisingChannelSubType(AdvertisingChannelSubType.APP_CAMPAIGN)
.setStatus(CampaignStatus.PAUSED)
.setBiddingStrategy(bidStrategyResName)
.setCampaignBudget(budgetResName)
.build();

CampaignOperation campaignOp =

CampaignOperation.newBuilder().setCreate(googleCampaign).build();
campaignOps.add(campaignOp);

MutateCampaignsResponse campaignResponse =
campaignServiceClient.mutateCampaigns(customerId, campaignOps);
-

I get a different error:
-
 errors {
  error_code {
operation_access_denied_error: OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE
  }
  message: "This operation is not permitted on this campaign type"
  trigger {
string_value: ""
  }
  location {
field_path_elements {
  field_name: "operations"
  index: 0
}
field_path_elements {
  field_name: "create"
}
field_path_elements {
  field_name: "bidding_strategy"
}
  }
}
-
I am setting it to TARGET_CPA because it says in the doc for app campaigns 
  
that "Only the TARGET_CPA bidding strategy type is supported". (Though this 
same doc also says to use UNIVERSAL_APP_CAMPAIGN as subtype 

 
but it does not seem to appear in AdvertisingChannelSubType enum 

  
(anymore?)

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/c92e5fff-afee-4ee6-9b5e-4ce8e127a765n%40googlegroups.com.


Re: geographic_view.cost_per_micros is in local currency?

2021-02-17 Thread Gregory Golberg
Is there a way to programmatically query that setting -- if I want to
report on multiple accounts?

On Wed, Feb 17, 2021 at 12:54 PM Google Ads API Forum Advisor Prod <
adsapiforumadvi...@gmail.com> wrote:

> Hi Gregory,
>
> Thank you for reaching out. The currency is determined by the setting in
> the Google Ads account. As you can see, the unit for currency is in micro
> ,
> which means 100 equals to one unit for that currency.
>
> Thanks and regards,
> Xiaoming, Google Ads API Team
>
> [image: Google Logo]
> Xiaoming
> Google Ads API Team
>
>
> ref:_00D1U1174p._5004Q2CSAhJ:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/CAJxDUeVEDxgkEd9%2BK88GMJY1vJ%2B8utLP3Je-XxTNxB%3D3%2B8oNFQ%40mail.gmail.com.


geographic_view.cost_per_micros is in local currency?

2021-02-17 Thread Gregory Golberg
Is the cost_per_micros 

 
field in geographic_view in the account's currency, not USD? It appears so, 
as the numbers do not match those that I get by using Cost field with 
ReportDownloader 
?

Is it possible to get it in USD?

Thanks.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/b2feec92-bb4c-4f29-afe5-e7dc1f949b08n%40googlegroups.com.


Re: CAMPAIGN_CANNOT_USE_SHARED_BUDGET error

2021-02-17 Thread Gregory Golberg
This campaign is a brand new campaign I am creating, so it is not set up as
an experiment unless it is a default setting. Here's the code, using  Java
(google-ads 10.1.0)
(note System.currentTimeMillis() -- to ensure for the purposes of this test
that this is a unique name):
===
 CampaignBudget budget =
CampaignBudget.newBuilder().setName("my_test_budget" +
System.currentTimeMillis())
.setDeliveryMethod(BudgetDeliveryMethod.STANDARD)
.setAmountMicros(1000L).build();

CampaignBudgetOperation budgetOp =
CampaignBudgetOperation.newBuilder().setCreate(budget).build();
CampaignBudgetServiceClient campaignBudgetServiceClient =
googleClient.createCampaignBudgetServiceClient();
MutateCampaignBudgetsResponse budgetResponse =
campaignBudgetServiceClient.mutateCampaignBudgets(customerId,
ImmutableList.of(budgetOp));
String budgetResourceName =
budgetResponse.getResults(0).getResourceName();

List operations = new ArrayList<>(1);

Campaign googleCampaign =
Campaign.newBuilder().setName(titanCampaign.getName())
.setAdvertisingChannelType(AdvertisingChannelType.MULTI_CHANNEL)

.setAdvertisingChannelSubType(AdvertisingChannelSubType.APP_CAMPAIGN)
.setStatus(CampaignStatus.PAUSED)
.setCampaignBudget(budgetResourceName)
.build();

CampaignOperation campaignOp =
CampaignOperation.newBuilder().setCreate(googleCampaign).build();
operations.add(campaignOp);
CampaignServiceClient campaignServiceClient =
googleClient.createCampaignServiceClient();
MutateCampaignsResponse campaignResponse =
campaignServiceClient.mutateCampaigns(customerId, operations);

On Wed, Feb 17, 2021 at 9:10 AM Google Ads API Forum Advisor Prod <
adsapiforumadvi...@gmail.com> wrote:

> Hi Gregory,
>
> Can you please confirm that you are using the AdWords API? The error you
> mentioned occurs if the campaign is an experiment
> .
> Can you also confirm if this is the case?
>
> Thanks,
> Matt
> Google Ads API Team
>
> [image: Google Logo]
> Matt
> Google Ads API Team
>
>
> ref:_00D1U1174p._5004Q2CRs7q:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/CAJxDUeWcru6VKpESoNmpNdmaVX-ALzwj%3Di_gnOXvvyGp1GF5TA%40mail.gmail.com.


CAMPAIGN_CANNOT_USE_SHARED_BUDGET error

2021-02-17 Thread Gregory Golberg
I am creating a new budget, and then creating a campaign using newly 
created resource name. Yet I am getting CAMPAIGN_CANNOT_USE_SHARED_BUDGET 
error.

What could be the cause?

-g

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/7911c4cc-d76f-4b62-ad00-30c4102c44can%40googlegroups.com.


Re: Error when creating campaign

2021-02-17 Thread &#x27;Gregory Golberg' via AdWords API and Google Ads API Forum
Hello

Thank you; that did it.

On Tuesday, February 16, 2021 at 6:35:49 PM UTC-8 adsapiforumadvisor wrote:

> Hi Gregory,
>
> Thank you for your email.
>
> If you are using a MCC/manager account ID in your request then I would 
> recommend that you use a client account ID instead. This is because 
> creating campaigns require a client account ID as the *customer_id* 
> value, since campaigns are associated to client accounts instead of being 
> associated directly to a MCC/manager account.
>
> Should the issue persist, you may provide the complete request 
> 
>  
> and response 
> 
>  
> logs and send them over via the *Reply privately to author* option.
>
> Best regards,
>
> [image: Google Logo] 
> Peter Laurence Napa Oliquino 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2CRb8K:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ea378535-bb66-408b-af3e-5b6fbcfae544n%40googlegroups.com.


Error when creating campaign

2021-02-16 Thread &#x27;Gregory Golberg' via AdWords API and Google Ads API Forum
Hello

On a manager account, with API enabled, I am getting an error creating a 
campaign:

  error_code {
operation_access_denied_error: CREATE_OPERATION_NOT_PERMITTED
  }
  message: "Unauthorized CREATE operation in invoking a service\'s mutate 
method."
  trigger {
string_value: ""
  }
  location {
field_path_elements {
  field_name: "operations"
  index: 0
}
  }
}

What is wrong here?


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/3ea4a2bf-7fd1-4262-bb15-0c57f2021386n%40googlegroups.com.


Re: Difference between conversion_action_name and ConversionTypeName?

2021-02-15 Thread Gregory Golberg
Thank you, that makes it clear.

On Sun, Feb 14, 2021 at 5:30 PM Google Ads API Forum Advisor Prod <
adsapiforumadvi...@gmail.com> wrote:

> Hi Gregory,
>
> Thanks for posting your concern.
>
> To answer your question, the conversion_action_name
> 
> and ConversionTypeName
> 
> has the same functionality and can be used to return *Conversion* *action
> name* in Conversion actions UI (*TOOLS & SETTINGS > MEASUREMENTS >
> Conversions > Conversion actions*). The difference between the two is the
> *conversion_action_name* can only be included when using Google Ads API
> reporting
> 
> while *ConversionTypeName* can only be included when using AdWords API
> reporting
> .
>
> Let me know if you have further questions.
>
> Regards,
> [image: Google Logo]
> Ernie John Blanca Tacata
> Google Ads API Team
>
>
> ref:_00D1U1174p._5004Q2CQWBa:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/CAJxDUeX%3DSXN3Ksyatn-aMTOwqD7aX28ywKAXHt8gDDndUqkzWA%40mail.gmail.com.


Difference between conversion_action_name and ConversionTypeName?

2021-02-12 Thread Gregory Golberg

What is the difference (and possible values) for these two? I have been 
looking at conversion types as described here 
 (that looks to 
be represented by AppConversionAppConversionType 
)
 
and at segments.conversion_action_name in geographic_view 
.

Where is comprehensive information about how to use those two?

-g


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/2aad928c-46a7-4c51-9a83-fdf2254642b0n%40googlegroups.com.


Re: Error message "The developer token is not approved. Non-approved developer tokens can only be used with test accounts."

2021-02-09 Thread Gregory Golberg
How come "reply to author" is greyed out for me?

On Tuesday, February 9, 2021 at 9:53:05 AM UTC-8 adsapiforumadvisor wrote:

> Hi,
>
> Please send the following details using 'Reply privately to author' 
> option: 
>
>1. API request and error response 
>2. Account id 
>3. User email address 
>
> Thanks,
> [image: Google Logo] 
> Lakshmi Prathipati 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2BeuS2:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/bed285c2-3054-4f2f-b91b-271c4546997cn%40googlegroups.com.


Error message "The developer token is not approved. Non-approved developer tokens can only be used with test accounts."

2021-02-08 Thread Gregory Golberg

Hello

I am trying to test something with a test account (specifically, trying to 
call /google.ads.googleads.v6.services.AssetService/MutateAssets) and am 
getting this error. But the developer token used is the one from the test 
account, so what is wrong here?

-g

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/4b4468dd-2906-43a4-9e7f-2d44d7722f48n%40googlegroups.com.


Re: How to best use MOBILE_APP_RESOLVED_ID dimension?

2021-02-02 Thread Gregory Golberg
I am calling this via an API (dfp-axis) -- would that still be the right
forum?

On Tue, Feb 2, 2021 at 11:29 AM Google Ads API Forum Advisor Prod <
adsapiforumadvi...@gmail.com> wrote:

> Hi Gregory,
>
> It looks like you are using Ad Manager
> . This support channel
> specializes in Ads API support
> . Please reach
> out to the Ad Manager support community here
> .
>
> Regards,
> Matt
> Google Ads API Team
>
> [image: Google Logo]
> Matt
> Google Ads API Team
>
>
> ref:_00D1U1174p._5004Q2Bcz2R:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/CAJxDUeWoKxj_zWv4dY5U%2Byo6fDiGwh64BNVXW-Dbwpa9N4PjUw%40mail.gmail.com.


How to best use MOBILE_APP_RESOLVED_ID dimension?

2021-02-01 Thread Gregory Golberg
Hello

I have a report that uses 

AD_EXCHANGE_MOBILE_APP_NAME, and AD_EXCHANGE_MOBILE_DEVICE_NAME dimensions 
with the following columns:

AD_EXCHANGE_ESTIMATED_REVENUE
AD_EXCHANGE_CLICKS
AD_EXCHANGE_IMPRESSIONS
AD_EXCHANGE_AD_REQUESTS

But looks like MOBILE_APP_RESOLVED_ID would give me more useful results 
(package name on android and ID on iOS). However, it looks like this 
dimension cannot be used with the above columns.

After some digging, I considered replacing the columns with 

AD_SERVER_ALL_REVENUE,
AD_SERVER_CLICKS,
AD_SERVER_IMPRESSIONS

which would work with MOBILE_APP_RESOLVED_ID. But while this works in some 
cases, in others the former report works, but the latter yields no data.

Any clues? Perhaps I am missing the documentation that better explains this.

Thanks

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/f1478373-e80c-41b6-81dd-ab4607a45f24n%40googlegroups.com.


Re: Deadlock when merely adding ads-lib to pom.xml?

2021-01-31 Thread Gregory Golberg
Filed https://github.com/googleads/google-ads-java/issues/396

On Mon, Jan 25, 2021 at 6:22 PM Google Ads API Forum Advisor Prod <
adsapiforumadvi...@gmail.com> wrote:

> Hi Gregory,
>
> Thank you for reaching out to our API support team.
>
> As this appears to be more of a client library concern, could you confirm
> if you are using the Java client library? If yes, you can reach out to
> their client library owners instead, via this link
> , as they should be
> the more appropriate team to provide guidance.
>
> If you are using or configuring a different client library, let me know
> which so I can provide their support link.
>
> Best regards,
>
> [image: Google Logo]
> Peter Laurence Napa Oliquino
> Google Ads API Team
>
>
> ref:_00D1U1174p._5004Q2B2mzt:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/CAJxDUeX8TVnw%3DcVdi%2B8e-txc3MCGVrZK_n3hock6sQ_6P8u41A%40mail.gmail.com.


Re: Deadlock when merely adding ads-lib to pom.xml?

2021-01-25 Thread Gregory Golberg
Correct, this is a Java library issue; but the problem here is I'm unsure
which one of the libraries is the culprit here. If you notice, merely the
rearranging of orders of import changes things. I will submit an issue, of
course.

On Mon, Jan 25, 2021 at 6:22 PM Google Ads API Forum Advisor Prod <
adsapiforumadvi...@gmail.com> wrote:

> Hi Gregory,
>
> Thank you for reaching out to our API support team.
>
> As this appears to be more of a client library concern, could you confirm
> if you are using the Java client library? If yes, you can reach out to
> their client library owners instead, via this link
> , as they should be
> the more appropriate team to provide guidance.
>
> If you are using or configuring a different client library, let me know
> which so I can provide their support link.
>
> Best regards,
>
> [image: Google Logo]
> Peter Laurence Napa Oliquino
> Google Ads API Team
>
>
> ref:_00D1U1174p._5004Q2B2mzt:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/CAJxDUeVBfpT7TnUT-eU5HUEYhbiCqv9UDRhOExzN7kiPicU3Ng%40mail.gmail.com.


Re: Deadlock when merely adding ads-lib to pom.xml?

2021-01-23 Thread Gregory Golberg
A bit more detail... Order matters.

This deadlocks:


com.google.api-ads
ads-lib
4.9.1


com.google.api-ads
google-ads
10.1.0


This doesn't:

   
  com.google.api-ads
  google-ads
  10.1.0


com.google.api-ads
ads-lib
4.9.1



On Saturday, January 23, 2021 at 1:09:58 AM UTC-8 Gregory Golberg wrote:

>
> Hello
>
> I have a program that uses google-ads with the below dependency in pom.xml:
>
> 
> com.google.api-ads
> google-ads
> 10.1.0
> 
>
> This authenticates and just calls listAccessibleCustomers of 
> CustomerServiceClient. So far so good.
>
> But once I merely add the following to pom.xml:
>
> 
> com.google.api-ads
> ads-lib
> 4.9.1
> 
>
> It appears to get deadlocked somewhere, never returning from the 
> listAccessibleCustomers() call. Running Charles, I can see that the network 
> call returns with the customer list, but somewhere there is a deadlock.
>
> Any clues? 
>
> Thanks.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/fe87a8c6-8911-4e9d-9d42-946fd7bdd21bn%40googlegroups.com.


Deadlock when merely adding ads-lib to pom.xml?

2021-01-23 Thread Gregory Golberg

Hello

I have a program that uses google-ads with the below dependency in pom.xml:


com.google.api-ads
google-ads
10.1.0


This authenticates and just calls listAccessibleCustomers of 
CustomerServiceClient. So far so good.

But once I merely add the following to pom.xml:


com.google.api-ads
ads-lib
4.9.1


It appears to get deadlocked somewhere, never returning from the 
listAccessibleCustomers() call. Running Charles, I can see that the network 
call returns with the customer list, but somewhere there is a deadlock.

Any clues? 

Thanks.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/47a3d9d0-8e97-4ed8-b144-e510cb699f63n%40googlegroups.com.


Supported columns for dimensions: where to find?

2021-01-22 Thread Gregory Golberg
Hello

Two questions on dimensions and columns.

Question 1: What's a good way  to see what columns are available for which 
dimensions? 

When trying to use AD_EXCHANGE_IMPRESSIONS column with 
MOBILE_APP_RESOLVED_ID dimension, I get 
COLUMNS_NOT_SUPPORTED_FOR_REQUESTED_DIMENSIONS. 

Question 2:

Tried experimenting with other columns, such as AD_SERVER_IMPRESSIONS and 
have other results I'm unsure how to interpret. Now I see no data in the 
report for one account (but there is data for another).

In other words, say I have two accounts. Both accounts have data for 
AD_EXCHANGE_* dimensions (e.g., using AD_EXCHANGE_MOBILE_APP_NAME as 
dimension and AD_EXCHANGE_IMPRESSIONS as column). 

But one has data when using, for instance MOBILE_APP_RESOLVED_ID dimension 
and AD_SERVER_IMPRESSIONS column, and another doesn't.

Any hints?

-g

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/137cba23-01bb-4b93-beec-d12f1b653118n%40googlegroups.com.


Difference between ads-lib and google-ads?

2021-01-22 Thread Gregory Golberg

Hi all

Apologies if this is a FAQ, but I could not find an answer. What is the 
difference between ads-lib 
 and 
google-ads 
? When 
would one use one vs the other? Would it be fair to say that the former is 
more high level and/or a superset of functionality of the latter?

Thanks,
g

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/eaee186d-75d3-42c5-828d-085c1b4fe490n%40googlegroups.com.